From 8eab2d84191a6d87b1d68d7aca981352c2e6bea7 Mon Sep 17 00:00:00 2001 From: Nickey Yang Date: Mon, 8 Aug 2016 18:18:17 +0800 Subject: [PATCH] ARM: dts: rk3288: support AP6335 bt for rk3288-firefly Change-Id: Ib9ea03fe42eecde3bf0292b57a9aa0754f849bf5 Signed-off-by: Nickey Yang --- arch/arm/boot/dts/rk3288-firefly.dtsi | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rk3288-firefly.dtsi b/arch/arm/boot/dts/rk3288-firefly.dtsi index 3c9f984b83ca..4e0edd3da78f 100644 --- a/arch/arm/boot/dts/rk3288-firefly.dtsi +++ b/arch/arm/boot/dts/rk3288-firefly.dtsi @@ -218,6 +218,18 @@ vin-supply = <&vcc_io>; }; + wireless-bluetooth { + compatible = "bluetooth-platdata"; + uart_rts_gpios = <&gpio4 19 GPIO_ACTIVE_LOW>; + pinctrl-names = "default", "rts_gpio"; + pinctrl-0 = <&uart0_rts>; + pinctrl-1 = <&uart0_gpios>; + BT,reset_gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>; + BT,wake_gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>; + BT,wake_host_irq = <&gpio4 31 GPIO_ACTIVE_HIGH>; + status = "okay"; + }; + wireless-wlan { compatible = "wlan-platdata"; rockchip,grf = <&grf>; @@ -507,6 +519,12 @@ rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>; }; }; + + wireless-bluetooth { + uart0_gpios: uart0-gpios { + rockchip,pins = <4 19 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; }; &saradc { @@ -564,7 +582,7 @@ &uart0 { pinctrl-names = "default"; - pinctrl-0 = <&uart0_xfer>, <&uart0_cts>, <&uart0_rts>; + pinctrl-0 = <&uart0_xfer>, <&uart0_cts>; status = "okay"; }; -- 2.34.1