arm64: dts: rk3366-tb: add bt node and enable it
authorhuweiguo <hwg@rock-chips.com>
Mon, 14 Mar 2016 01:14:28 +0000 (09:14 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 16 Mar 2016 06:44:56 +0000 (14:44 +0800)
Change-Id: I2969aed08d0ca822d717c13680af71630bd57699
Signed-off-by: huweiguo <hwg@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3366-tb.dts

index 334cb55874aae46287554af9f3cae0f5a7b2af30..88756d142a8de7b69c5ccb99ccf3e0d861800f68 100644 (file)
                WIFI,host_wake_irq = <&gpio3 20 GPIO_ACTIVE_HIGH>; /* GPIO3_c4 */
                status = "okay";
        };
+
+       wireless-bluetooth {
+               compatible = "bluetooth-platdata";
+               //wifi-bt-power-toggle;
+               uart_rts_gpios = <&gpio3 11 GPIO_ACTIVE_LOW>; /* GPIO3_b3 */
+               pinctrl-names = "default","rts_gpio";
+               pinctrl-0 = <&uart0_rts>;
+               pinctrl-1 = <&uart0_rts_gpio>;
+               //BT,power_gpio  = <&gpio3 19 GPIO_ACTIVE_HIGH>; /* GPIO3_c3 */
+               BT,reset_gpio    = <&gpio3 19 GPIO_ACTIVE_HIGH>; /* GPIO3_c3 */
+               BT,wake_gpio     = <&gpio3 18 GPIO_ACTIVE_HIGH>; /* GPIO3_c2 */
+               BT,wake_host_irq = <&gpio3 21 GPIO_ACTIVE_HIGH>; /* GPIO3_c5 */
+               status = "okay";
+       };
 };
 
 &nandc0 {
        status = "okay";
 };
 
+&uart0 {
+       status = "okay";
+       pinctrl-0 = <&uart0_xfer &uart0_cts>;
+};
+
 &saradc {
        status = "okay";
 };
 };
 
 &pinctrl {
-        pmic {
-                pmic_int_l: pmic-int-l {
-                        rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_up>;
-                };
-        };
+       pmic {
+               pmic_int_l: pmic-int-l {
+                       rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_up>;
+               };
+       };
 
        sdio-pwrseq {
                wifi_enable_h: wifienable-h {
                        rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
                };
        };
+
+       wireless-bluetooth {
+               uart0_rts_gpio: uart0-rts-gpios {
+                       rockchip,pins = <3 11 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+       };
 };
 
 &gmac {