hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/arm64/boot/dts/rockchip/rk3567-evb2-lp4x-v10-dual-lvds.dts
similarity index 86%copy from kernel/arch/arm64/boot/dts/rockchip/rk3567-evb2-lp4x-v10-dual-lvds.dtscopy to kernel/arch/arm64/boot/dts/rockchip/rk3568-evb1-ddr4-v10-one-vp-two-single-channel-lvds.dtsi
....@@ -3,19 +3,13 @@
33 * Copyright (c) 2023 Rockchip Electronics Co., Ltd.
44 */
55
6
-/dts-v1/;
7
-
86 #include <dt-bindings/display/media-bus-format.h>
97 #include <dt-bindings/gpio/gpio.h>
108 #include <dt-bindings/pinctrl/rockchip.h>
11
-
12
-#include "rk3567-evb2-lp4x-v10.dtsi"
13
-#include "rk3568-android.dtsi"
9
+#include "rk3568-evb1-ddr4-v10.dtsi"
1410
1511 / {
16
- model = "Rockchip RK3567 EVB2 LP4X V10 Board";
17
- compatible = "rockchip,rk3567-evb2-lp4x-v10", "rockchip,rk3567";
18
-
12
+ /* panel: claa070wp03xg */
1913 panel {
2014 compatible = "simple-panel";
2115 backlight = <&backlight>;
....@@ -33,14 +27,14 @@
3327
3428 timing0: timing0 {
3529 clock-frequency = <134000000>;
36
- hactive = <1600>;
30
+ hactive = <1600>; /* each panel show 1600 / 2 = 800 pxiel */
3731 vactive = <1280>;
3832 hback-porch = <60>;
3933 hfront-porch = <60>;
4034 vback-porch = <4>;
4135 vfront-porch = <2>;
4236 hsync-len = <8>;
43
- vsync-len = <2>;
37
+ vsync-len = <8>;
4438 hsync-active = <0>;
4539 vsync-active = <0>;
4640 de-active = <0>;
....@@ -74,68 +68,14 @@
7468 };
7569 };
7670
77
-&backlight1 {
78
- status = "okay";
79
-};
80
-
8171 &backlight {
8272 status = "okay";
8373 };
8474
85
-&lvds {
86
- status = "okay";
87
- dual-channel;
88
-
89
- ports {
90
- port@1 {
91
- reg = <1>;
92
- lvds0_out_panel: endpoint {
93
- remote-endpoint = <&panel_in_lvds0>;
94
- };
95
- };
96
- };
97
-};
98
-
99
-&lvds1 {
100
- status = "okay";
101
-
102
- ports {
103
- port@1 {
104
- reg = <1>;
105
- lvds1_out_panel: endpoint {
106
- remote-endpoint = <&panel_in_lvds1>;
107
- };
108
- };
109
- };
110
-};
111
-
112
-&lvds_in_vp1 {
75
+&backlight1 {
11376 status = "okay";
11477 };
11578
116
-&lvds1_in_vp1 {
117
- status = "disabled";
118
-};
119
-
120
-&lvds1_in_vp2 {
121
- status = "okay";
122
-};
123
-
124
-/* enable hdmi */
125
-&hdmi_in_vp1 {
126
- status = "okay";
127
-};
128
-
129
-/* enable video phy */
130
-&video_phy0 {
131
- status = "okay";
132
-};
133
-
134
-&video_phy1 {
135
- status = "okay";
136
-};
137
-
138
-/* disable other encoder output */
13979 &dsi0 {
14080 status = "disabled";
14181 };
....@@ -156,10 +96,52 @@
15696 status = "disabled";
15797 };
15898
159
-&rgb_in_vp2 {
99
+&hdmi_in_vp1 {
100
+ status = "okay";
101
+};
102
+
103
+&lvds0 {
104
+ status = "okay";
105
+ dual-channel;
106
+
107
+ ports {
108
+ port@1 {
109
+ reg = <1>;
110
+ lvds0_out_panel: endpoint {
111
+ remote-endpoint = <&panel_in_lvds0>;
112
+ };
113
+ };
114
+ };
115
+};
116
+
117
+&lvds0_in_vp1 {
118
+ status = "okay";
119
+};
120
+
121
+&lvds1 {
122
+ status = "okay";
123
+
124
+ ports {
125
+ port@1 {
126
+ reg = <1>;
127
+ lvds1_out_panel: endpoint {
128
+ remote-endpoint = <&panel_in_lvds1>;
129
+ };
130
+ };
131
+ };
132
+};
133
+
134
+&lvds1_in_vp1 {
135
+ status = "okay";
136
+};
137
+
138
+&lvds1_in_vp2 {
160139 status = "disabled";
161140 };
162141
142
+&rgb_in_vp2 {
143
+ status = "disabled";
144
+};
163145
164146 &vcc3v3_lcd0_n {
165147 gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
....@@ -170,3 +152,11 @@
170152 gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
171153 enable-active-high;
172154 };
155
+
156
+&video_phy0 {
157
+ status = "okay";
158
+};
159
+
160
+&video_phy1 {
161
+ status = "okay";
162
+};