blob: 6d5b3ec06e072e31e9c1afe76fccb6bbbc02bea0 [file] [log] [blame]
Kever Yang2e91e202019-08-15 11:40:56 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * (C) Copyright 2019 Rockchip Electronics Co., Ltd
4 */
5
6/ {
7 aliases {
8 mmc0 = &emmc;
9 mmc1 = &sdmmc;
10 };
11
12 chosen {
13 u-boot,spl-boot-order = &emmc, &sdmmc;
14 };
15
16 dmc: dmc {
17 u-boot,dm-pre-reloc;
18 compatible = "rockchip,rk3328-dmc";
19 reg = <0x0 0xff400000 0x0 0x1000
20 0x0 0xff780000 0x0 0x3000
21 0x0 0xff100000 0x0 0x1000
22 0x0 0xff440000 0x0 0x1000
23 0x0 0xff720000 0x0 0x1000
24 0x0 0xff798000 0x0 0x1000>;
25 };
26
27 usb_host0_xhci: usb@ff600000 {
28 compatible = "rockchip,rk3328-xhci";
29 reg = <0x0 0xff600000 0x0 0x100000>;
30 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
31 snps,dis-enblslpm-quirk;
32 snps,phyif-utmi-bits = <16>;
33 snps,dis-u2-freeclk-exists-quirk;
34 snps,dis-u2-susphy-quirk;
35 status = "disabled";
36 };
37};
38
39&cru {
40 u-boot,dm-pre-reloc;
41};
42
43&grf {
44 u-boot,dm-pre-reloc;
45};
46
47&uart2 {
48 u-boot,dm-pre-reloc;
49 clock-frequency = <24000000>;
50};
51
52&emmc {
53 u-boot,dm-pre-reloc;
Kever Yangfa2047c2019-12-31 15:57:55 +080054
55 /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
56 u-boot,spl-fifo-mode;
Kever Yang2e91e202019-08-15 11:40:56 +080057};
58
59&sdmmc {
60 u-boot,dm-pre-reloc;
Kever Yangfa2047c2019-12-31 15:57:55 +080061
62 /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
63 u-boot,spl-fifo-mode;
Kever Yang2e91e202019-08-15 11:40:56 +080064};