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