2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
14 #include "rk3288-evb.dtsi"
17 compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288";
21 cpu0-supply = <&vdd_cpu>;
25 clock-frequency = <400000>;
28 compatible = "rockchip,rk808";
30 interrupt-parent = <&gpio0>;
31 interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
32 pinctrl-names = "default";
33 pinctrl-0 = <&pmic_int &global_pwroff>;
34 rockchip,system-power-controller;
37 clock-output-names = "xin32k", "rk808-clkout2";
39 vcc8-supply = <&vcc_18>;
40 vcc9-supply = <&vcc_io>;
41 vcc10-supply = <&vcc_io>;
42 vcc12-supply = <&vcc_io>;
43 vddio-supply = <&vccio_pmu>;
49 regulator-min-microvolt = <750000>;
50 regulator-max-microvolt = <1350000>;
51 regulator-name = "vdd_arm";
53 regulator-off-in-suspend;
60 regulator-min-microvolt = <850000>;
61 regulator-max-microvolt = <1250000>;
62 regulator-name = "vdd_gpu";
64 regulator-on-in-suspend;
65 regulator-suspend-microvolt = <1000000>;
72 regulator-name = "vcc_ddr";
74 regulator-on-in-suspend;
81 regulator-min-microvolt = <3300000>;
82 regulator-max-microvolt = <3300000>;
83 regulator-name = "vcc_io";
85 regulator-on-in-suspend;
86 regulator-suspend-microvolt = <3300000>;
93 regulator-min-microvolt = <3300000>;
94 regulator-max-microvolt = <3300000>;
95 regulator-name = "vccio_pmu";
97 regulator-on-in-suspend;
98 regulator-suspend-microvolt = <3300000>;
105 regulator-min-microvolt = <3300000>;
106 regulator-max-microvolt = <3300000>;
107 regulator-name = "vcc_tp";
108 regulator-state-mem {
109 regulator-off-in-suspend;
116 regulator-min-microvolt = <1000000>;
117 regulator-max-microvolt = <1000000>;
118 regulator-name = "vdd_10";
119 regulator-state-mem {
120 regulator-on-in-suspend;
121 regulator-suspend-microvolt = <1000000>;
125 vcc18_lcd: LDO_REG4 {
128 regulator-min-microvolt = <1800000>;
129 regulator-max-microvolt = <1800000>;
130 regulator-name = "vcc18_lcd";
131 regulator-state-mem {
132 regulator-on-in-suspend;
133 regulator-suspend-microvolt = <1800000>;
140 regulator-min-microvolt = <1800000>;
141 regulator-max-microvolt = <3300000>;
142 regulator-name = "vccio_sd";
143 regulator-state-mem {
144 regulator-on-in-suspend;
145 regulator-suspend-microvolt = <3300000>;
149 vdd10_lcd: LDO_REG6 {
152 regulator-min-microvolt = <1000000>;
153 regulator-max-microvolt = <1000000>;
154 regulator-name = "vdd10_lcd";
155 regulator-state-mem {
156 regulator-on-in-suspend;
157 regulator-suspend-microvolt = <1000000>;
164 regulator-min-microvolt = <1800000>;
165 regulator-max-microvolt = <1800000>;
166 regulator-name = "vcc_18";
167 regulator-state-mem {
168 regulator-on-in-suspend;
169 regulator-suspend-microvolt = <1800000>;
173 vcca_codec: LDO_REG8 {
176 regulator-min-microvolt = <3300000>;
177 regulator-max-microvolt = <3300000>;
178 regulator-name = "vcca_codec";
179 regulator-state-mem {
180 regulator-on-in-suspend;
181 regulator-suspend-microvolt = <3300000>;
185 vcc_wl: SWITCH_REG1 {
188 regulator-name = "vcc_wl";
189 regulator-state-mem {
190 regulator-on-in-suspend;
194 vcc_lcd: SWITCH_REG2 {
197 regulator-name = "vcc_lcd";
198 regulator-state-mem {
199 regulator-on-in-suspend;