Kever Yang | e68e10b | 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 | |
Quentin Schulz | d9ffa5e | 2022-09-02 15:10:52 +0200 | [diff] [blame] | 6 | #include "rockchip-u-boot.dtsi" |
| 7 | |
Kever Yang | e68e10b | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 8 | / { |
| 9 | aliases { |
| 10 | mmc0 = &emmc; |
| 11 | mmc1 = &sdmmc; |
Johannes Krottmayer | 47075e3 | 2020-07-08 23:57:40 +0200 | [diff] [blame] | 12 | spi0 = &spi0; |
Kever Yang | e68e10b | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 13 | }; |
| 14 | |
| 15 | chosen { |
| 16 | u-boot,spl-boot-order = &emmc, &sdmmc; |
| 17 | }; |
| 18 | |
| 19 | dmc: dmc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 20 | bootph-all; |
Kever Yang | e68e10b | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 21 | compatible = "rockchip,rk3328-dmc"; |
| 22 | reg = <0x0 0xff400000 0x0 0x1000 |
| 23 | 0x0 0xff780000 0x0 0x3000 |
| 24 | 0x0 0xff100000 0x0 0x1000 |
| 25 | 0x0 0xff440000 0x0 0x1000 |
| 26 | 0x0 0xff720000 0x0 0x1000 |
| 27 | 0x0 0xff798000 0x0 0x1000>; |
| 28 | }; |
| 29 | |
| 30 | usb_host0_xhci: usb@ff600000 { |
| 31 | compatible = "rockchip,rk3328-xhci"; |
| 32 | reg = <0x0 0xff600000 0x0 0x100000>; |
| 33 | interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; |
| 34 | snps,dis-enblslpm-quirk; |
| 35 | snps,phyif-utmi-bits = <16>; |
| 36 | snps,dis-u2-freeclk-exists-quirk; |
| 37 | snps,dis-u2-susphy-quirk; |
| 38 | status = "disabled"; |
| 39 | }; |
| 40 | }; |
| 41 | |
| 42 | &cru { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 43 | bootph-all; |
Kever Yang | e68e10b | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 44 | }; |
| 45 | |
| 46 | &grf { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 47 | bootph-all; |
Kever Yang | e68e10b | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 48 | }; |
| 49 | |
| 50 | &uart2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 51 | bootph-all; |
Kever Yang | e68e10b | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 52 | clock-frequency = <24000000>; |
| 53 | }; |
| 54 | |
| 55 | &emmc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 56 | bootph-all; |
Kever Yang | 49ec4b9 | 2019-12-31 15:57:55 +0800 | [diff] [blame] | 57 | |
| 58 | /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */ |
| 59 | u-boot,spl-fifo-mode; |
Kever Yang | e68e10b | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 60 | }; |
| 61 | |
| 62 | &sdmmc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 63 | bootph-all; |
Kever Yang | 49ec4b9 | 2019-12-31 15:57:55 +0800 | [diff] [blame] | 64 | |
| 65 | /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */ |
| 66 | u-boot,spl-fifo-mode; |
Kever Yang | e68e10b | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 67 | }; |
Chen-Yu Tsai | 2c63f6d | 2020-04-27 14:52:48 +0800 | [diff] [blame] | 68 | |
| 69 | &usb20_otg { |
| 70 | hnp-srp-disable; |
| 71 | }; |
Johannes Krottmayer | 47075e3 | 2020-07-08 23:57:40 +0200 | [diff] [blame] | 72 | |
| 73 | &spi0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 74 | bootph-all; |
Johannes Krottmayer | 47075e3 | 2020-07-08 23:57:40 +0200 | [diff] [blame] | 75 | }; |