Skip to content

Commit 8bc2995

Browse files
committed
Edge: add bluetooth support
1 parent a6d4cef commit 8bc2995

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

arch/arm64/boot/dts/rockchip/rk3399-kedge.dtsi

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -239,19 +239,17 @@
239239
};
240240

241241
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";
255253
};
256254

257255
vcc3v3_sys: vcc3v3-sys {
@@ -907,6 +905,12 @@
907905
};
908906
};
909907

908+
&uart0 {
909+
pinctrl-names = "default";
910+
pinctrl-0 = <&uart0_xfer &uart0_cts>;
911+
status = "okay";
912+
};
913+
910914
&uart2 {
911915
status = "okay";
912916
};
@@ -1088,7 +1092,7 @@
10881092
wireless-bluetooth {
10891093
uart0_gpios: uart0-gpios {
10901094
rockchip,pins =
1091-
<2 19 RK_FUNC_GPIO &pcfg_pull_none>;
1095+
<2 27 RK_FUNC_GPIO &pcfg_pull_none>; /* GPIO2_D3 */
10921096
};
10931097
};
10941098
};

0 commit comments

Comments
 (0)