hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/rk3288-evb-act8846.dts
....@@ -4,40 +4,23 @@
44 #include "rk3288-evb.dtsi"
55
66 / {
7
+ model = "Rockchip RK3288 EVB ACT8846";
78 compatible = "rockchip,rk3288-evb-act8846", "rockchip,rk3288";
89
9
- panel {
10
- compatible = "simple-panel";
11
- backlight = <&backlight>;
12
- power-supply = <&vcc_lcd>;
13
- enable-gpios = <&gpio7 RK_PA4 GPIO_ACTIVE_HIGH>;
14
- prepare-delay-ms = <120>;
10
+ sdio_pwrseq: sdio-pwrseq {
11
+ compatible = "mmc-pwrseq-simple";
12
+ clocks = <&hym8563>;
13
+ clock-names = "ext_clock";
14
+ pinctrl-names = "default";
15
+ pinctrl-0 = <&wifi_enable_h>;
1516
16
- display-timings {
17
- native-mode = <&timing0>;
18
-
19
- timing0: timing0 {
20
- clock-frequency = <200000000>;
21
- hactive = <1536>;
22
- vactive = <2048>;
23
- hfront-porch = <12>;
24
- hsync-len = <16>;
25
- hback-porch = <48>;
26
- vfront-porch = <8>;
27
- vsync-len = <4>;
28
- vback-porch = <8>;
29
- hsync-active = <0>;
30
- vsync-active = <0>;
31
- de-active = <0>;
32
- pixelclk-active = <0>;
33
- };
34
- };
35
-
36
- port {
37
- panel_in_edp: endpoint {
38
- remote-endpoint = <&edp_out_panel>;
39
- };
40
- };
17
+ /*
18
+ * On the module itself this is one of these (depending
19
+ * on the actual card populated):
20
+ * - SDIO_RESET_L_WL_REG_ON
21
+ * - PDN (power down when low)
22
+ */
23
+ reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
4124 };
4225
4326 vcc_lcd: vcc-lcd {
....@@ -59,13 +42,6 @@
5942 regulator-name = "vcc_wl";
6043 vin-supply = <&vcc_18>;
6144 };
62
-};
63
-
64
-&backlight {
65
- enable-gpios = <&gpio7 RK_PA2 GPIO_ACTIVE_HIGH>;
66
- pinctrl-names = "default";
67
- pinctrl-0 = <&bl_en>;
68
- pwms = <&pwm0 0 1000000 PWM_POLARITY_INVERTED>;
6945 };
7046
7147 &i2c0 {
....@@ -94,21 +70,7 @@
9470 vin-supply = <&vcc_sys>;
9571 };
9672
97
- hym8563@51 {
98
- compatible = "haoyu,hym8563";
99
- reg = <0x51>;
100
-
101
- interrupt-parent = <&gpio0>;
102
- interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
103
-
104
- pinctrl-names = "default";
105
- pinctrl-0 = <&pmic_int>;
106
-
107
- #clock-cells = <0>;
108
- clock-output-names = "xin32k";
109
- };
110
-
111
- hym8563: hym8563@51 {
73
+ hym8563: rtc@51 {
11274 compatible = "haoyu,hym8563";
11375 reg = <0x51>;
11476
....@@ -221,58 +183,13 @@
221183 };
222184 };
223185 };
224
-
225
- sdio_pwrseq: sdio-pwrseq {
226
- compatible = "mmc-pwrseq-simple";
227
- clocks = <&hym8563>;
228
- clock-names = "ext_clock";
229
- pinctrl-names = "default";
230
- pinctrl-0 = <&wifi_enable_h>;
231
-
232
- /*
233
- * On the module itself this is one of these (depending
234
- * on the actual card populated):
235
- * - SDIO_RESET_L_WL_REG_ON
236
- * - PDN (power down when low)
237
- */
238
- reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
239
- };
240186 };
241187
242
-&edp {
243
- force-hpd;
244
- status = "okay";
245
-
246
- ports {
247
- port@1 {
248
- reg = <1>;
249
-
250
- edp_out_panel: endpoint {
251
- remote-endpoint = <&panel_in_edp>;
252
- };
253
- };
254
- };
255
-};
256
-
257
-&edp_in_vopb {
258
- status = "disabled";
259
-};
260
-
261
-&edp_in_vopl {
262
- status = "okay";
263
-};
264
-
265
-&pwm0 {
266
- status = "okay";
188
+&panel {
189
+ power-supply = <&vcc_lcd>;
267190 };
268191
269192 &pinctrl {
270
- backlight {
271
- bl_en: bl-en {
272
- rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
273
- };
274
- };
275
-
276193 lcd {
277194 lcd_en: lcd-en {
278195 rockchip,pins = <7 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;