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