Merge tag 'u-boot-rockchip-20201031' of https://gitlab.denx.de/u-boot/custodians...
[platform/kernel/u-boot.git] / arch / arm / dts / rk3328-u-boot.dtsi
1 // 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                 spi0 = &spi0;
11         };
12
13         chosen {
14                 u-boot,spl-boot-order = &emmc, &sdmmc;
15         };
16
17         dmc: dmc {
18                 u-boot,dm-pre-reloc;
19                 compatible = "rockchip,rk3328-dmc";
20                 reg = <0x0 0xff400000 0x0 0x1000
21                        0x0 0xff780000 0x0 0x3000
22                        0x0 0xff100000 0x0 0x1000
23                        0x0 0xff440000 0x0 0x1000
24                        0x0 0xff720000 0x0 0x1000
25                        0x0 0xff798000 0x0 0x1000>;
26         };
27
28         usb_host0_xhci: usb@ff600000 {
29                 compatible = "rockchip,rk3328-xhci";
30                 reg = <0x0 0xff600000 0x0 0x100000>;
31                 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
32                 snps,dis-enblslpm-quirk;
33                 snps,phyif-utmi-bits = <16>;
34                 snps,dis-u2-freeclk-exists-quirk;
35                 snps,dis-u2-susphy-quirk;
36                 status = "disabled";
37         };
38 };
39
40 &cru {
41         u-boot,dm-pre-reloc;
42 };
43
44 &grf {
45         u-boot,dm-pre-reloc;
46 };
47
48 &uart2 {
49         u-boot,dm-pre-reloc;
50         clock-frequency = <24000000>;
51 };
52
53 &emmc {
54         u-boot,dm-pre-reloc;
55
56         /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
57         u-boot,spl-fifo-mode;
58 };
59
60 &sdmmc {
61         u-boot,dm-pre-reloc;
62
63         /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
64         u-boot,spl-fifo-mode;
65 };
66
67 &usb20_otg {
68         hnp-srp-disable;
69 };
70
71 &spi0 {
72         u-boot,dm-pre-reloc;
73 };