Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 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 | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 8 | / { |
| 9 | aliases { |
| 10 | mmc0 = &emmc; |
| 11 | mmc1 = &sdmmc; |
| 12 | }; |
| 13 | |
| 14 | chosen { |
| 15 | u-boot,spl-boot-order = &emmc, &sdmmc; |
| 16 | }; |
Lin Jinhan | e6c89cf | 2020-03-31 17:39:58 +0800 | [diff] [blame] | 17 | |
Jagan Teki | a50c896 | 2021-11-15 23:08:19 +0530 | [diff] [blame] | 18 | dmc { |
| 19 | u-boot,dm-pre-reloc; |
| 20 | compatible = "rockchip,px30-dmc", "syscon"; |
| 21 | reg = <0x0 0xff2a0000 0x0 0x1000>; |
| 22 | }; |
| 23 | |
Lin Jinhan | e6c89cf | 2020-03-31 17:39:58 +0800 | [diff] [blame] | 24 | rng: rng@ff0b0000 { |
| 25 | compatible = "rockchip,cryptov2-rng"; |
| 26 | reg = <0x0 0xff0b0000 0x0 0x4000>; |
| 27 | status = "disabled"; |
| 28 | }; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 29 | }; |
| 30 | |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 31 | &uart2 { |
| 32 | clock-frequency = <24000000>; |
| 33 | u-boot,dm-pre-reloc; |
| 34 | }; |
| 35 | |
| 36 | &uart5 { |
| 37 | clock-frequency = <24000000>; |
| 38 | u-boot,dm-pre-reloc; |
| 39 | }; |
| 40 | |
| 41 | &sdmmc { |
| 42 | u-boot,dm-pre-reloc; |
| 43 | |
| 44 | /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */ |
| 45 | u-boot,spl-fifo-mode; |
| 46 | }; |
| 47 | |
| 48 | &emmc { |
| 49 | u-boot,dm-pre-reloc; |
| 50 | |
| 51 | /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */ |
| 52 | u-boot,spl-fifo-mode; |
| 53 | }; |
| 54 | |
| 55 | &grf { |
| 56 | u-boot,dm-pre-reloc; |
| 57 | }; |
| 58 | |
| 59 | &pmugrf { |
| 60 | u-boot,dm-pre-reloc; |
| 61 | }; |
| 62 | |
| 63 | &xin24m { |
| 64 | u-boot,dm-pre-reloc; |
| 65 | }; |
| 66 | |
| 67 | &cru { |
| 68 | u-boot,dm-pre-reloc; |
Jagan Teki | 20759fa | 2021-11-15 23:08:20 +0530 | [diff] [blame] | 69 | /delete-property/ assigned-clocks; |
| 70 | /delete-property/ assigned-clock-rates; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 71 | }; |
| 72 | |
| 73 | &pmucru { |
| 74 | u-boot,dm-pre-reloc; |
Jagan Teki | 20759fa | 2021-11-15 23:08:20 +0530 | [diff] [blame] | 75 | /delete-property/ assigned-clocks; |
| 76 | /delete-property/ assigned-clock-rates; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 77 | }; |
| 78 | |
| 79 | &saradc { |
| 80 | u-boot,dm-pre-reloc; |
| 81 | status = "okay"; |
| 82 | }; |
| 83 | |
| 84 | &gpio0 { |
| 85 | u-boot,dm-pre-reloc; |
| 86 | }; |
| 87 | |
| 88 | &gpio1 { |
| 89 | u-boot,dm-pre-reloc; |
| 90 | }; |
| 91 | |
| 92 | &gpio2 { |
| 93 | u-boot,dm-pre-reloc; |
| 94 | }; |
| 95 | |
| 96 | &gpio3 { |
| 97 | u-boot,dm-pre-reloc; |
| 98 | }; |