hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/rk3288-evb-rk808.dts
....@@ -4,40 +4,8 @@
44 #include "rk3288-evb.dtsi"
55
66 / {
7
+ model = "Rockchip RK3288 EVB RK808";
78 compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288";
8
-
9
- panel {
10
- compatible = "simple-panel";
11
- backlight = <&backlight>;
12
- enable-gpios = <&gpio7 RK_PA4 GPIO_ACTIVE_HIGH>;
13
- prepare-delay-ms = <120>;
14
-
15
- display-timings {
16
- native-mode = <&timing0>;
17
-
18
- timing0: timing0 {
19
- clock-frequency = <200000000>;
20
- hactive = <1536>;
21
- vactive = <2048>;
22
- hfront-porch = <12>;
23
- hsync-len = <16>;
24
- hback-porch = <48>;
25
- vfront-porch = <8>;
26
- vsync-len = <4>;
27
- vback-porch = <8>;
28
- hsync-active = <0>;
29
- vsync-active = <0>;
30
- de-active = <0>;
31
- pixelclk-active = <0>;
32
- };
33
- };
34
-
35
- port {
36
- panel_in_edp: endpoint {
37
- remote-endpoint = <&edp_out_panel>;
38
- };
39
- };
40
- };
419
4210 sdio_pwrseq: sdio-pwrseq {
4311 compatible = "mmc-pwrseq-simple";
....@@ -54,13 +22,6 @@
5422 */
5523 reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
5624 };
57
-};
58
-
59
-&backlight {
60
- enable-gpios = <&gpio7 RK_PA2 GPIO_ACTIVE_HIGH>;
61
- pinctrl-names = "default";
62
- pinctrl-0 = <&bl_en>;
63
- pwms = <&pwm0 0 1000000 PWM_POLARITY_INVERTED>;
6425 };
6526
6627 &i2c0 {
....@@ -252,37 +213,6 @@
252213 };
253214 };
254215
255
-&edp {
256
- force-hpd;
257
- status = "okay";
258
-
259
- ports {
260
- port@1 {
261
- reg = <1>;
262
-
263
- edp_out_panel: endpoint {
264
- remote-endpoint = <&panel_in_edp>;
265
- };
266
- };
267
- };
268
-};
269
-
270
-&edp_in_vopb {
271
- status = "disabled";
272
-};
273
-
274
-&edp_in_vopl {
275
- status = "okay";
276
-};
277
-
278
-&pwm0 {
279
- status = "okay";
280
-};
281
-
282
-&pinctrl {
283
- backlight {
284
- bl_en: bl-en {
285
- rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
286
- };
287
- };
216
+&panel {
217
+ power-supply = <&vcc_lcd>;
288218 };