ARM: dts: rk3288: support AP6335 bt for rk3288-firefly
authorNickey Yang <nickey.yang@rock-chips.com>
Mon, 8 Aug 2016 10:18:17 +0000 (18:18 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 11 Aug 2016 02:16:27 +0000 (10:16 +0800)
Change-Id: Ib9ea03fe42eecde3bf0292b57a9aa0754f849bf5
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
arch/arm/boot/dts/rk3288-firefly.dtsi

index 3c9f984b83ca826b47b19891569909839acb9880..4e0edd3da78f96c44857a4bbd0dc98c9f76a4f25 100644 (file)
                vin-supply = <&vcc_io>;
        };
 
                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>;
        wireless-wlan {
                compatible = "wlan-platdata";
                rockchip,grf = <&grf>;
                        rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>;
                };
        };
                        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 {
 };
 
 &saradc {
 
 &uart0 {
        pinctrl-names = "default";
 
 &uart0 {
        pinctrl-names = "default";
-       pinctrl-0 = <&uart0_xfer>, <&uart0_cts>, <&uart0_rts>;
+       pinctrl-0 = <&uart0_xfer>, <&uart0_cts>;
        status = "okay";
 };
 
        status = "okay";
 };