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 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 19 | bootph-all; |
Jagan Teki | a50c896 | 2021-11-15 23:08:19 +0530 | [diff] [blame] | 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>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 33 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 34 | }; |
| 35 | |
| 36 | &uart5 { |
| 37 | clock-frequency = <24000000>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 38 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 39 | }; |
| 40 | |
| 41 | &sdmmc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 42 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 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 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 49 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 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 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 56 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 57 | }; |
| 58 | |
| 59 | &pmugrf { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 60 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 61 | }; |
| 62 | |
| 63 | &xin24m { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 64 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 65 | }; |
| 66 | |
| 67 | &cru { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 68 | bootph-all; |
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 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 74 | bootph-all; |
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 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 80 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 81 | status = "okay"; |
| 82 | }; |
| 83 | |
| 84 | &gpio0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 85 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 86 | }; |
| 87 | |
| 88 | &gpio1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 89 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 90 | }; |
| 91 | |
| 92 | &gpio2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 93 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 94 | }; |
| 95 | |
| 96 | &gpio3 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 97 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 98 | }; |