.. | .. |
---|
191 | 191 | panel: panel { |
---|
192 | 192 | compatible = "simple-panel"; |
---|
193 | 193 | backlight = <&backlight>; |
---|
194 | | - power-supply = <&vcc3v3_lcd0_n>; |
---|
195 | | - enable-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>; //LCD0_VDD_H_GPIO2_D4 |
---|
196 | | - reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_LOW>; //7511_RST_GPIO3_D1 |
---|
197 | | - edp-bl-gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; //LCD0_BKLT_EN_3V3 |
---|
| 194 | + power-supply = <&vcc3v3_lcd1_n>; |
---|
| 195 | + enable-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>; //LCD0_VDD_H_GPIO2_D4 |
---|
| 196 | + edp-bl-gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; //LCD0_PWBLK_H_GPIO0_B7 |
---|
198 | 197 | edp-bl-en = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>; //LCD0_BKLT_EN_3V3 |
---|
199 | 198 | bus-format = <MEDIA_BUS_FMT_RGB888_1X24>; |
---|
200 | 199 | bpc = <8>; |
---|
201 | 200 | prepare-delay-ms = <200>; |
---|
202 | 201 | enable-delay-ms = <20>; |
---|
203 | | - lvds-gpio0 = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>; //7511_GPIO0-GPIO3_D2 |
---|
204 | | - lvds-gpio1 = <&gpio3 RK_PD3 GPIO_ACTIVE_HIGH>; //7511_GPIO1-GPIO3_D3 |
---|
205 | | - lvds-gpio2 = <&gpio3 RK_PD4 GPIO_ACTIVE_HIGH>; //7511_GPIO2-GPIO3_D4 |
---|
206 | | - lvds-gpio3 = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>; //7511_GPIO3-GPIO3_D5 |
---|
207 | | - nodka-lvds = <15>; |
---|
208 | 202 | |
---|
209 | 203 | display-timings { |
---|
210 | | - native-mode = <&timing0>; |
---|
211 | | - timing0: timing0 { |
---|
| 204 | + native-mode = <&timing>; |
---|
| 205 | + timing: timing { |
---|
212 | 206 | clock-frequency = <72500000>; |
---|
213 | 207 | hactive = <1280>; |
---|
214 | 208 | vactive = <800>; |
---|
.. | .. |
---|
225 | 219 | }; |
---|
226 | 220 | }; |
---|
227 | 221 | ports { |
---|
228 | | - panel_in: endpoint { |
---|
229 | | - remote-endpoint = <&edp_out>; |
---|
| 222 | + panel_in_lvds: endpoint { |
---|
| 223 | + remote-endpoint = <&lvds_out>; |
---|
230 | 224 | }; |
---|
231 | 225 | }; |
---|
232 | 226 | }; |
---|
.. | .. |
---|
331 | 325 | &edp { |
---|
332 | 326 | //hpd-gpios = <&gpio0 RK_PC2 GPIO_ACTIVE_HIGH>; |
---|
333 | 327 | force-hpd; |
---|
| 328 | + status = "disabled"; |
---|
| 329 | +}; |
---|
| 330 | + |
---|
| 331 | +&lvds { |
---|
334 | 332 | status = "okay"; |
---|
335 | 333 | ports { |
---|
336 | 334 | port@1 { |
---|
337 | 335 | reg = <1>; |
---|
338 | | - edp_out: endpoint { |
---|
339 | | - remote-endpoint = <&panel_in>; |
---|
| 336 | + lvds_out: endpoint { |
---|
| 337 | + remote-endpoint = <&panel_in_lvds>; |
---|
340 | 338 | }; |
---|
341 | 339 | }; |
---|
342 | 340 | |
---|
343 | 341 | }; |
---|
| 342 | +}; |
---|
| 343 | + |
---|
| 344 | +&route_lvds{ |
---|
| 345 | + status = "okay"; |
---|
| 346 | + connect = <&vp2_out_lvds>; |
---|
| 347 | +}; |
---|
| 348 | + |
---|
| 349 | +&lvds_in_vp2 { |
---|
| 350 | + status = "okay"; |
---|
344 | 351 | }; |
---|
345 | 352 | |
---|
346 | 353 | &edp_phy { |
---|
.. | .. |
---|
516 | 523 | }; |
---|
517 | 524 | |
---|
518 | 525 | &video_phy0 { |
---|
519 | | - status = "disabled"; |
---|
| 526 | + status = "okay"; |
---|
520 | 527 | }; |
---|
521 | 528 | |
---|
522 | 529 | &video_phy1 { |
---|
.. | .. |
---|
614 | 621 | |
---|
615 | 622 | |
---|
616 | 623 | &route_edp { |
---|
617 | | - status = "okay"; |
---|
| 624 | + status = "disabled"; |
---|
618 | 625 | connect = <&vp1_out_edp>; |
---|
619 | 626 | }; |
---|
620 | 627 | |
---|