--- /dev/null
+/dts-v1/;
+
+#include "rk3288.dtsi"
+#include "lcd-LP097Qx1.dtsi"
+
+/ {
+ fiq-debugger {
+ status = "okay";
+ };
+
+ 5v_power_en {
+ compatible = "5v_en";
+ 5ven,pin =<&gpio7 GPIO_B4 GPIO_ACTIVE_HIGH>; // 5v power for otg and hdmi
+ status = "okay";
+ };
+
+
+ wireless-wlan {
+ compatible = "wlan-platdata";
+
+ wifi_chip_type = "";
+ sdio_vref = <1800>; //1800mv or 3300mv
+
+ //power_ctrl_by_pmu;
+ pmu_regulator = "act_ldo3";
+ pmu_enable_level = <1>; //1->HIGH, 0->LOW
+
+ WIFI,poweren_gpio = <&gpio4 GPIO_D4 GPIO_ACTIVE_HIGH>;
+ WIFI,host_wake_irq = <&gpio4 GPIO_D6 GPIO_ACTIVE_HIGH>;
+ //WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
+
+ status = "okay";
+ };
+
+ wireless-bluetooth {
+ compatible = "bluetooth-platdata";
+
+ uart_rts_gpios = <&gpio4 GPIO_C3 GPIO_ACTIVE_LOW>;
+ pinctrl-names = "default","rts_gpio";
+ pinctrl-0 = <&uart0_rts>;
+ pinctrl-1 = <&uart0_rts_gpio>;
+
+ //BT,power_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
+ BT,reset_gpio = <&gpio4 GPIO_D5 GPIO_ACTIVE_HIGH>;
+ BT,wake_gpio = <&gpio4 GPIO_D2 GPIO_ACTIVE_HIGH>;
+ BT,wake_host_irq = <&gpio4 GPIO_D7 GPIO_ACTIVE_LOW>;
+
+ status = "okay";
+ };
+
+ hallsensor {
+ compatible = "hall_och165t";
+ type = <SENSOR_TYPE_HALL>;
+ irq-gpio = <&gpio0 GPIO_A6 IRQ_TYPE_EDGE_BOTH>;
+ };
+
+ backlight {
+ compatible = "pwm-backlight";
+ pwms = <&pwm0 0 25000>;
+ brightness-levels = <255 255 254 254 253 253 252 252 251 251 250 250 249 249 248 248 247 247 246 246 245 245 244 244 243 243 242 242 241 241 240 240
+239 239 238 238 237 237 236 236 235 235 234 234 233 233 232 232 231 231 230 230 229 229 228 228 227 227 226 226 225 225
+224 224 223 223 222 222 221 221 220 220 219 219 218 218 217 217 216 216 215 215 214 214 213 213 212 212 211 211 210 210
+209 209 208 208 207 207 206 206 205 205 204 204 203 203 202 202 201 201 200 200 199 199 198 198 197 197 196 196 195 195
+194 194 193 193 192 192 191 191 190 190 189 189 188 188 187 187 186 186 185 185 184 184 183 183 182 182 181 181 180 180
+179 179 178 178 177 177 176 176 175 175 174 174 173 173 172 172 171 171 170 170 169 169 168 168 167 167 166 166 165 165
+164 164 163 163 162 162 161 161 160 160 159 159 158 158 157 157 156 156 155 155 154 154 153 153 152 152 151 151 150 150
+150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150
+150 150 150 150 150 150 150 150 150 150 150 150 150 150>;
+ default-brightness-level = <20>;
+ enable-gpios = <&gpio7 GPIO_A2 GPIO_ACTIVE_HIGH>;
+ };
+
+ pwm_regulator {
+ compatible = "rockchip_pwm_regulator";
+ pwms = <&pwm1 0 25000>;
+ rockchip,pwm_id= <1>;
+ rockchip,pwm_voltage_map= <925000 950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000>;
+ rockchip,pwm_voltage= <1000000>;
+ rockchip,pwm_min_voltage= <925000>;
+ rockchip,pwm_max_voltage= <1400000>;
+ rockchip,pwm_suspend_voltage= <950000>;
+ rockchip,pwm_coefficient= <475>;
+ regulators {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pwm_reg0: regulator@0 {
+ regulator-compatible = "pwm_dcdc1";
+ regulator-name= "vdd_logic";
+ regulator-min-microvolt = <925000>;
+ regulator-max-microvolt = <1400000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+ };
+ };
+
+ codec_hdmi_i2s: codec-hdmi-i2s {
+ compatible = "hdmi-i2s";
+ };
+
+ codec_hdmi_spdif: codec-hdmi-spdif {
+ compatible = "hdmi-spdif";
+ };
+
+ rockchip-hdmi-i2s {
+ compatible = "rockchip-hdmi-i2s";
+ dais {
+ dai0 {
+ audio-codec = <&codec_hdmi_i2s>;
+ i2s-controller = <&i2s>;
+ format = "i2s";
+ //continuous-clock;
+ //bitclock-inversion;
+ //frame-inversion;
+ //bitclock-master;
+ //frame-master;
+ };
+ };
+ };
+
+ rockchip-hdmi-spdif {
+ compatible = "rockchip-hdmi-spdif";
+ dais {
+ dai0 {
+ audio-codec = <&codec_hdmi_spdif>;
+ i2s-controller = <&spdif>;
+ };
+ };
+ };
+
+ rockchip-rt5631 {
+ compatible = "rockchip-rt5631";
+ dais {
+ dai0 {
+ audio-codec = <&rt5631>;
+ i2s-controller = <&i2s>;
+ format = "i2s";
+ //continuous-clock;
+ //bitclock-inversion;
+ //frame-inversion;
+ //bitclock-master;
+ //frame-master;
+ };
+ };
+ };
+
+ usb_control {
+ compatible = "rockchip,rk3288-usb-control";
+
+ otg_drv_gpio = <&gpio0 GPIO_B4 GPIO_ACTIVE_LOW>;
+
+ rockchip,remote_wakeup;
+ rockchip,usb_irq_wakeup;
+ };
+};
+&pinctrl {
+ gpio0_gpio {
+ gpio0_c2: gpio0-c2 {
+ rockchip,pins = <GPIO0_C2>;
+ rockchip,pull = <VALUE_PULL_DOWN>;
+ };
+
+ //to add
+ };
+
+ gpio7_gpio {
+ gpio7_b7: gpio7-b7 {
+ rockchip,pins = <GPIO7_B7>;
+ rockchip,pull = <VALUE_PULL_UP>;
+ };
+
+ //to add
+ };
+ //could add other pinctrl definition such as gpio
+
+};
+
+&emmc {
+ clock-frequency = <150000000>;
+ clock-freq-min-max = <400000 150000000>;
+
+ supports-highspeed;
+ supports-emmc;
+ bootpart-no-access;
+
+ supports-DDR_MODE;
+ caps2-mmc-hs200;
+
+ ignore-pm-notify;
+ keep-power-in-suspend;
+ status = "okay";
+};
+
+&sdmmc {
+ clock-frequency = <50000000>;
+ lock-freq-min-max = <400000 50000000>;
+
+ supports-highspeed;
+ supports-sd;
+ broken-cd;
+ card-detect-delay = <200>;
+
+ ignore-pm-notify;
+ keep-power-in-suspend;
+
+ vmmc-supply = <&rk808_ldo5_reg>;
+ status = "okay";
+};
+
+&sdio {
+ clock-frequency = <50000000>;
+ clock-freq-min-max = <200000 50000000>;
+
+ supports-highspeed;
+ supports-sdio;
+ ignore-pm-notify;
+ keep-power-in-suspend;
+ //cap-sdio-irq;
+ status = "okay";
+};
+
+&spi0 {
+ status = "okay";
+ max-freq = <48000000>;
+ /*
+ spi_test@00 {
+ compatible = "rockchip,spi_test_bus0_cs0";
+ reg = <0>;
+ spi-max-frequency = <24000000>;
+ //spi-cpha;
+ //spi-cpol;
+ poll_mode = <0>;
+ type = <0>;
+ enable_dma = <0>;
+
+ };
+
+ spi_test@01 {
+ compatible = "rockchip,spi_test_bus0_cs1";
+ reg = <1>;
+ spi-max-frequency = <24000000>;
+ spi-cpha;
+ spi-cpol;
+ poll_mode = <0>;
+ type = <0>;
+ enable_dma = <0>;
+ };
+ */
+};
+
+&spi1 {
+ status = "disabled";
+ max-freq = <48000000>;
+ /*
+ spi_test@10 {
+ compatible = "rockchip,spi_test_bus1_cs0";
+ reg = <0>;
+ spi-max-frequency = <24000000>;
+ //spi-cpha;
+ //spi-cpol;
+ poll_mode = <0>;
+ type = <0>;
+ enable_dma = <0>;
+ };
+
+ */
+};
+
+&spi2 {
+ status = "okay";
+ max-freq = <48000000>;
+ /*
+ spi_test@20 {
+ compatible = "rockchip,spi_test_bus2_cs0";
+ reg = <0>;
+ spi-max-frequency = <24000000>;
+ //spi-cpha;
+ //spi-cpol;
+ poll_mode = <0>;
+ type = <0>;
+ enable_dma = <0>;
+ };
+
+ spi_test@21 {
+ compatible = "rockchip,spi_test_bus2_cs1";
+ reg = <1>;
+ spi-max-frequency = <24000000>;
+ //spi-cpha;
+ //spi-cpol;
+ poll_mode = <0>;
+ type = <0>;
+ enable_dma = <0>;
+ };
+ */
+};
+&uart_bt {
+ status = "okay";
+ dma-names = "!tx", "!rx";
+ pinctrl-0 = <&uart0_xfer &uart0_cts>;
+};
+
+&i2c0 {
+ status = "okay";
+ rk808: rk808@1b {
+ reg = <0x1b>;
+ status = "okay";
+ };
+ syr827: syr827@40 {
+ compatible = "silergy,syr82x";
+ reg = <0x40>;
+ status = "okay";
+ regulators {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ syr827_dc1: regulator@0 {
+ reg = <0>;
+ regulator-compatible = "syr82x_dcdc1";
+ regulator-name = "vdd_arm";
+ regulator-min-microvolt = <712500>;
+ regulator-max-microvolt = <1500000>;
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-disabled;
+ regulator-state-uv = <900000>;
+ };
+ };
+ };
+ };
+ syr828: syr828@41 {
+ compatible = "silergy,syr82x";
+ reg = <0x41>;
+ status = "okay";
+ regulators {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ syr828_dc1: regulator@0 {
+ reg = <0>;
+ regulator-compatible = "syr82x_dcdc1";
+ regulator-name = "vdd_gpu";
+ regulator-min-microvolt = <712500>;
+ regulator-max-microvolt = <1500000>;
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-enabled;
+ regulator-state-uv = <900000>;
+ };
+ };
+ };
+ };
+ act8846: act8846@5a {
+ reg = <0x5a>;
+ status = "okay";
+ };
+
+
+
+
+ CW2015@62 {
+ compatible = "cw201x";
+ reg = <0x62>;
+ dc_det_gpio = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
+ bat_low_gpio = <&gpio0 GPIO_A7 GPIO_ACTIVE_LOW>;
+ chg_ok_gpio = <&gpio0 GPIO_B1 GPIO_ACTIVE_HIGH>;
+ bat_config_info = <0x15 0x2A 0x58 0x57 0x51 0x5F 0x4C 0x45 0x47 0x45 0x48 0x4C 0x47 0x36
+ 0x2B 0x24 0x1E 0x16 0x16 0x17 0x1D 0x28 0x3B 0x4B 0x46 0x23 0x0D 0x71
+ 0x41 0x62 0x5F 0x6E 0x6F 0x6F 0x6E 0x72 0x41 0x1B 0x30 0x22 0x01 0x21
+ 0x52 0x87 0x8F 0x91 0x94 0x52 0x82 0x8C 0x92 0x96 0x12 0x70 0x8F 0xCB
+ 0x2F 0x7D 0x72 0xA5 0xB5 0xC1 0x1F 0x21>;
+ is_dc_charge = <1>;
+ is_usb_charge = <0>;
+ };
+
+ rtc@d {
+ compatible = "rtc,hym8563";
+ reg = <0xd>;
+ irq_gpio = <&gpio0 GPIO_A4 GPIO_ACTIVE_LOW>;
+ };
+
+};
+
+&i2c1 {
+ status = "okay";
+ rtc@51 {
+ compatible = "nxp,pcf8563";
+ reg = <0x51>;
+ };
+
+ sensor@1d {
+ compatible = "gs_mma8452";
+ reg = <0x1d>;
+ type = <SENSOR_TYPE_ACCEL>;
+ irq-gpio = <&gpio8 GPIO_A0 IRQ_TYPE_LEVEL_LOW>;
+ irq_enable = <1>;
+ poll_delay_ms = <30>;
+ layout = <8>;
+ };
+
+ sensor@0d {
+ compatible = "ak8975";
+ reg = <0x0d>;
+ type = <SENSOR_TYPE_COMPASS>;
+ irq-gpio = <&gpio8 GPIO_A1 IRQ_TYPE_EDGE_RISING>;
+ irq_enable = <1>;
+ poll_delay_ms = <30>;
+ layout = <1>;
+ };
+
+ sensor@10 {
+ compatible = "ls_cm3218";
+ reg = <0x10>;
+ type = <SENSOR_TYPE_LIGHT>;
+ irq-gpio = <&gpio8 GPIO_A3 IRQ_TYPE_EDGE_FALLING>;
+ irq_enable = <1>;
+ poll_delay_ms = <30>;
+ layout = <1>;
+ };
+/*
+ mpu6050:mpu@68{
+ compatible = "mpu6050";
+ reg = <0x68>;
+ mpu-int_config = <0x10>;
+ mpu-level_shifter = <0>;
+ mpu-orientation = <1 0 0 0 1 0 0 0 1>;
+ orientation-x= <1>;
+ orientation-y= <0>;
+ orientation-z= <1>;
+ irq-gpio = <&gpio8 GPIO_A0 IRQ_TYPE_LEVEL_LOW>;
+ mpu-debug = <0>;
+ };
+
+ ak8963:compass@0d{
+ compatible = "ak8963";
+ reg = <0x0d>;
+ compass-bus = <0>;
+ compass-adapt_num = <0>;
+ compass-orientation = <1 0 0 0 1 0 0 0 1>;
+ orientation-x= <0>;
+ orientation-y= <0>;
+ orientation-z= <1>;
+ compass-debug = <1>;
+ status = "disabled";
+ };
+
+ ak8975:compass@0d{
+ compatible = "ak8975";
+ reg = <0x0d>;
+ compass-bus = <0>;
+ compass-adapt_num = <0>;
+ compass-orientation = <0 1 0 1 0 0 0 0 1>;
+ orientation-x= <0>;
+ orientation-y= <0>;
+ orientation-z= <0>;
+ compass-debug = <0>;
+ };
+*/
+};
+
+&i2c2 {
+ status = "okay";
+
+ rt5631: rt5631@1a {
+ compatible = "rt5631";
+ reg = <0x1a>;
+ phone_det_level = <1>;
+ };
+
+};
+
+&i2c3 {
+ status = "okay";
+};
+
+&i2c4 {
+ status = "okay";
+ ts@01 {
+ compatible = "ct,vtl_ts";
+ reg = <0x01>;
+ screen_max_x = <2048>;
+ screen_max_y = <1536>;
+ irq_gpio_number = <&gpio7 GPIO_A6 IRQ_TYPE_LEVEL_LOW>;
+ rst_gpio_number = <&gpio7 GPIO_A5 GPIO_ACTIVE_HIGH>;
+ };
+};
+
+&i2c5 {
+ status = "disable";
+};
+
+&fb {
+ rockchip,disp-mode = <DUAL>;
+};
+
+&rk_screen {
+ display-timings = <&disp_timings>;
+};
+
+/*lcdc1 as PRMRY(LCD),lcdc0 as EXTEND(HDMI)*/
+&lcdc1 {
+ status = "okay";
+ power_ctr: power_ctr {
+ rockchip,debug = <0>;
+ rockchip,mirror = <NO_MIRROR>;
+
+ lcd_en:lcd_en {
+ rockchip,power_type = <GPIO>;
+ gpios = <&gpio7 GPIO_A3 GPIO_ACTIVE_HIGH>;
+ rockchip,delay = <10>;
+ };
+
+ /*lcd_cs:lcd_cs {
+ rockchip,power_type = <REGULATOR>;
+ rockchip,delay = <10>;
+ };
+
+ lcd_rst:lcd_rst {
+ rockchip,power_type = <GPIO>;
+ gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
+ rockchip,delay = <5>;
+ };*/
+
+ };
+};
+
+&lcdc0 {
+ status = "okay";
+};
+
+&hdmi {
+ status = "okay";
+ rockchips,hdmi_audio_source = <0>;
+};
+
+&adc {
+ status = "okay";
+
+
+ key {
+ compatible = "rockchip,key";
+ io-channels = <&adc 1>;
+
+ vol-up-key {
+ linux,code = <115>;
+ label = "volume up";
+ rockchip,adc_value = <1>;
+ };
+
+ vol-down-key {
+ linux,code = <114>;
+ label = "volume down";
+ rockchip,adc_value = <170>;
+ };
+
+ power-key {
+ gpios = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
+ linux,code = <116>;
+ label = "power";
+ gpio-key,wakeup;
+ };
+
+ back-key {
+ linux,code = <158>;
+ label = "back";
+ rockchip,adc_value = <355>;
+ };
+/*
+ home-key {
+ linux,code = <102>;
+ label = "home";
+ rockchip,adc_value = <746>;
+ };
+
+ back-key {
+ linux,code = <158>;
+ label = "back";
+ rockchip,adc_value = <560>;
+ };
+*/
+ camera-key {
+ linux,code = <212>;
+ label = "camera";
+ rockchip,adc_value = <450>;
+ };
+ };
+};
+
+&pwm0 {
+ status = "okay";
+};
+
+&pwm1 {
+ status = "okay";
+};
+
+
+&clk_core_dvfs_table {
+ operating-points = <
+ /* KHz uV */
+ 126000 900000
+ 216000 900000
+ 312000 900000
+ 408000 900000
+ 600000 900000
+ 696000 950000
+ 816000 1000000
+ 1008000 1050000
+ 1200000 1100000
+ 1416000 1200000
+ 1512000 1250000
+ 1608000 1300000
+ 1704000 1350000
+ 1800000 1400000
+ >;
+ status="okay";
+};
+
+&clk_gpu_dvfs_table {
+ operating-points = <
+ /* KHz uV */
+ 100000 900000
+ 200000 900000
+ 300000 950000
+ 400000 11500000
+ 500000 1200000
+ // 600000 1250000
+ >;
+ status="okay";
+};
+
+&clk_ddr_dvfs_table {
+ operating-points = <
+ /* KHz uV */
+ 200000 1000000
+ 300000 1000000
+ 400000 1050000
+ 533000 1100000
+ >;
+
+ freq-table = <
+ /*status freq(KHz)*/
+ SYS_STATUS_NORMAL 400000
+ SYS_STATUS_SUSPEND 200000
+ SYS_STATUS_VIDEO_1080P 240000
+ SYS_STATUS_VIDEO_4K 400000
+ SYS_STATUS_PERFORMANCE 528000
+ SYS_STATUS_DUALVIEW 400000
+ SYS_STATUS_BOOST 324000
+ SYS_STATUS_ISP 400000
+ >;
+ auto-freq-table = <
+ 240000
+ 324000
+ 396000
+ 528000
+ >;
+ auto-freq=<1>;
+ status="okay";
+};
+/include/ "act8846.dtsi"
+&act8846 {
+ gpios =<&gpio7 GPIO_A1 GPIO_ACTIVE_LOW>,<&gpio0 GPIO_B2 GPIO_ACTIVE_HIGH>;
+
+ regulators {
+
+ dcdc1_reg: regulator@0{
+ regulator-name= "act_dcdc1";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ dcdc2_reg: regulator@1 {
+ regulator-name= "vccio";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
+ };
+
+ dcdc3_reg: regulator@2 {
+ regulator-name= "vdd_logic";
+ regulator-min-microvolt = <700000>;
+ regulator-max-microvolt = <1500000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <1000000>;
+ };
+
+ };
+
+ dcdc4_reg: regulator@3 {
+ regulator-name= "act_dcdc4";
+ regulator-min-microvolt = <2000000>;
+ regulator-max-microvolt = <2000000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <2000000>;
+ };
+ };
+
+ ldo1_reg: regulator@4 {
+ regulator-name= "vccio_sd";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+
+ };
+
+ ldo2_reg: regulator@5 {
+ regulator-name= "act_ldo2";
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1000000>;
+
+ };
+
+ ldo3_reg: regulator@6 {
+ regulator-name= "act_ldo3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+
+ };
+
+ ldo4_reg:regulator@7 {
+ regulator-name= "act_ldo4";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+
+ };
+
+ ldo5_reg: regulator@8 {
+ regulator-name= "act_ldo5";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+
+ };
+
+ ldo6_reg: regulator@9 {
+ regulator-name= "act_ldo6";
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1000000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ };
+
+ };
+
+ ldo7_reg: regulator@10 {
+ regulator-name= "vcc_18";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ };
+
+ };
+
+ ldo8_reg: regulator@11 {
+ regulator-name= "act_ldo8";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+
+ };
+ };
+};
+
+/include/ "rk808.dtsi"
+&rk808 {
+ gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_A0 GPIO_ACTIVE_LOW>;
+ rk808,system-power-controller;
+
+ regulators {
+
+ rk808_dcdc1_reg: regulator@0{
+ regulator-name= "vdd_arm";
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ rk808_dcdc2_reg: regulator@1 {
+ regulator-name= "vdd_gpu";
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ rk808_dcdc3_reg: regulator@2 {
+ regulator-name= "rk_dcdc3";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ rk808_dcdc4_reg: regulator@3 {
+ regulator-name= "vccio";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ rk808_ldo1_reg: regulator@4 {
+ regulator-name= "rk_ldo1";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ rk808_ldo2_reg: regulator@5 {
+ regulator-name= "rk_ldo2";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ rk808_ldo3_reg: regulator@6 {
+ regulator-name= "rk_ldo3";
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1000000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ rk808_ldo4_reg:regulator@7 {
+ regulator-name= "rk_ldo4";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ rk808_ldo5_reg: regulator@8 {
+ regulator-name= "vcc_sd";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ rk808_ldo6_reg: regulator@9 {
+ regulator-name= "rk_ldo6";
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1000000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ rk808_ldo7_reg: regulator@10 {
+ regulator-name= "rk_ldo7";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ rk808_ldo8_reg: regulator@11 {
+ regulator-name= "rk_ldo8";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ rk808_ldo9_reg: regulator@12 {
+ regulator-name= "rk_ldo9";
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ rk808_ldo10_reg: regulator@13 {
+ regulator-name= "rk_ldo10";
+ regulator-always-on;
+ regulator-boot-on;
+ };
+ };
+};
+
+&lcdc_vdd_domain {
+ regulator-name = "vcc30_lcd";
+ };
+&dpio_vdd_domain{
+ regulator-name = "vcc18_cif";
+ };
+&flash0_vdd_domain{
+ regulator-name = "vcc_flash";
+ };
+&flash1_vdd_domain{
+ regulator-name = "vcc_flash";
+ };
+&apio3_vdd_domain{
+ regulator-name = "vccio_wl";
+ };
+&apio5_vdd_domain{
+ regulator-name = "vccio";
+ };
+&apio4_vdd_domain{
+ regulator-name = "vccio";
+ };
+&apio1_vdd_domain{
+ regulator-name = "vccio";
+ };
+&apio2_vdd_domain{
+ regulator-name = "vccio";
+ };
+&sdmmc0_vdd_domain{
+ regulator-name = "vcc_sd";
+ };
+