blob: 16335582642ab27e7f750214a64c5d9b0118a87f [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;
Johannes Krottmayerb5716c12020-07-08 23:57:40 +020010 spi0 = &spi0;
Kever Yang2e91e202019-08-15 11:40:56 +080011 };
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;
Kever Yangfa2047c2019-12-31 15:57:55 +080055
56 /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
57 u-boot,spl-fifo-mode;
Kever Yang2e91e202019-08-15 11:40:56 +080058};
59
60&sdmmc {
61 u-boot,dm-pre-reloc;
Kever Yangfa2047c2019-12-31 15:57:55 +080062
63 /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
64 u-boot,spl-fifo-mode;
Kever Yang2e91e202019-08-15 11:40:56 +080065};
Chen-Yu Tsai32fd6162020-04-27 14:52:48 +080066
67&usb20_otg {
68 hnp-srp-disable;
69};
Johannes Krottmayerb5716c12020-07-08 23:57:40 +020070
71&spi0 {
72 u-boot,dm-pre-reloc;
73};