ARM64: dts: rk3399: support bluetooth for rk3399-evb
authorxiaoyao <xiaoyao@rock-chips.com>
Wed, 27 Apr 2016 06:00:17 +0000 (14:00 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 4 May 2016 10:51:32 +0000 (18:51 +0800)
Change-Id: Id1eb05cc4cc39d026b6c26f1635760eed38c8968
Signed-off-by: xiaoyao <xiaoyao@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-evb.dtsi

index 8af39d8891e87721ed664b7fea20b15f0d128fcd..bf4bd19822f271c335883552b9d1a46cc89f9e32 100644 (file)
                WIFI,host_wake_irq = <&gpio0 3 GPIO_ACTIVE_HIGH>; /* GPIO0_a3 */
                status = "okay";
        };
+
+       wireless-bluetooth {
+               compatible = "bluetooth-platdata";
+               //wifi-bt-power-toggle;
+               uart_rts_gpios = <&gpio2 19 GPIO_ACTIVE_LOW>; /* GPIO2_C3 */
+               pinctrl-names = "default", "rts_gpio";
+               pinctrl-0 = <&uart0_rts>;
+               pinctrl-1 = <&uart0_gpios>;
+               //BT,power_gpio  = <&gpio3 19 GPIO_ACTIVE_HIGH>; /* GPIOx_xx */
+               BT,reset_gpio    = <&gpio0 9 GPIO_ACTIVE_HIGH>; /* GPIO0_B1 */
+               BT,wake_gpio     = <&gpio2 26 GPIO_ACTIVE_HIGH>; /* GPIO2_D2 */
+               BT,wake_host_irq = <&gpio0 4 GPIO_ACTIVE_HIGH>; /* GPIO0_A4 */
+               status = "okay";
+       };
 };
 
 &sdmmc {
        status = "okay";
 };
 
+&uart0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&uart0_xfer &uart0_cts>;
+       status = "okay";
+};
+
 &uart2 {
        status = "okay";
 };
                };
        };
 
+       wireless-bluetooth {
+               uart0_gpios: uart0-gpios {
+                       rockchip,pins = <2 19 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+       };
+
        pmic {
                pmic_int_l: pmic-int-l {
                        rockchip,pins =