]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - 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
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2
3 /dts-v1/;
4 #include "rk3288-evb.dtsi"
5
6 / {
7 compatible = "rockchip,rk3288-evb-act8846", "rockchip,rk3288";
8
9 vcc_lcd: vcc-lcd {
10 compatible = "regulator-fixed";
11 enable-active-high;
12 gpio = <&gpio7 RK_PA3 GPIO_ACTIVE_HIGH>;
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;
22 gpio = <&gpio7 RK_PB1 GPIO_ACTIVE_HIGH>;
23 pinctrl-names = "default";
24 pinctrl-0 = <&wifi_pwr>;
25 regulator-name = "vcc_wl";
26 vin-supply = <&vcc_18>;
27 };
28 };
29
30 &i2c0 {
31 clock-frequency = <400000>;
32
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;
42 vin-supply = <&vcc_sys>;
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;
53 vin-supply = <&vcc_sys>;
54 };
55
56 hym8563@51 {
57 compatible = "haoyu,hym8563";
58 reg = <0x51>;
59
60 interrupt-parent = <&gpio0>;
61 interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
62
63 pinctrl-names = "default";
64 pinctrl-0 = <&pmic_int>;
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
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
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";
100 regulator-min-microvolt = <700000>;
101 regulator-max-microvolt = <1500000>;
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";
114 regulator-min-microvolt = <1800000>;
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
133 vcc_tp: REG8 {
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 };
170
171 &panel {
172 power-supply = <&vcc_lcd>;
173 };
174
175 &pinctrl {
176 lcd {
177 lcd_en: lcd-en {
178 rockchip,pins = <7 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
179 };
180 };
181
182 wifi {
183 wifi_pwr: wifi-pwr {
184 rockchip,pins = <7 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
185 };
186 };
187 };