1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 3/dts-v1/; 4#include "rk3288-evb.dtsi" 5 6/ { 7 model = "Rockchip RK3288 EVB RK808"; 8 compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288"; 9 10 sdio_pwrseq: sdio-pwrseq { 11 compatible = "mmc-pwrseq-simple"; 12 clocks = <&rk808 1>; 13 clock-names = "ext_clock"; 14 pinctrl-names = "default"; 15 pinctrl-0 = <&wifi_enable_h>; 16 17 /* 18 * On the module itself this is one of these (depending 19 * on the actual card populated): 20 * - SDIO_RESET_L_WL_REG_ON 21 * - PDN (power down when low) 22 */ 23 reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>; 24 }; 25}; 26 27&i2c0 { 28 clock-frequency = <400000>; 29 30 rk808: pmic@1b { 31 compatible = "rockchip,rk808"; 32 reg = <0x1b>; 33 interrupt-parent = <&gpio0>; 34 interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>; 35 pinctrl-names = "default"; 36 pinctrl-0 = <&pmic_int &global_pwroff>; 37 rockchip,system-power-controller; 38 wakeup-source; 39 #clock-cells = <1>; 40 clock-output-names = "xin32k", "rk808-clkout2"; 41 42 vcc1-supply = <&vcc_sys>; 43 vcc2-supply = <&vcc_sys>; 44 vcc3-supply = <&vcc_sys>; 45 vcc4-supply = <&vcc_sys>; 46 vcc6-supply = <&vcc_sys>; 47 vcc7-supply = <&vcc_sys>; 48 vcc8-supply = <&vcc_18>; 49 vcc9-supply = <&vcc_io>; 50 vcc10-supply = <&vcc_io>; 51 vcc11-supply = <&vcc_sys>; 52 vcc12-supply = <&vcc_io>; 53 vddio-supply = <&vccio_pmu>; 54 55 regulators { 56 vdd_cpu: DCDC_REG1 { 57 regulator-always-on; 58 regulator-boot-on; 59 regulator-min-microvolt = <750000>; 60 regulator-max-microvolt = <1350000>; 61 regulator-name = "vdd_arm"; 62 regulator-state-mem { 63 regulator-off-in-suspend; 64 }; 65 }; 66 67 vdd_gpu: DCDC_REG2 { 68 regulator-always-on; 69 regulator-boot-on; 70 regulator-min-microvolt = <850000>; 71 regulator-max-microvolt = <1250000>; 72 regulator-name = "vdd_gpu"; 73 regulator-state-mem { 74 regulator-on-in-suspend; 75 regulator-suspend-microvolt = <1000000>; 76 }; 77 }; 78 79 vcc_ddr: DCDC_REG3 { 80 regulator-always-on; 81 regulator-boot-on; 82 regulator-name = "vcc_ddr"; 83 regulator-state-mem { 84 regulator-on-in-suspend; 85 }; 86 }; 87 88 vcc_io: DCDC_REG4 { 89 regulator-always-on; 90 regulator-boot-on; 91 regulator-min-microvolt = <3300000>; 92 regulator-max-microvolt = <3300000>; 93 regulator-name = "vcc_io"; 94 regulator-state-mem { 95 regulator-on-in-suspend; 96 regulator-suspend-microvolt = <3300000>; 97 }; 98 }; 99 100 vccio_pmu: LDO_REG1 { 101 regulator-always-on; 102 regulator-boot-on; 103 regulator-min-microvolt = <3300000>; 104 regulator-max-microvolt = <3300000>; 105 regulator-name = "vccio_pmu"; 106 regulator-state-mem { 107 regulator-on-in-suspend; 108 regulator-suspend-microvolt = <3300000>; 109 }; 110 }; 111 112 vcc_tp: LDO_REG2 { 113 regulator-always-on; 114 regulator-boot-on; 115 regulator-min-microvolt = <3300000>; 116 regulator-max-microvolt = <3300000>; 117 regulator-name = "vcc_tp"; 118 regulator-state-mem { 119 regulator-off-in-suspend; 120 }; 121 }; 122 123 vdd_10: LDO_REG3 { 124 regulator-always-on; 125 regulator-boot-on; 126 regulator-min-microvolt = <1000000>; 127 regulator-max-microvolt = <1000000>; 128 regulator-name = "vdd_10"; 129 regulator-state-mem { 130 regulator-on-in-suspend; 131 regulator-suspend-microvolt = <1000000>; 132 }; 133 }; 134 135 vcc18_lcd: LDO_REG4 { 136 regulator-always-on; 137 regulator-boot-on; 138 regulator-min-microvolt = <1800000>; 139 regulator-max-microvolt = <1800000>; 140 regulator-name = "vcc18_lcd"; 141 regulator-state-mem { 142 regulator-on-in-suspend; 143 regulator-suspend-microvolt = <1800000>; 144 }; 145 }; 146 147 vccio_sd: LDO_REG5 { 148 regulator-always-on; 149 regulator-boot-on; 150 regulator-min-microvolt = <1800000>; 151 regulator-max-microvolt = <3300000>; 152 regulator-name = "vccio_sd"; 153 regulator-state-mem { 154 regulator-on-in-suspend; 155 regulator-suspend-microvolt = <3300000>; 156 }; 157 }; 158 159 vdd10_lcd: LDO_REG6 { 160 regulator-always-on; 161 regulator-boot-on; 162 regulator-min-microvolt = <1000000>; 163 regulator-max-microvolt = <1000000>; 164 regulator-name = "vdd10_lcd"; 165 regulator-state-mem { 166 regulator-on-in-suspend; 167 regulator-suspend-microvolt = <1000000>; 168 }; 169 }; 170 171 vcc_18: LDO_REG7 { 172 regulator-always-on; 173 regulator-boot-on; 174 regulator-min-microvolt = <1800000>; 175 regulator-max-microvolt = <1800000>; 176 regulator-name = "vcc_18"; 177 regulator-state-mem { 178 regulator-on-in-suspend; 179 regulator-suspend-microvolt = <1800000>; 180 }; 181 }; 182 183 vcca_codec: LDO_REG8 { 184 regulator-always-on; 185 regulator-boot-on; 186 regulator-min-microvolt = <3300000>; 187 regulator-max-microvolt = <3300000>; 188 regulator-name = "vcca_codec"; 189 regulator-state-mem { 190 regulator-on-in-suspend; 191 regulator-suspend-microvolt = <3300000>; 192 }; 193 }; 194 195 vcc_wl: SWITCH_REG1 { 196 regulator-always-on; 197 regulator-boot-on; 198 regulator-name = "vcc_wl"; 199 regulator-state-mem { 200 regulator-on-in-suspend; 201 }; 202 }; 203 204 vcc_lcd: SWITCH_REG2 { 205 regulator-always-on; 206 regulator-boot-on; 207 regulator-name = "vcc_lcd"; 208 regulator-state-mem { 209 regulator-on-in-suspend; 210 }; 211 }; 212 }; 213 }; 214}; 215 216&panel { 217 power-supply = <&vcc_lcd>; 218}; 219