.. | .. |
---|
17 | 17 | |
---|
18 | 18 | rk_headset: rk-headset { |
---|
19 | 19 | compatible = "rockchip_headset"; |
---|
20 | | - headset_gpio = <&gpio3 RK_PC2 GPIO_ACTIVE_LOW>; |
---|
| 20 | + headset_gpio = <&gpio0 RK_PD5 GPIO_ACTIVE_LOW>; |
---|
21 | 21 | pinctrl-names = "default"; |
---|
22 | 22 | pinctrl-0 = <&hp_det>; |
---|
23 | 23 | }; |
---|
.. | .. |
---|
32 | 32 | vin-supply = <&vcc3v3_sys>; |
---|
33 | 33 | }; |
---|
34 | 34 | |
---|
35 | | - vcc3v3_vga: vcc3v3-vga { |
---|
36 | | - compatible = "regulator-fixed"; |
---|
37 | | - regulator-name = "vcc3v3_vga"; |
---|
38 | | - regulator-always-on; |
---|
39 | | - regulator-boot-on; |
---|
40 | | - gpio = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>; |
---|
41 | | - enable-active-high; |
---|
42 | | - vin-supply = <&vcc3v3_sys>; |
---|
43 | | - }; |
---|
44 | 35 | |
---|
45 | 36 | pcie30_avdd0v9: pcie30-avdd0v9 { |
---|
46 | 37 | compatible = "regulator-fixed"; |
---|
.. | .. |
---|
97 | 88 | |
---|
98 | 89 | nk_io_init { |
---|
99 | 90 | compatible = "nk_io_control"; |
---|
100 | | - usb_en_oc_gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; //USB_EN_OC_GPIO0_A5 |
---|
| 91 | +// usb_en_oc_gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; //USB_EN_OC_GPIO0_A5 |
---|
101 | 92 | lcd_bk_en_gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>; //LCD0_BKLT_EN_3V3 |
---|
102 | 93 | lcd_pwblk_gpio = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; //LCD0_BKLT_EN_3V3 |
---|
103 | 94 | vcc3_io_en_gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; //VCC3_IO_EN_GPIO0_C4_3V3 |
---|
.. | .. |
---|
110 | 101 | reset_4g_gpio = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>; //4G_RST_GPIO01_B2_3V3 |
---|
111 | 102 | air_mode_4g_gpio = <&gpio1 RK_PB0 GPIO_ACTIVE_HIGH>; //4G_AIR_MODE_GPIO01_B0_3V3 |
---|
112 | 103 | wake_4g_gpio = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>; //4G_WAKEUP_GPIO01_B1_3V3 |
---|
113 | | - |
---|
| 104 | + hp_en_gpio = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;//HP_EN_GPIO3_A6_3V3 |
---|
| 105 | + spk_out_gpio = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;//AMP_SD_GPIO4_C2_3V3 |
---|
| 106 | + |
---|
114 | 107 | edp_enable_gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; |
---|
115 | | - edp_gpio0 = <&gpio3 RK_PD2 GPIO_ACTIVE_LOW>; //7511_GPIO0-GPIO3_D2 |
---|
116 | | - edp_gpio1 = <&gpio3 RK_PD3 GPIO_ACTIVE_LOW>; //7511_GPIO1-GPIO3_D3 |
---|
117 | | - edp_gpio2 = <&gpio3 RK_PD4 GPIO_ACTIVE_LOW>; //7511_GPIO2-GPIO3_D4 |
---|
118 | | - edp_gpio3 = <&gpio3 RK_PD5 GPIO_ACTIVE_LOW>; //7511_GPIO3-GPIO3_D5 |
---|
| 108 | + edp_gpio0 = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>; //7511_GPIO0-GPIO3_D2 |
---|
| 109 | + edp_gpio1 = <&gpio3 RK_PD3 GPIO_ACTIVE_HIGH>; //7511_GPIO1-GPIO3_D3 |
---|
| 110 | + edp_gpio2 = <&gpio3 RK_PD4 GPIO_ACTIVE_HIGH>; //7511_GPIO2-GPIO3_D4 |
---|
| 111 | + edp_gpio3 = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>; //7511_GPIO3-GPIO3_D5 |
---|
119 | 112 | edp_reset = <&gpio3 RK_PD1 GPIO_ACTIVE_LOW>; //7511_RST_GPIO3_D1 |
---|
120 | 113 | // tp_reset = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>; |
---|
121 | 114 | // vddio_mipi = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>; |
---|
.. | .. |
---|
434 | 427 | // }; |
---|
435 | 428 | headphone { |
---|
436 | 429 | hp_det: hp-det { |
---|
437 | | - rockchip,pins = <3 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>; |
---|
| 430 | + rockchip,pins = <0 RK_PD5 RK_FUNC_GPIO &pcfg_pull_down>; |
---|
438 | 431 | }; |
---|
439 | 432 | }; |
---|
440 | 433 | |
---|
.. | .. |
---|
451 | 444 | }; |
---|
452 | 445 | nk_io_init{ |
---|
453 | 446 | nk_io_gpio: nk-io-gpio{ |
---|
454 | | - rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>; |
---|
| 447 | + rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 448 | + <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 449 | + <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 450 | + <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 451 | + <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 452 | + <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 453 | + <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 454 | + <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 455 | + <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 456 | + <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 457 | + <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 458 | + <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 459 | + <3 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 460 | + <3 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 461 | + <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 462 | + <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 463 | + <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 464 | + <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; |
---|
455 | 465 | }; |
---|
456 | 466 | }; |
---|
457 | 467 | }; |
---|