1/* 2 * (C) Copyright 2023 Rockchip Electronics Co., Ltd 3 * 4 * SPDX-License-Identifier: GPL-2.0+ 5 */ 6 7#include <dt-bindings/gpio/gpio.h> 8 9/ { 10 aliases { 11 mmc0 = &sdhci; 12 mmc1 = &sdmmc; 13 }; 14 15 chosen { 16 stdout-path = &uart0; 17 u-boot,spl-boot-order = &sdmmc, &spi_nand, &spi_nor, "same-as-spl"; 18 }; 19}; 20 21&firmware { 22 u-boot,dm-pre-reloc; 23}; 24 25&gpio0 { 26 u-boot,dm-spl; 27 status = "okay"; 28}; 29 30&gpio1 { 31 u-boot,dm-pre-reloc; 32 status = "okay"; 33}; 34 35&gpio2 { 36 u-boot,dm-pre-reloc; 37 status = "okay"; 38}; 39 40&gpio3 { 41 u-boot,dm-pre-reloc; 42 status = "okay"; 43}; 44 45&gpio4 { 46 u-boot,dm-pre-reloc; 47 status = "okay"; 48}; 49 50&scmi { 51 u-boot,dm-pre-reloc; 52}; 53 54&scmi_clk { 55 u-boot,dm-pre-reloc; 56}; 57 58&scmi_shmem { 59 u-boot,dm-pre-reloc; 60}; 61 62&sys_grf { 63 u-boot,dm-spl; 64 status = "okay"; 65}; 66 67&ioc_grf { 68 u-boot,dm-spl; 69 status = "okay"; 70}; 71 72&cru { 73 u-boot,dm-spl; 74 status = "okay"; 75}; 76 77&psci { 78 u-boot,dm-pre-reloc; 79 status = "okay"; 80}; 81 82&crypto { 83 u-boot,dm-spl; 84 status = "okay"; 85}; 86 87&uart0 { 88 u-boot,dm-spl; 89 status = "okay"; 90}; 91 92&rng { 93 u-boot,dm-pre-reloc; 94 status = "okay"; 95}; 96 97&sfc0 { 98 u-boot,dm-spl; 99 status = "okay"; 100 101 #address-cells = <1>; 102 #size-cells = <0>; 103 spi_nand: flash@0 { 104 u-boot,dm-spl; 105 compatible = "spi-nand"; 106 reg = <0>; 107 spi-tx-bus-width = <1>; 108 spi-rx-bus-width = <4>; 109 spi-max-frequency = <80000000>; 110 }; 111 112 spi_nor: flash@1 { 113 u-boot,dm-spl; 114 compatible = "jedec,spi-nor"; 115 label = "sfc_nor"; 116 reg = <0>; 117 spi-tx-bus-width = <1>; 118 spi-rx-bus-width = <4>; 119 spi-max-frequency = <80000000>; 120 }; 121}; 122 123&saradc { 124 u-boot,dm-pre-reloc; 125 status = "okay"; 126}; 127 128&sdmmc { 129 bus-width = <4>; 130 u-boot,dm-spl; 131 pwr-en-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>; 132 status = "okay"; 133}; 134 135&sdhci { 136 bus-width = <8>; 137 u-boot,dm-spl; 138 mmc-hs400-1_8v; 139 mmc-hs400-enhanced-strobe; 140 non-removable; 141 status = "okay"; 142}; 143 144&sdmmc0 { 145 u-boot,dm-spl; 146}; 147 148&sdmmc0_bus4 { 149 u-boot,dm-spl; 150}; 151 152&sdmmc0_clk { 153 u-boot,dm-spl; 154}; 155 156&sdmmc0_cmd { 157 u-boot,dm-spl; 158}; 159 160&sdmmc0_det { 161 u-boot,dm-spl; 162}; 163 164&pinctrl { 165 u-boot,dm-spl; 166}; 167 168&pcfg_pull_up_drv_level_2 { 169 u-boot,dm-spl; 170}; 171 172&pcfg_pull_up { 173 u-boot,dm-spl; 174}; 175 176&pcfg_pull_none 177{ 178 u-boot,dm-spl; 179}; 180 181&php_grf { 182 u-boot,dm-pre-reloc; 183 status = "okay"; 184}; 185 186&pipe_phy0_grf { 187 u-boot,dm-pre-reloc; 188 status = "okay"; 189}; 190 191&pipe_phy1_grf { 192 u-boot,dm-pre-reloc; 193 status = "okay"; 194}; 195 196&usbdpphy_grf { 197 u-boot,dm-pre-reloc; 198}; 199 200&usbdp_phy { 201 u-boot,dm-pre-reloc; 202 status = "okay"; 203}; 204 205&usbdp_phy_u3 { 206 u-boot,dm-pre-reloc; 207 status = "okay"; 208}; 209 210&usb_grf { 211 u-boot,dm-pre-reloc; 212}; 213 214&usb2phy_grf { 215 u-boot,dm-pre-reloc; 216}; 217 218&u2phy0 { 219 u-boot,dm-pre-reloc; 220 status = "okay"; 221}; 222 223&u2phy0_otg { 224 u-boot,dm-pre-reloc; 225 status = "okay"; 226}; 227 228&ufs { 229 u-boot,dm-spl; 230 status = "okay"; 231}; 232