1/* 2 * (C) Copyright 2024 Rockchip Electronics Co., Ltd 3 * 4 * SPDX-License-Identifier: GPL-2.0+ 5 */ 6 7 / { 8 aliases { 9 mmc1 = &sdmmc0; 10 mmc0 = &emmc; 11 }; 12 13 chosen { 14 stdout-path = &uart0; 15 u-boot,spl-boot-order = &sdmmc0, &spi_nand, &spi_nor, &emmc; 16 }; 17}; 18 19&hw_decompress { 20 u-boot,dm-spl; 21 status = "okay"; 22}; 23 24&emmc { 25 u-boot,dm-spl; 26 status = "okay"; 27}; 28 29&cru { 30 u-boot,dm-spl; 31 status = "okay"; 32}; 33 34&grf { 35 u-boot,dm-spl; 36 status = "okay"; 37}; 38 39&pinctrl { 40 u-boot,dm-spl; 41 status = "okay"; 42}; 43 44&sdmmc0 { 45 u-boot,dm-spl; 46 pwr-en-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; 47 pinctrl-names = "default", "idle"; 48 pinctrl-0 = <&sdmmc0_clk_pins &sdmmc0_cmd_pins &sdmmc0_det_pins &sdmmc0_bus4_pins>; 49 status = "okay"; 50}; 51 52&sdmmc0_pins { 53 u-boot,dm-spl; 54}; 55 56&sdmmc0_clk_pins { 57 u-boot,dm-spl; 58}; 59 60&sdmmc0_cmd_pins { 61 u-boot,dm-spl; 62}; 63 64&sdmmc0_det_pins { 65 u-boot,dm-spl; 66}; 67 68&sdmmc0_bus4_pins { 69 u-boot,dm-spl; 70}; 71 72&ioc { 73 u-boot,dm-spl; 74 status = "okay"; 75}; 76 77&pcfg_pull_up_drv_level_2 { 78 u-boot,dm-spl; 79}; 80 81&pcfg_pull_up { 82 u-boot,dm-spl; 83}; 84 85&gpio0 { 86 u-boot,dm-spl; 87 status = "okay"; 88}; 89 90&gpio1 { 91 u-boot,dm-pre-reloc; 92 status = "okay"; 93}; 94 95&gpio2 { 96 u-boot,dm-pre-reloc; 97 status = "okay"; 98}; 99 100 101&crypto { 102 u-boot,dm-spl; 103 status = "okay"; 104}; 105 106&rng { 107 u-boot,dm-spl; 108 status = "okay"; 109}; 110 111&saradc { 112 u-boot,dm-pre-reloc; 113 status = "okay"; 114}; 115 116&sfc { 117 u-boot,dm-spl; 118 status = "okay"; 119 120 #address-cells = <1>; 121 #size-cells = <0>; 122 spi_nand: flash@0 { 123 u-boot,dm-spl; 124 compatible = "spi-nand"; 125 reg = <0>; 126 spi-tx-bus-width = <1>; 127 spi-rx-bus-width = <4>; 128 spi-max-frequency = <80000000>; 129 }; 130 131 spi_nor: flash@1 { 132 u-boot,dm-spl; 133 compatible = "jedec,spi-nor"; 134 label = "sfc_nor"; 135 reg = <0>; 136 spi-tx-bus-width = <1>; 137 spi-rx-bus-width = <4>; 138 spi-max-frequency = <80000000>; 139 }; 140}; 141