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