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 | |
Quentin Schulz | 4a70e6a | 2024-05-24 11:23:30 +0200 | [diff] [blame] | 36 | &uart2m0_xfer { |
| 37 | bootph-all; |
| 38 | }; |
| 39 | |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 40 | &uart5 { |
| 41 | clock-frequency = <24000000>; |
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 | |
Quentin Schulz | 4a70e6a | 2024-05-24 11:23:30 +0200 | [diff] [blame] | 45 | &uart5_cts { |
| 46 | bootph-all; |
| 47 | }; |
| 48 | |
| 49 | &uart5_rts { |
| 50 | bootph-all; |
| 51 | }; |
| 52 | |
| 53 | &uart5_xfer { |
| 54 | bootph-all; |
| 55 | }; |
| 56 | |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 57 | &sdmmc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 58 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 59 | |
| 60 | /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */ |
| 61 | u-boot,spl-fifo-mode; |
| 62 | }; |
| 63 | |
| 64 | &emmc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 65 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 66 | |
| 67 | /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */ |
| 68 | u-boot,spl-fifo-mode; |
| 69 | }; |
| 70 | |
| 71 | &grf { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 72 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 73 | }; |
| 74 | |
| 75 | &pmugrf { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 76 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 77 | }; |
| 78 | |
| 79 | &xin24m { |
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 | }; |
| 82 | |
| 83 | &cru { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 84 | bootph-all; |
Jagan Teki | 20759fa | 2021-11-15 23:08:20 +0530 | [diff] [blame] | 85 | /delete-property/ assigned-clocks; |
| 86 | /delete-property/ assigned-clock-rates; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 87 | }; |
| 88 | |
| 89 | &pmucru { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 90 | bootph-all; |
Jagan Teki | 20759fa | 2021-11-15 23:08:20 +0530 | [diff] [blame] | 91 | /delete-property/ assigned-clocks; |
| 92 | /delete-property/ assigned-clock-rates; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 93 | }; |
| 94 | |
| 95 | &saradc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 96 | bootph-all; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 97 | status = "okay"; |
| 98 | }; |
| 99 | |
| 100 | &gpio0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 101 | bootph-all; |
Jonas Karlman | 72a5487 | 2024-07-25 09:46:03 +0000 | [diff] [blame] | 102 | gpio-ranges = <&pinctrl 0 0 32>; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 103 | }; |
| 104 | |
| 105 | &gpio1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 106 | bootph-all; |
Jonas Karlman | 72a5487 | 2024-07-25 09:46:03 +0000 | [diff] [blame] | 107 | gpio-ranges = <&pinctrl 0 32 32>; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 108 | }; |
| 109 | |
| 110 | &gpio2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 111 | bootph-all; |
Jonas Karlman | 72a5487 | 2024-07-25 09:46:03 +0000 | [diff] [blame] | 112 | gpio-ranges = <&pinctrl 0 64 32>; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 113 | }; |
| 114 | |
| 115 | &gpio3 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 116 | bootph-all; |
Jonas Karlman | 72a5487 | 2024-07-25 09:46:03 +0000 | [diff] [blame] | 117 | gpio-ranges = <&pinctrl 0 96 32>; |
Kever Yang | 276de2a | 2020-03-31 15:32:46 +0800 | [diff] [blame] | 118 | }; |