Kever Yang | 2e91e20 | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 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; |
Johannes Krottmayer | b5716c1 | 2020-07-08 23:57:40 +0200 | [diff] [blame] | 10 | spi0 = &spi0; |
Kever Yang | 2e91e20 | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 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; |
Kever Yang | fa2047c | 2019-12-31 15:57:55 +0800 | [diff] [blame] | 55 | |
| 56 | /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */ |
| 57 | u-boot,spl-fifo-mode; |
Kever Yang | 2e91e20 | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 58 | }; |
| 59 | |
| 60 | &sdmmc { |
| 61 | u-boot,dm-pre-reloc; |
Kever Yang | fa2047c | 2019-12-31 15:57:55 +0800 | [diff] [blame] | 62 | |
| 63 | /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */ |
| 64 | u-boot,spl-fifo-mode; |
Kever Yang | 2e91e20 | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 65 | }; |
Chen-Yu Tsai | 32fd616 | 2020-04-27 14:52:48 +0800 | [diff] [blame] | 66 | |
| 67 | &usb20_otg { |
| 68 | hnp-srp-disable; |
| 69 | }; |
Johannes Krottmayer | b5716c1 | 2020-07-08 23:57:40 +0200 | [diff] [blame] | 70 | |
| 71 | &spi0 { |
| 72 | u-boot,dm-pre-reloc; |
| 73 | }; |