From 4682123e20defc4e32ebf27b0fda2b9e06fabca2 Mon Sep 17 00:00:00 2001 From: Nickey Yang Date: Mon, 8 Aug 2016 15:07:56 +0800 Subject: [PATCH] ARM: dts: rk3288: support AP6212 bt for rk3288-Fennec This patch add and enable AP6212 bt node for rk3288-Fennec Change-Id: I71b7c3a59cad92c6867d3b9f4bcfb44fe560c39c Signed-off-by: Nickey Yang --- arch/arm/boot/dts/rk3288-fennec.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-fennec.dts b/arch/arm/boot/dts/rk3288-fennec.dts index 610304c45dec..c51a61b7dd84 100644 --- a/arch/arm/boot/dts/rk3288-fennec.dts +++ b/arch/arm/boot/dts/rk3288-fennec.dts @@ -127,6 +127,18 @@ regulator-always-on; }; + 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>; @@ -489,6 +501,18 @@ 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>; + }; + }; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_xfer &uart0_cts>; + status = "okay"; }; &uart2 { -- 2.34.1