xref: /freebsd-src/sys/contrib/device-tree/src/arm/rockchip/rk3288-evb-act8846.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 ACT8846";
8*f126890aSEmmanuel Vadot	compatible = "rockchip,rk3288-evb-act8846", "rockchip,rk3288";
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot	vcc_lcd: vcc-lcd {
11*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
12*f126890aSEmmanuel Vadot		enable-active-high;
13*f126890aSEmmanuel Vadot		gpio = <&gpio7 RK_PA3 GPIO_ACTIVE_HIGH>;
14*f126890aSEmmanuel Vadot		pinctrl-names = "default";
15*f126890aSEmmanuel Vadot		pinctrl-0 = <&lcd_en>;
16*f126890aSEmmanuel Vadot		regulator-name = "vcc_lcd";
17*f126890aSEmmanuel Vadot		vin-supply = <&vcc_io>;
18*f126890aSEmmanuel Vadot	};
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadot	vcc_wl: vcc-wl {
21*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
22*f126890aSEmmanuel Vadot		enable-active-high;
23*f126890aSEmmanuel Vadot		gpio = <&gpio7 RK_PB1 GPIO_ACTIVE_HIGH>;
24*f126890aSEmmanuel Vadot		pinctrl-names = "default";
25*f126890aSEmmanuel Vadot		pinctrl-0 = <&wifi_pwr>;
26*f126890aSEmmanuel Vadot		regulator-name = "vcc_wl";
27*f126890aSEmmanuel Vadot		vin-supply = <&vcc_18>;
28*f126890aSEmmanuel Vadot	};
29*f126890aSEmmanuel Vadot};
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel Vadot&i2c0 {
32*f126890aSEmmanuel Vadot	clock-frequency = <400000>;
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot	vdd_cpu: syr827@40 {
35*f126890aSEmmanuel Vadot		compatible = "silergy,syr827";
36*f126890aSEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
37*f126890aSEmmanuel Vadot		reg = <0x40>;
38*f126890aSEmmanuel Vadot		regulator-name = "vdd_cpu";
39*f126890aSEmmanuel Vadot		regulator-min-microvolt = <850000>;
40*f126890aSEmmanuel Vadot		regulator-max-microvolt = <1350000>;
41*f126890aSEmmanuel Vadot		regulator-always-on;
42*f126890aSEmmanuel Vadot		regulator-boot-on;
43*f126890aSEmmanuel Vadot		vin-supply = <&vcc_sys>;
44*f126890aSEmmanuel Vadot	};
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot	vdd_gpu: syr828@41 {
47*f126890aSEmmanuel Vadot		compatible = "silergy,syr828";
48*f126890aSEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
49*f126890aSEmmanuel Vadot		reg = <0x41>;
50*f126890aSEmmanuel Vadot		regulator-name = "vdd_gpu";
51*f126890aSEmmanuel Vadot		regulator-min-microvolt = <850000>;
52*f126890aSEmmanuel Vadot		regulator-max-microvolt = <1350000>;
53*f126890aSEmmanuel Vadot		regulator-always-on;
54*f126890aSEmmanuel Vadot		vin-supply = <&vcc_sys>;
55*f126890aSEmmanuel Vadot	};
56*f126890aSEmmanuel Vadot
57*f126890aSEmmanuel Vadot	rtc@51 {
58*f126890aSEmmanuel Vadot		compatible = "haoyu,hym8563";
59*f126890aSEmmanuel Vadot		reg = <0x51>;
60*f126890aSEmmanuel Vadot
61*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio0>;
62*f126890aSEmmanuel Vadot		interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
63*f126890aSEmmanuel Vadot
64*f126890aSEmmanuel Vadot		pinctrl-names = "default";
65*f126890aSEmmanuel Vadot		pinctrl-0 = <&pmic_int>;
66*f126890aSEmmanuel Vadot
67*f126890aSEmmanuel Vadot		#clock-cells = <0>;
68*f126890aSEmmanuel Vadot		clock-output-names = "xin32k";
69*f126890aSEmmanuel Vadot	};
70*f126890aSEmmanuel Vadot
71*f126890aSEmmanuel Vadot	act8846: act8846@5a {
72*f126890aSEmmanuel Vadot		compatible = "active-semi,act8846";
73*f126890aSEmmanuel Vadot		reg = <0x5a>;
74*f126890aSEmmanuel Vadot		status = "okay";
75*f126890aSEmmanuel Vadot
76*f126890aSEmmanuel Vadot		vp1-supply = <&vcc_sys>;
77*f126890aSEmmanuel Vadot		vp2-supply = <&vcc_sys>;
78*f126890aSEmmanuel Vadot		vp3-supply = <&vcc_sys>;
79*f126890aSEmmanuel Vadot		vp4-supply = <&vcc_sys>;
80*f126890aSEmmanuel Vadot		inl1-supply = <&vcc_io>;
81*f126890aSEmmanuel Vadot		inl2-supply = <&vcc_sys>;
82*f126890aSEmmanuel Vadot		inl3-supply = <&vcc_20>;
83*f126890aSEmmanuel Vadot
84*f126890aSEmmanuel Vadot		regulators {
85*f126890aSEmmanuel Vadot			vcc_ddr: REG1 {
86*f126890aSEmmanuel Vadot				regulator-name = "VCC_DDR";
87*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1200000>;
88*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1200000>;
89*f126890aSEmmanuel Vadot				regulator-always-on;
90*f126890aSEmmanuel Vadot			};
91*f126890aSEmmanuel Vadot
92*f126890aSEmmanuel Vadot			vcc_io: REG2 {
93*f126890aSEmmanuel Vadot				regulator-name = "VCC_IO";
94*f126890aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
95*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
96*f126890aSEmmanuel Vadot				regulator-always-on;
97*f126890aSEmmanuel Vadot			};
98*f126890aSEmmanuel Vadot
99*f126890aSEmmanuel Vadot			vdd_log: REG3 {
100*f126890aSEmmanuel Vadot				regulator-name = "VDD_LOG";
101*f126890aSEmmanuel Vadot				regulator-min-microvolt = <700000>;
102*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1500000>;
103*f126890aSEmmanuel Vadot				regulator-always-on;
104*f126890aSEmmanuel Vadot			};
105*f126890aSEmmanuel Vadot
106*f126890aSEmmanuel Vadot			vcc_20: REG4 {
107*f126890aSEmmanuel Vadot				regulator-name = "VCC_20";
108*f126890aSEmmanuel Vadot				regulator-min-microvolt = <2000000>;
109*f126890aSEmmanuel Vadot				regulator-max-microvolt = <2000000>;
110*f126890aSEmmanuel Vadot				regulator-always-on;
111*f126890aSEmmanuel Vadot			};
112*f126890aSEmmanuel Vadot
113*f126890aSEmmanuel Vadot			vccio_sd: REG5 {
114*f126890aSEmmanuel Vadot				regulator-name = "VCCIO_SD";
115*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
116*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
117*f126890aSEmmanuel Vadot				regulator-always-on;
118*f126890aSEmmanuel Vadot			};
119*f126890aSEmmanuel Vadot
120*f126890aSEmmanuel Vadot			vdd10_lcd: REG6 {
121*f126890aSEmmanuel Vadot				regulator-name = "VDD10_LCD";
122*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
123*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1000000>;
124*f126890aSEmmanuel Vadot				regulator-always-on;
125*f126890aSEmmanuel Vadot			};
126*f126890aSEmmanuel Vadot
127*f126890aSEmmanuel Vadot			vcca_codec: REG7 {
128*f126890aSEmmanuel Vadot				regulator-name = "VCCA_CODEC";
129*f126890aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
130*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
131*f126890aSEmmanuel Vadot				regulator-always-on;
132*f126890aSEmmanuel Vadot			};
133*f126890aSEmmanuel Vadot
134*f126890aSEmmanuel Vadot			vcc_tp: REG8 {
135*f126890aSEmmanuel Vadot				regulator-name = "VCCA_TP";
136*f126890aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
137*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
138*f126890aSEmmanuel Vadot				regulator-always-on;
139*f126890aSEmmanuel Vadot			};
140*f126890aSEmmanuel Vadot
141*f126890aSEmmanuel Vadot			vccio_pmu: REG9 {
142*f126890aSEmmanuel Vadot				regulator-name = "VCCIO_PMU";
143*f126890aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
144*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
145*f126890aSEmmanuel Vadot				regulator-always-on;
146*f126890aSEmmanuel Vadot			};
147*f126890aSEmmanuel Vadot
148*f126890aSEmmanuel Vadot			vdd_10: REG10 {
149*f126890aSEmmanuel Vadot				regulator-name = "VDD_10";
150*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
151*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1000000>;
152*f126890aSEmmanuel Vadot				regulator-always-on;
153*f126890aSEmmanuel Vadot			};
154*f126890aSEmmanuel Vadot
155*f126890aSEmmanuel Vadot			vcc_18: REG11 {
156*f126890aSEmmanuel Vadot				regulator-name = "VCC_18";
157*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
158*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
159*f126890aSEmmanuel Vadot				regulator-always-on;
160*f126890aSEmmanuel Vadot			};
161*f126890aSEmmanuel Vadot
162*f126890aSEmmanuel Vadot			vcc18_lcd: REG12 {
163*f126890aSEmmanuel Vadot				regulator-name = "VCC18_LCD";
164*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
165*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
166*f126890aSEmmanuel Vadot				regulator-always-on;
167*f126890aSEmmanuel Vadot			};
168*f126890aSEmmanuel Vadot		};
169*f126890aSEmmanuel Vadot	};
170*f126890aSEmmanuel Vadot};
171*f126890aSEmmanuel Vadot
172*f126890aSEmmanuel Vadot&panel {
173*f126890aSEmmanuel Vadot	power-supply = <&vcc_lcd>;
174*f126890aSEmmanuel Vadot};
175*f126890aSEmmanuel Vadot
176*f126890aSEmmanuel Vadot&pinctrl {
177*f126890aSEmmanuel Vadot	lcd {
178*f126890aSEmmanuel Vadot		lcd_en: lcd-en  {
179*f126890aSEmmanuel Vadot			rockchip,pins = <7 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
180*f126890aSEmmanuel Vadot		};
181*f126890aSEmmanuel Vadot	};
182*f126890aSEmmanuel Vadot
183*f126890aSEmmanuel Vadot	wifi {
184*f126890aSEmmanuel Vadot		wifi_pwr: wifi-pwr {
185*f126890aSEmmanuel Vadot			rockchip,pins = <7 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
186*f126890aSEmmanuel Vadot		};
187*f126890aSEmmanuel Vadot	};
188*f126890aSEmmanuel Vadot};
189