2017-12-15 12:44:27 +01:00
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2014-07-15 20:09:44 +02:00
/dts-v1/;
#include "rk3288-evb.dtsi"
/ {
compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288";
2014-09-13 00:34:30 +02:00
};
2014-08-26 10:28:43 -07:00
&i2c0 {
2014-09-10 21:30:15 -07:00
clock-frequency = <400000>;
2014-08-26 10:28:43 -07:00
rk808: pmic@1b {
compatible = "rockchip,rk808";
reg = <0x1b>;
interrupt-parent = <&gpio0>;
2016-10-22 20:54:55 +08:00
interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>;
2014-08-26 10:28:43 -07:00
pinctrl-names = "default";
2014-12-01 16:52:20 +08:00
pinctrl-0 = <&pmic_int &global_pwroff>;
2014-08-26 10:28:43 -07:00
rockchip,system-power-controller;
wakeup-source;
#clock-cells = <1>;
clock-output-names = "xin32k", "rk808-clkout2";
2015-03-07 23:18:12 +01:00
vcc1-supply = <&vcc_sys>;
vcc2-supply = <&vcc_sys>;
vcc3-supply = <&vcc_sys>;
vcc4-supply = <&vcc_sys>;
vcc6-supply = <&vcc_sys>;
vcc7-supply = <&vcc_sys>;
2014-08-26 10:28:43 -07:00
vcc8-supply = <&vcc_18>;
vcc9-supply = <&vcc_io>;
vcc10-supply = <&vcc_io>;
2015-03-07 23:18:12 +01:00
vcc11-supply = <&vcc_sys>;
2014-08-26 10:28:43 -07:00
vcc12-supply = <&vcc_io>;
vddio-supply = <&vccio_pmu>;
regulators {
vdd_cpu: DCDC_REG1 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <750000>;
2014-09-13 00:34:30 +02:00
regulator-max-microvolt = <1350000>;
2014-08-26 10:28:43 -07:00
regulator-name = "vdd_arm";
2014-12-01 16:52:20 +08:00
regulator-state-mem {
regulator-off-in-suspend;
};
2014-08-26 10:28:43 -07:00
};
vdd_gpu: DCDC_REG2 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1250000>;
regulator-name = "vdd_gpu";
2014-12-01 16:52:20 +08:00
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <1000000>;
};
2014-08-26 10:28:43 -07:00
};
vcc_ddr: DCDC_REG3 {
regulator-always-on;
regulator-boot-on;
regulator-name = "vcc_ddr";
2014-12-01 16:52:20 +08:00
regulator-state-mem {
regulator-on-in-suspend;
};
2014-08-26 10:28:43 -07:00
};
vcc_io: DCDC_REG4 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc_io";
2014-12-01 16:52:20 +08:00
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <3300000>;
};
2014-08-26 10:28:43 -07:00
};
vccio_pmu: LDO_REG1 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vccio_pmu";
2014-12-01 16:52:20 +08:00
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <3300000>;
};
2014-08-26 10:28:43 -07:00
};
vcc_tp: LDO_REG2 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc_tp";
2014-12-01 16:52:20 +08:00
regulator-state-mem {
regulator-off-in-suspend;
};
2014-08-26 10:28:43 -07:00
};
vdd_10: LDO_REG3 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-name = "vdd_10";
2014-12-01 16:52:20 +08:00
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <1000000>;
};
2014-08-26 10:28:43 -07:00
};
vcc18_lcd: LDO_REG4 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-name = "vcc18_lcd";
2014-12-01 16:52:20 +08:00
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <1800000>;
};
2014-08-26 10:28:43 -07:00
};
vccio_sd: LDO_REG5 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vccio_sd";
2014-12-01 16:52:20 +08:00
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <3300000>;
};
2014-08-26 10:28:43 -07:00
};
vdd10_lcd: LDO_REG6 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-name = "vdd10_lcd";
2014-12-01 16:52:20 +08:00
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <1000000>;
};
2014-08-26 10:28:43 -07:00
};
vcc_18: LDO_REG7 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-name = "vcc_18";
2014-12-01 16:52:20 +08:00
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <1800000>;
};
2014-08-26 10:28:43 -07:00
};
vcca_codec: LDO_REG8 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcca_codec";
2014-12-01 16:52:20 +08:00
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <3300000>;
};
2014-08-26 10:28:43 -07:00
};
vcc_wl: SWITCH_REG1 {
regulator-always-on;
regulator-boot-on;
regulator-name = "vcc_wl";
2014-12-01 16:52:20 +08:00
regulator-state-mem {
regulator-on-in-suspend;
};
2014-08-26 10:28:43 -07:00
};
vcc_lcd: SWITCH_REG2 {
regulator-always-on;
regulator-boot-on;
regulator-name = "vcc_lcd";
2014-12-01 16:52:20 +08:00
regulator-state-mem {
regulator-on-in-suspend;
};
2014-08-26 10:28:43 -07:00
};
};
};
};
2016-06-28 12:51:24 +08:00
&panel {
power-supply = <&vcc_lcd>;
};