similarity index 71%copy from kernel/arch/arm64/boot/dts/rockchip/rk3567-evb2-lp4x-v10-dual-lvds.dtscopy to kernel/arch/arm64/boot/dts/rockchip/rk3567-evb2-lp4x-v10-single-channel-lvds.dts.. | .. |
---|
13 | 13 | #include "rk3568-android.dtsi" |
---|
14 | 14 | |
---|
15 | 15 | / { |
---|
16 | | - model = "Rockchip RK3567 EVB2 LP4X V10 Board"; |
---|
17 | | - compatible = "rockchip,rk3567-evb2-lp4x-v10", "rockchip,rk3567"; |
---|
| 16 | + model = "Rockchip RK3567 EVB2 LP4X V10 Board with single channel lvds"; |
---|
| 17 | + compatible = "rockchip,rk3567-evb2-lp4x-v10-single-channel-lvds", "rockchip,rk3567"; |
---|
18 | 18 | |
---|
| 19 | + /* panel: claa070wp03xg */ |
---|
19 | 20 | panel { |
---|
20 | 21 | compatible = "simple-panel"; |
---|
21 | 22 | backlight = <&backlight>; |
---|
.. | .. |
---|
30 | 31 | |
---|
31 | 32 | display-timings { |
---|
32 | 33 | native-mode = <&timing0>; |
---|
33 | | - |
---|
34 | 34 | timing0: timing0 { |
---|
35 | | - clock-frequency = <134000000>; |
---|
36 | | - hactive = <1600>; |
---|
| 35 | + clock-frequency = <67000000>; |
---|
| 36 | + hactive = <800>; |
---|
37 | 37 | vactive = <1280>; |
---|
38 | 38 | hback-porch = <60>; |
---|
39 | 39 | hfront-porch = <60>; |
---|
40 | 40 | vback-porch = <4>; |
---|
41 | 41 | vfront-porch = <2>; |
---|
42 | 42 | hsync-len = <8>; |
---|
43 | | - vsync-len = <2>; |
---|
| 43 | + vsync-len = <8>; |
---|
44 | 44 | hsync-active = <0>; |
---|
45 | 45 | vsync-active = <0>; |
---|
46 | 46 | de-active = <0>; |
---|
.. | .. |
---|
51 | 51 | ports { |
---|
52 | 52 | #address-cells = <1>; |
---|
53 | 53 | #size-cells = <0>; |
---|
54 | | - |
---|
55 | | - /** |
---|
56 | | - * Panel <----> LVDS0 |
---|
57 | | - * Panel <----> LVDS1 |
---|
58 | | - */ |
---|
59 | 54 | port@0 { |
---|
60 | 55 | reg = <0>; |
---|
61 | | - dual-lvds-left-pixels; |
---|
62 | 56 | panel_in_lvds0: endpoint { |
---|
63 | 57 | remote-endpoint = <&lvds0_out_panel>; |
---|
64 | 58 | }; |
---|
65 | 59 | }; |
---|
66 | | - port@1 { |
---|
67 | | - reg = <1>; |
---|
68 | | - dual-lvds-right-pixels; |
---|
69 | | - panel_in_lvds1: endpoint { |
---|
70 | | - remote-endpoint = <&lvds1_out_panel>; |
---|
71 | | - }; |
---|
72 | | - }; |
---|
73 | 60 | }; |
---|
74 | 61 | }; |
---|
75 | | -}; |
---|
76 | | - |
---|
77 | | -&backlight1 { |
---|
78 | | - status = "okay"; |
---|
79 | 62 | }; |
---|
80 | 63 | |
---|
81 | 64 | &backlight { |
---|
82 | 65 | status = "okay"; |
---|
83 | 66 | }; |
---|
84 | 67 | |
---|
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 { |
---|
| 68 | +&backlight1 { |
---|
113 | 69 | status = "okay"; |
---|
114 | 70 | }; |
---|
115 | 71 | |
---|
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 */ |
---|
139 | 72 | &dsi0 { |
---|
140 | 73 | status = "disabled"; |
---|
141 | 74 | }; |
---|
.. | .. |
---|
156 | 89 | status = "disabled"; |
---|
157 | 90 | }; |
---|
158 | 91 | |
---|
159 | | -&rgb_in_vp2 { |
---|
| 92 | +&hdmi_in_vp1 { |
---|
| 93 | + status = "okay"; |
---|
| 94 | +}; |
---|
| 95 | + |
---|
| 96 | +&lvds0 { |
---|
| 97 | + status = "okay"; |
---|
| 98 | + ports { |
---|
| 99 | + port@1 { |
---|
| 100 | + reg = <1>; |
---|
| 101 | + lvds0_out_panel: endpoint { |
---|
| 102 | + remote-endpoint = <&panel_in_lvds0>; |
---|
| 103 | + }; |
---|
| 104 | + }; |
---|
| 105 | + }; |
---|
| 106 | +}; |
---|
| 107 | + |
---|
| 108 | +&lvds0_in_vp1 { |
---|
| 109 | + status = "okay"; |
---|
| 110 | +}; |
---|
| 111 | + |
---|
| 112 | +&lvds1 { |
---|
160 | 113 | status = "disabled"; |
---|
161 | 114 | }; |
---|
162 | 115 | |
---|
| 116 | +&rgb_in_vp2 { |
---|
| 117 | + status = "disabled"; |
---|
| 118 | +}; |
---|
163 | 119 | |
---|
164 | 120 | &vcc3v3_lcd0_n { |
---|
165 | 121 | gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>; |
---|
.. | .. |
---|
170 | 126 | gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; |
---|
171 | 127 | enable-active-high; |
---|
172 | 128 | }; |
---|
| 129 | + |
---|
| 130 | +&video_phy0 { |
---|
| 131 | + status = "okay"; |
---|
| 132 | +}; |
---|
| 133 | + |
---|
| 134 | +&video_phy1 { |
---|
| 135 | + status = "okay"; |
---|
| 136 | +}; |
---|