| .. | .. |
|---|
| 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 { |
|---|
| .. | .. |
|---|
| 359 | 366 | phy-mode = "rgmii"; |
|---|
| 360 | 367 | clock_in_out = "output"; |
|---|
| 361 | 368 | |
|---|
| 362 | | - snps,reset-gpio = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>; |
|---|
| 369 | + snps,reset-gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>; |
|---|
| 363 | 370 | snps,reset-active-low; |
|---|
| 364 | 371 | /* Reset time is 20ms, 100ms for rtl8211f */ |
|---|
| 365 | 372 | snps,reset-delays-us = <0 20000 100000>; |
|---|
| .. | .. |
|---|
| 379 | 386 | rx_delay = <0x2f>; |
|---|
| 380 | 387 | |
|---|
| 381 | 388 | phy-handle = <&rgmii_phy0>; |
|---|
| 382 | | - status = "disabled"; |
|---|
| 389 | + status = "okay"; |
|---|
| 383 | 390 | }; |
|---|
| 384 | 391 | |
|---|
| 385 | 392 | &gmac1 { |
|---|
| .. | .. |
|---|
| 516 | 523 | }; |
|---|
| 517 | 524 | |
|---|
| 518 | 525 | &video_phy0 { |
|---|
| 519 | | - status = "disabled"; |
|---|
| 526 | + status = "okay"; |
|---|
| 520 | 527 | }; |
|---|
| 521 | 528 | |
|---|
| 522 | 529 | &video_phy1 { |
|---|
| .. | .. |
|---|
| 550 | 557 | wireless-wlan { |
|---|
| 551 | 558 | wifi_host_wake_irq: wifi-host-wake-irq { |
|---|
| 552 | 559 | rockchip,pins = <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_down>; |
|---|
| 553 | | - }; |
|---|
| 554 | | - }; |
|---|
| 555 | | - |
|---|
| 556 | | - wireless-bluetooth { |
|---|
| 557 | | - uart1_gpios: uart1-gpios { |
|---|
| 558 | | - rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; |
|---|
| 559 | 560 | }; |
|---|
| 560 | 561 | }; |
|---|
| 561 | 562 | |
|---|
| .. | .. |
|---|
| 620 | 621 | |
|---|
| 621 | 622 | |
|---|
| 622 | 623 | &route_edp { |
|---|
| 623 | | - status = "okay"; |
|---|
| 624 | + status = "disabled"; |
|---|
| 624 | 625 | connect = <&vp1_out_edp>; |
|---|
| 625 | 626 | }; |
|---|
| 626 | 627 | |
|---|
| .. | .. |
|---|
| 674 | 675 | |
|---|
| 675 | 676 | &wireless_bluetooth { |
|---|
| 676 | 677 | compatible = "bluetooth-platdata"; |
|---|
| 677 | | - clocks = <&rk809 1>; |
|---|
| 678 | | - clock-names = "ext_clock"; |
|---|
| 679 | | - //wifi-bt-power-toggle; |
|---|
| 680 | | - uart_rts_gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>; |
|---|
| 681 | | - pinctrl-names = "default", "rts_gpio"; |
|---|
| 682 | | - pinctrl-0 = <&uart1m0_rtsn>; |
|---|
| 683 | | - pinctrl-1 = <&uart1_gpios>; |
|---|
| 684 | | - BT,reset_gpio = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>; |
|---|
| 685 | | - BT,wake_gpio = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>; |
|---|
| 686 | | - BT,wake_host_irq = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>; |
|---|
| 687 | | - status = "okay"; |
|---|
| 678 | + status = "disabled"; |
|---|
| 688 | 679 | }; |
|---|
| 689 | 680 | |
|---|
| 690 | 681 | &uart0 { |
|---|
| .. | .. |
|---|
| 694 | 685 | &uart1 { |
|---|
| 695 | 686 | pinctrl-names = "default"; |
|---|
| 696 | 687 | pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>; |
|---|
| 697 | | - status = "okay"; |
|---|
| 688 | + status = "disabled"; |
|---|
| 698 | 689 | }; |
|---|
| 699 | 690 | |
|---|
| 700 | 691 | &uart3 { |
|---|