.. | .. |
---|
38 | 38 | io-channels = <&saradc 3>; |
---|
39 | 39 | io-channel-names = "adc-detect"; |
---|
40 | 40 | keyup-threshold-microvolt = <1800000>; |
---|
41 | | - pinctrl-0 = <&spk_con>; |
---|
| 41 | + //pinctrl-0 = <&spk_con>; |
---|
42 | 42 | pinctrl-names = "default"; |
---|
43 | 43 | //hp-det-gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>; |
---|
44 | 44 | //spk-con-gpio = <&gpio3 RK_PC3 GPIO_ACTIVE_HIGH>; |
---|
.. | .. |
---|
114 | 114 | regulator-max-microvolt = <1800000>; |
---|
115 | 115 | vin-supply = <&avcc_1v8_s0>; |
---|
116 | 116 | }; |
---|
117 | | - |
---|
| 117 | +#if 0 |
---|
118 | 118 | sdio_pwrseq: sdio-pwrseq { |
---|
119 | 119 | compatible = "mmc-pwrseq-simple"; |
---|
120 | 120 | clocks = <&hym8563>; |
---|
.. | .. |
---|
132 | 132 | }; |
---|
133 | 133 | |
---|
134 | 134 | rk_headset: rk-headset { |
---|
135 | | - status = "okay"; |
---|
| 135 | + status = "disabled"; |
---|
136 | 136 | compatible = "rockchip_headset"; |
---|
137 | | - headset_gpio = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>;//HP_DET_L_GPIO3_D5_d_3V3 |
---|
138 | | - spk_ctl_gpio = <&gpio4 RK_PB4 GPIO_ACTIVE_LOW>;//SPK_CTL_GPIO4_B4_u_3V3 |
---|
| 137 | + //headset_gpio = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>;//HP_DET_L_GPIO3_D5_d_3V3 |
---|
| 138 | + //spk_ctl_gpio = <&gpio4 RK_PB4 GPIO_ACTIVE_LOW>;//SPK_CTL_GPIO4_B4_u_3V3 |
---|
139 | 139 | pinctrl-names = "default"; |
---|
140 | 140 | pinctrl-0 = <&hp_det>; |
---|
141 | 141 | io-channels = <&saradc 3>; |
---|
142 | 142 | }; |
---|
143 | | - |
---|
| 143 | +#endif |
---|
144 | 144 | |
---|
145 | 145 | vcc_1v1_nldo_s3: vcc-1v1-nldo-s3 { |
---|
146 | 146 | compatible = "regulator-fixed"; |
---|
.. | .. |
---|
182 | 182 | regulator-min-microvolt = <5000000>; |
---|
183 | 183 | regulator-max-microvolt = <5000000>; |
---|
184 | 184 | enable-active-high; |
---|
185 | | - gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>; |
---|
| 185 | + //gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>; |
---|
186 | 186 | vin-supply = <&vcc5v0_usb>; |
---|
187 | | - pinctrl-names = "default"; |
---|
188 | | - pinctrl-0 = <&vcc5v0_host_en>; |
---|
| 187 | + //pinctrl-names = "default"; |
---|
| 188 | + //pinctrl-0 = <&vcc5v0_host_en>; |
---|
189 | 189 | }; |
---|
190 | 190 | /* |
---|
191 | 191 | vcc_mipicsi0: vcc-mipicsi0-regulator { |
---|
.. | .. |
---|
229 | 229 | clocks = <&hym8563>; |
---|
230 | 230 | clock-names = "ext_clock"; |
---|
231 | 231 | uart_rts_gpios = <&gpio4 RK_PC4 GPIO_ACTIVE_LOW>; //UART9_RTSn_M0_BT |
---|
232 | | - pinctrl-names = "default", "rts_gpio"; |
---|
233 | | - pinctrl-0 = <&uart9m0_rtsn>, <&bt_reset_gpio>; |
---|
234 | | - pinctrl-1 = <&uart9_gpios>; |
---|
235 | | - BT,reset_gpio = <&gpio0 RK_PB2 GPIO_ACTIVE_HIGH>; //BT_DISABLE_GPIO0_B2_u_1V8 |
---|
| 232 | + //pinctrl-names = "default", "rts_gpio"; |
---|
| 233 | + //pinctrl-0 = <&uart9m0_rtsn>, <&bt_reset_gpio>; |
---|
| 234 | + //pinctrl-1 = <&uart9_gpios>; |
---|
| 235 | + //BT,reset_gpio = <&gpio0 RK_PB2 GPIO_ACTIVE_HIGH>; //BT_DISABLE_GPIO0_B2_u_1V8 |
---|
236 | 236 | //BT,wake_gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>;//HOST_WAKE_BT_H |
---|
237 | 237 | //BT,wake_host_irq = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;//BT_WAKE_HOST_H |
---|
238 | 238 | status = "disabled"; |
---|
.. | .. |
---|
656 | 656 | gt1x: gt1x@14 { |
---|
657 | 657 | compatible = "goodix,gt1x"; |
---|
658 | 658 | reg = <0x14>; |
---|
659 | | - pinctrl-names = "default"; |
---|
660 | | - pinctrl-0 = <&touch_gpio>; |
---|
| 659 | + //pinctrl-names = "default"; |
---|
| 660 | + //pinctrl-0 = <&touch_gpio>; |
---|
661 | 661 | goodix,rst-gpio = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>; |
---|
662 | 662 | goodix,irq-gpio = <&gpio3 RK_PC0 IRQ_TYPE_LEVEL_LOW>; |
---|
663 | 663 | power-supply = <&vcc3v3_lcd_n>; |
---|
.. | .. |
---|
899 | 899 | rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_up>; |
---|
900 | 900 | }; |
---|
901 | 901 | }; |
---|
902 | | - |
---|
| 902 | +/* |
---|
903 | 903 | headphone { |
---|
904 | 904 | hp_det: hp-det { |
---|
905 | 905 | rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; |
---|
.. | .. |
---|
909 | 909 | rockchip,pins = <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; |
---|
910 | 910 | }; |
---|
911 | 911 | }; |
---|
912 | | - |
---|
| 912 | +*/ |
---|
913 | 913 | hym8563 { |
---|
914 | 914 | hym8563_int: hym8563-int { |
---|
915 | 915 | rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; |
---|
.. | .. |
---|
927 | 927 | rockchip,pins = <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>; |
---|
928 | 928 | }; |
---|
929 | 929 | }; |
---|
930 | | - |
---|
| 930 | +/* |
---|
931 | 931 | sdio-pwrseq { |
---|
932 | 932 | wifi_enable_h: wifi-enable-h { |
---|
933 | 933 | rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>; |
---|
934 | 934 | }; |
---|
935 | 935 | }; |
---|
936 | | -/* |
---|
| 936 | + |
---|
937 | 937 | sdmmc { |
---|
938 | 938 | sd_s0_pwr: sd-s0-pwr { |
---|
939 | 939 | rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_up>; |
---|
940 | 940 | }; |
---|
941 | 941 | }; |
---|
942 | | -*/ |
---|
| 942 | + |
---|
943 | 943 | touch { |
---|
944 | 944 | touch_gpio: touch-gpio { |
---|
945 | 945 | rockchip,pins = |
---|
.. | .. |
---|
964 | 964 | rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; |
---|
965 | 965 | }; |
---|
966 | 966 | }; |
---|
967 | | -/* |
---|
| 967 | + |
---|
968 | 968 | wireless-wlan { |
---|
969 | 969 | wifi_host_wake_irq: wifi-host-wake-irq { |
---|
970 | 970 | rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_down>; |
---|
.. | .. |
---|
975 | 975 | ndj_io_init{ |
---|
976 | 976 | ndj_io_gpio: ndj_io_gpio_col{ |
---|
977 | 977 | rockchip,pins = |
---|
978 | | - |
---|
979 | | - <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; //SPI4_CS0_M2_1V8 35 |
---|
| 978 | + <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>, //GPIO1_C6_d_1V8 |
---|
| 979 | + <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>, //GPIO0_C6_u_3V3 |
---|
| 980 | + <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>, //GPIO0_D3_u_3V3 |
---|
| 981 | + <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>, //GPIO3_A6_d_3V3 |
---|
| 982 | + <3 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>, //GPIO3_C6_u_3V3 |
---|
| 983 | + <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>, //GPIO3_D5_d_3V3 |
---|
| 984 | + <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>, //GPIO4_B0_d_3V3 |
---|
| 985 | + <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>, //GPIO4_B4_d_3V3 |
---|
| 986 | + <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>, //GPIO4_B5_d_3V3 |
---|
| 987 | + <4 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; //GPIO4_B6_d_3V3 |
---|
| 988 | + |
---|
980 | 989 | }; |
---|
981 | 990 | }; |
---|
982 | 991 | }; |
---|
.. | .. |
---|
1030 | 1039 | cap-sd-highspeed; |
---|
1031 | 1040 | cap-sdio-irq; |
---|
1032 | 1041 | keep-power-in-suspend; |
---|
1033 | | - mmc-pwrseq = <&sdio_pwrseq>; |
---|
| 1042 | + //mmc-pwrseq = <&sdio_pwrseq>; |
---|
1034 | 1043 | non-removable; |
---|
1035 | 1044 | pinctrl-names = "default"; |
---|
1036 | 1045 | pinctrl-0 = <&sdiom0_pins>; |
---|