From: Nickey Yang Date: Thu, 4 Aug 2016 09:08:02 +0000 (+0800) Subject: ARM: dts: rk3288: support AP6335 bt for rk3288-evb X-Git-Tag: firefly_0821_release~1989 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=56e8cc23b2102e7ce7f9bc29ef6017f177fe0619;p=firefly-linux-kernel-4.4.55.git ARM: dts: rk3288: support AP6335 bt for rk3288-evb This patch add and enable AP6335 bt node for rk3288-evb Change-Id: I31fcc8017d9cc52f0394affaba00f1c4c5394b3a Signed-off-by: Nickey Yang --- diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi index e5fbc681631f..d37b14c79b53 100644 --- a/arch/arm/boot/dts/rk3288-evb.dtsi +++ b/arch/arm/boot/dts/rk3288-evb.dtsi @@ -243,6 +243,18 @@ wifi-supply = <&vcc_18>; }; + 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>; @@ -384,6 +396,8 @@ }; &uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_xfer &uart0_cts>; status = "okay"; }; @@ -493,6 +507,12 @@ rockchip,pins = <7 4 RK_FUNC_GPIO &pcfg_pull_none>; }; }; + + wireless-bluetooth { + uart0_gpios: uart0-gpios { + rockchip,pins = <4 19 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; }; &usbphy {