xref: /linux/scripts/dtc/include-prefixes/arm/rockchip/rk3288-evb-act8846.dts (revision c34e9ab9a612ee8b18273398ef75c207b01f516d)
1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2724ba675SRob Herring
3724ba675SRob Herring/dts-v1/;
4724ba675SRob Herring#include "rk3288-evb.dtsi"
5724ba675SRob Herring
6724ba675SRob Herring/ {
7724ba675SRob Herring	model = "Rockchip RK3288 EVB ACT8846";
8724ba675SRob Herring	compatible = "rockchip,rk3288-evb-act8846", "rockchip,rk3288";
9724ba675SRob Herring
10*2c3944d9SJohan Jonker	vcc_lcd: regulator-vcc-lcd {
11724ba675SRob Herring		compatible = "regulator-fixed";
12724ba675SRob Herring		enable-active-high;
13724ba675SRob Herring		gpio = <&gpio7 RK_PA3 GPIO_ACTIVE_HIGH>;
14724ba675SRob Herring		pinctrl-names = "default";
15724ba675SRob Herring		pinctrl-0 = <&lcd_en>;
16724ba675SRob Herring		regulator-name = "vcc_lcd";
17724ba675SRob Herring		vin-supply = <&vcc_io>;
18724ba675SRob Herring	};
19724ba675SRob Herring
20*2c3944d9SJohan Jonker	vcc_wl: regulator-vcc-wl {
21724ba675SRob Herring		compatible = "regulator-fixed";
22724ba675SRob Herring		enable-active-high;
23724ba675SRob Herring		gpio = <&gpio7 RK_PB1 GPIO_ACTIVE_HIGH>;
24724ba675SRob Herring		pinctrl-names = "default";
25724ba675SRob Herring		pinctrl-0 = <&wifi_pwr>;
26724ba675SRob Herring		regulator-name = "vcc_wl";
27724ba675SRob Herring		vin-supply = <&vcc_18>;
28724ba675SRob Herring	};
29724ba675SRob Herring};
30724ba675SRob Herring
31724ba675SRob Herring&i2c0 {
32724ba675SRob Herring	clock-frequency = <400000>;
33724ba675SRob Herring
34724ba675SRob Herring	vdd_cpu: syr827@40 {
35724ba675SRob Herring		compatible = "silergy,syr827";
36724ba675SRob Herring		fcs,suspend-voltage-selector = <1>;
37724ba675SRob Herring		reg = <0x40>;
38724ba675SRob Herring		regulator-name = "vdd_cpu";
39724ba675SRob Herring		regulator-min-microvolt = <850000>;
40724ba675SRob Herring		regulator-max-microvolt = <1350000>;
41724ba675SRob Herring		regulator-always-on;
42724ba675SRob Herring		regulator-boot-on;
43724ba675SRob Herring		vin-supply = <&vcc_sys>;
44724ba675SRob Herring	};
45724ba675SRob Herring
46724ba675SRob Herring	vdd_gpu: syr828@41 {
47724ba675SRob Herring		compatible = "silergy,syr828";
48724ba675SRob Herring		fcs,suspend-voltage-selector = <1>;
49724ba675SRob Herring		reg = <0x41>;
50724ba675SRob Herring		regulator-name = "vdd_gpu";
51724ba675SRob Herring		regulator-min-microvolt = <850000>;
52724ba675SRob Herring		regulator-max-microvolt = <1350000>;
53724ba675SRob Herring		regulator-always-on;
54724ba675SRob Herring		vin-supply = <&vcc_sys>;
55724ba675SRob Herring	};
56724ba675SRob Herring
57724ba675SRob Herring	rtc@51 {
58724ba675SRob Herring		compatible = "haoyu,hym8563";
59724ba675SRob Herring		reg = <0x51>;
60724ba675SRob Herring
61724ba675SRob Herring		interrupt-parent = <&gpio0>;
62724ba675SRob Herring		interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
63724ba675SRob Herring
64724ba675SRob Herring		pinctrl-names = "default";
65724ba675SRob Herring		pinctrl-0 = <&pmic_int>;
66724ba675SRob Herring
67724ba675SRob Herring		#clock-cells = <0>;
68724ba675SRob Herring		clock-output-names = "xin32k";
69724ba675SRob Herring	};
70724ba675SRob Herring
71724ba675SRob Herring	act8846: act8846@5a {
72724ba675SRob Herring		compatible = "active-semi,act8846";
73724ba675SRob Herring		reg = <0x5a>;
74724ba675SRob Herring		status = "okay";
75724ba675SRob Herring
76724ba675SRob Herring		vp1-supply = <&vcc_sys>;
77724ba675SRob Herring		vp2-supply = <&vcc_sys>;
78724ba675SRob Herring		vp3-supply = <&vcc_sys>;
79724ba675SRob Herring		vp4-supply = <&vcc_sys>;
80724ba675SRob Herring		inl1-supply = <&vcc_io>;
81724ba675SRob Herring		inl2-supply = <&vcc_sys>;
82724ba675SRob Herring		inl3-supply = <&vcc_20>;
83724ba675SRob Herring
84724ba675SRob Herring		regulators {
85724ba675SRob Herring			vcc_ddr: REG1 {
86724ba675SRob Herring				regulator-name = "VCC_DDR";
87724ba675SRob Herring				regulator-min-microvolt = <1200000>;
88724ba675SRob Herring				regulator-max-microvolt = <1200000>;
89724ba675SRob Herring				regulator-always-on;
90724ba675SRob Herring			};
91724ba675SRob Herring
92724ba675SRob Herring			vcc_io: REG2 {
93724ba675SRob Herring				regulator-name = "VCC_IO";
94724ba675SRob Herring				regulator-min-microvolt = <3300000>;
95724ba675SRob Herring				regulator-max-microvolt = <3300000>;
96724ba675SRob Herring				regulator-always-on;
97724ba675SRob Herring			};
98724ba675SRob Herring
99724ba675SRob Herring			vdd_log: REG3 {
100724ba675SRob Herring				regulator-name = "VDD_LOG";
101724ba675SRob Herring				regulator-min-microvolt = <700000>;
102724ba675SRob Herring				regulator-max-microvolt = <1500000>;
103724ba675SRob Herring				regulator-always-on;
104724ba675SRob Herring			};
105724ba675SRob Herring
106724ba675SRob Herring			vcc_20: REG4 {
107724ba675SRob Herring				regulator-name = "VCC_20";
108724ba675SRob Herring				regulator-min-microvolt = <2000000>;
109724ba675SRob Herring				regulator-max-microvolt = <2000000>;
110724ba675SRob Herring				regulator-always-on;
111724ba675SRob Herring			};
112724ba675SRob Herring
113724ba675SRob Herring			vccio_sd: REG5 {
114724ba675SRob Herring				regulator-name = "VCCIO_SD";
115724ba675SRob Herring				regulator-min-microvolt = <1800000>;
116724ba675SRob Herring				regulator-max-microvolt = <3300000>;
117724ba675SRob Herring				regulator-always-on;
118724ba675SRob Herring			};
119724ba675SRob Herring
120724ba675SRob Herring			vdd10_lcd: REG6 {
121724ba675SRob Herring				regulator-name = "VDD10_LCD";
122724ba675SRob Herring				regulator-min-microvolt = <1000000>;
123724ba675SRob Herring				regulator-max-microvolt = <1000000>;
124724ba675SRob Herring				regulator-always-on;
125724ba675SRob Herring			};
126724ba675SRob Herring
127724ba675SRob Herring			vcca_codec: REG7 {
128724ba675SRob Herring				regulator-name = "VCCA_CODEC";
129724ba675SRob Herring				regulator-min-microvolt = <3300000>;
130724ba675SRob Herring				regulator-max-microvolt = <3300000>;
131724ba675SRob Herring				regulator-always-on;
132724ba675SRob Herring			};
133724ba675SRob Herring
134724ba675SRob Herring			vcc_tp: REG8 {
135724ba675SRob Herring				regulator-name = "VCCA_TP";
136724ba675SRob Herring				regulator-min-microvolt = <3300000>;
137724ba675SRob Herring				regulator-max-microvolt = <3300000>;
138724ba675SRob Herring				regulator-always-on;
139724ba675SRob Herring			};
140724ba675SRob Herring
141724ba675SRob Herring			vccio_pmu: REG9 {
142724ba675SRob Herring				regulator-name = "VCCIO_PMU";
143724ba675SRob Herring				regulator-min-microvolt = <3300000>;
144724ba675SRob Herring				regulator-max-microvolt = <3300000>;
145724ba675SRob Herring				regulator-always-on;
146724ba675SRob Herring			};
147724ba675SRob Herring
148724ba675SRob Herring			vdd_10: REG10 {
149724ba675SRob Herring				regulator-name = "VDD_10";
150724ba675SRob Herring				regulator-min-microvolt = <1000000>;
151724ba675SRob Herring				regulator-max-microvolt = <1000000>;
152724ba675SRob Herring				regulator-always-on;
153724ba675SRob Herring			};
154724ba675SRob Herring
155724ba675SRob Herring			vcc_18: REG11 {
156724ba675SRob Herring				regulator-name = "VCC_18";
157724ba675SRob Herring				regulator-min-microvolt = <1800000>;
158724ba675SRob Herring				regulator-max-microvolt = <1800000>;
159724ba675SRob Herring				regulator-always-on;
160724ba675SRob Herring			};
161724ba675SRob Herring
162724ba675SRob Herring			vcc18_lcd: REG12 {
163724ba675SRob Herring				regulator-name = "VCC18_LCD";
164724ba675SRob Herring				regulator-min-microvolt = <1800000>;
165724ba675SRob Herring				regulator-max-microvolt = <1800000>;
166724ba675SRob Herring				regulator-always-on;
167724ba675SRob Herring			};
168724ba675SRob Herring		};
169724ba675SRob Herring	};
170724ba675SRob Herring};
171724ba675SRob Herring
172724ba675SRob Herring&panel {
173724ba675SRob Herring	power-supply = <&vcc_lcd>;
174724ba675SRob Herring};
175724ba675SRob Herring
176724ba675SRob Herring&pinctrl {
177724ba675SRob Herring	lcd {
178724ba675SRob Herring		lcd_en: lcd-en  {
179724ba675SRob Herring			rockchip,pins = <7 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
180724ba675SRob Herring		};
181724ba675SRob Herring	};
182724ba675SRob Herring
183724ba675SRob Herring	wifi {
184724ba675SRob Herring		wifi_pwr: wifi-pwr {
185724ba675SRob Herring			rockchip,pins = <7 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
186724ba675SRob Herring		};
187724ba675SRob Herring	};
188724ba675SRob Herring};
189