|
239 | 239 | };
|
240 | 240 |
|
241 | 241 | wireless-bluetooth {
|
242 |
| - compatible = "bluetooth-platdata"; |
243 |
| - clocks = <&rk808 1>; |
244 |
| - clock-names = "ext_clock"; |
245 |
| - //wifi-bt-power-toggle; |
246 |
| - uart_rts_gpios = <&gpio2 19 GPIO_ACTIVE_LOW>; /* GPIO2_C3 */ |
247 |
| - pinctrl-names = "default", "rts_gpio"; |
248 |
| - pinctrl-0 = <&uart0_rts>; |
249 |
| - pinctrl-1 = <&uart0_gpios>; |
250 |
| - //BT,power_gpio = <&gpio3 19 GPIO_ACTIVE_HIGH>; /* GPIOx_xx */ |
251 |
| - BT,reset_gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>; /* GPIO0_B1 */ |
252 |
| - BT,wake_gpio = <&gpio2 26 GPIO_ACTIVE_HIGH>; /* GPIO2_D2 */ |
253 |
| - BT,wake_host_irq = <&gpio0 4 GPIO_ACTIVE_HIGH>; /* GPIO0_A4 */ |
254 |
| - status = "okay"; |
| 242 | + compatible = "bluetooth-platdata"; |
| 243 | + //wifi-bt-power-toggle; |
| 244 | + uart_rts_gpios = <&gpio2 19 GPIO_ACTIVE_LOW>; /* GPIO2_C3 */ |
| 245 | + pinctrl-names = "default", "rts_gpio"; |
| 246 | + pinctrl-0 = <&uart0_rts>; |
| 247 | + pinctrl-1 = <&uart0_gpios>; |
| 248 | + //BT,power_gpio = <&gpio3 19 GPIO_ACTIVE_HIGH>; /* GPIOx_xx */ |
| 249 | + BT,reset_gpio = <&gpio2 27 GPIO_ACTIVE_HIGH>; /* GPIO2_D3 */ |
| 250 | + BT,wake_gpio = <&gpio2 26 GPIO_ACTIVE_HIGH>; /* GPIO2_D2 */ |
| 251 | + BT,wake_host_irq = <&gpio0 4 GPIO_ACTIVE_HIGH>; /* GPIO0_A4 */ |
| 252 | + status = "okay"; |
255 | 253 | };
|
256 | 254 |
|
257 | 255 | vcc3v3_sys: vcc3v3-sys {
|
|
907 | 905 | };
|
908 | 906 | };
|
909 | 907 |
|
| 908 | +&uart0 { |
| 909 | + pinctrl-names = "default"; |
| 910 | + pinctrl-0 = <&uart0_xfer &uart0_cts>; |
| 911 | + status = "okay"; |
| 912 | +}; |
| 913 | + |
910 | 914 | &uart2 {
|
911 | 915 | status = "okay";
|
912 | 916 | };
|
|
1088 | 1092 | wireless-bluetooth {
|
1089 | 1093 | uart0_gpios: uart0-gpios {
|
1090 | 1094 | rockchip,pins =
|
1091 |
| - <2 19 RK_FUNC_GPIO &pcfg_pull_none>; |
| 1095 | + <2 27 RK_FUNC_GPIO &pcfg_pull_none>; /* GPIO2_D3 */ |
1092 | 1096 | };
|
1093 | 1097 | };
|
1094 | 1098 | };
|
0 commit comments