Merge tag 'u-boot-atmel-fixes-2020.07-a' of https://gitlab.denx.de/u-boot/custodians...
[oweals/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         };
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;
54
55         /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
56         u-boot,spl-fifo-mode;
57 };
58
59 &sdmmc {
60         u-boot,dm-pre-reloc;
61
62         /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
63         u-boot,spl-fifo-mode;
64 };
65
66 &usb20_otg {
67         hnp-srp-disable;
68 };