.. | .. |
---|
163 | 163 | vin-supply = <&vcc_1v8_s0>; |
---|
164 | 164 | }; |
---|
165 | 165 | |
---|
| 166 | + vcc3v3_lcd1_n: vcc3v3-lcd1-n { |
---|
| 167 | + compatible = "regulator-fixed"; |
---|
| 168 | + regulator-name = "vcc3v3_lcd1_n"; |
---|
| 169 | + regulator-boot-on; |
---|
| 170 | + regulator-min-microvolt = <3300000>; |
---|
| 171 | + regulator-max-microvolt = <3300000>; |
---|
| 172 | + enable-active-high; |
---|
| 173 | + gpio = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>; |
---|
| 174 | + }; |
---|
| 175 | + |
---|
| 176 | + |
---|
166 | 177 | vcc3v3_pcie30: vcc3v3-pcie30 { |
---|
167 | 178 | compatible = "regulator-fixed"; |
---|
168 | 179 | regulator-name = "vcc3v3_pcie30"; |
---|
.. | .. |
---|
311 | 322 | compatible = "simple-panel"; |
---|
312 | 323 | backlight = <&backlight>; |
---|
313 | 324 | power-supply = <&vcc3v3_lcd_n>; |
---|
314 | | - vcc-5v-gpio = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>; |
---|
315 | | - vddio-mipi = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>; //MIPIDIS_PWR_EN_1V8 |
---|
| 325 | + vcc-5v-gpio = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>; |
---|
316 | 326 | enable-gpios = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>; //LCD_VDD_EN |
---|
317 | 327 | reset-gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_LOW>; //CH7511_RESET_N_1V8 |
---|
318 | 328 | edp-bl-gpios = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>; //LCD_BLK-PWR_EN |
---|
.. | .. |
---|
387 | 397 | status = "okay"; |
---|
388 | 398 | }; |
---|
389 | 399 | |
---|
| 400 | +&backlight1 { |
---|
| 401 | + pwms = <&pwm11 0 25000 0>; |
---|
| 402 | + status = "okay"; |
---|
| 403 | +}; |
---|
| 404 | + |
---|
390 | 405 | &combphy0_ps { |
---|
391 | 406 | status = "okay"; |
---|
392 | 407 | }; |
---|
.. | .. |
---|
432 | 447 | * mipi_dcphy0 needs to be enabled |
---|
433 | 448 | * when dsi0 is enabled |
---|
434 | 449 | */ |
---|
| 450 | +&mipi_dcphy0 { |
---|
| 451 | + status = "okay"; |
---|
| 452 | +}; |
---|
| 453 | + |
---|
435 | 454 | &dsi0 { |
---|
436 | | - status = "disabled"; |
---|
| 455 | + status = "okay"; |
---|
437 | 456 | }; |
---|
438 | 457 | |
---|
439 | 458 | &dsi0_in_vp2 { |
---|
.. | .. |
---|
441 | 460 | }; |
---|
442 | 461 | |
---|
443 | 462 | &dsi0_in_vp3 { |
---|
444 | | - status = "disabled"; |
---|
| 463 | + status = "okay"; |
---|
445 | 464 | }; |
---|
446 | 465 | |
---|
447 | 466 | &dsi0_panel { |
---|
448 | | - power-supply = <&vcc3v3_lcd_n>; |
---|
449 | | - reset-gpios = <&gpio0 RK_PD3 GPIO_ACTIVE_LOW>; |
---|
| 467 | + power-supply = <&vcc3v3_lcd1_n>; //LCD_PWREN_H |
---|
| 468 | + reset-gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_LOW>; //MIPIDIS_RST_GPIO1_A0_d_1V8 |
---|
| 469 | + vddio-mipi = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>; //MIPIDIS_PWR_EN_1V8 |
---|
450 | 470 | pinctrl-names = "default"; |
---|
451 | 471 | pinctrl-0 = <&lcd_rst_gpio>; |
---|
452 | 472 | }; |
---|
.. | .. |
---|
839 | 859 | }; |
---|
840 | 860 | }; |
---|
841 | 861 | |
---|
842 | | -&mipi_dcphy0 { |
---|
843 | | - status = "okay"; |
---|
844 | | -}; |
---|
| 862 | + |
---|
845 | 863 | |
---|
846 | 864 | &mipi_dcphy1 { |
---|
847 | 865 | status = "disabled"; |
---|
.. | .. |
---|
930 | 948 | |
---|
931 | 949 | lcd { |
---|
932 | 950 | lcd_rst_gpio: lcd-rst-gpio { |
---|
933 | | - rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; |
---|
| 951 | + rockchip,pins = <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; |
---|
934 | 952 | }; |
---|
935 | 953 | }; |
---|
936 | 954 | |
---|
.. | .. |
---|
1035 | 1053 | pinctrl-0 = <&pwm10m2_pins>; |
---|
1036 | 1054 | }; |
---|
1037 | 1055 | |
---|
| 1056 | +&pwm11 { |
---|
| 1057 | + status = "okay"; |
---|
| 1058 | + pinctrl-0 = <&pwm11m3_pins>; |
---|
| 1059 | +}; |
---|
| 1060 | + |
---|
1038 | 1061 | &route_hdmi0 { |
---|
1039 | 1062 | status = "okay"; |
---|
1040 | 1063 | }; |
---|