rk3036 bt: modify the rk6210's bt gpio and config, normal work.
authorli bing <libing@rock-chips.com>
Fri, 18 Jul 2014 02:30:01 +0000 (10:30 +0800)
committerli bing <libing@rock-chips.com>
Fri, 18 Jul 2014 02:43:14 +0000 (10:43 +0800)
arch/arm/boot/dts/rk3036-sdk.dts

index 314904c85528f2d7e115441048094e3242934498..375486a21f5de1242e7d5bb366cfb28bcbe3b23c 100755 (executable)
                status = "okay";
     };
 
+    wireless-bluetooth {
+        compatible = "bluetooth-platdata";
+
+        //wifi-bt-power-toggle;
+
+       uart_rts_gpios = <&gpio0 GPIO_C2 GPIO_ACTIVE_LOW>;
+        pinctrl-names = "default","rts_gpio";
+        pinctrl-0 = <&uart0_rts>;
+        pinctrl-1 = <&uart0_rts_gpio>;
+
+        //BT,power_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
+        BT,reset_gpio = <&gpio2 GPIO_D5 GPIO_ACTIVE_HIGH>;
+        BT,wake_gpio = <&gpio2 GPIO_C5 GPIO_ACTIVE_HIGH>;
+        BT,wake_host_irq = <&gpio0 GPIO_A0 GPIO_ACTIVE_LOW>;
+
+        status = "okay";
+    };
+    
        usb_control {
                compatible = "rockchip,rk3036-usb-control";
                host_drv_gpio = <&gpio2 GPIO_C7 GPIO_ACTIVE_LOW>;
        };
 };
 
+&uart0{
+       status = "okay";
+       dma-names = "!tx", "!rx";
+       pinctrl-0 = <&uart0_xfer &uart0_cts>;
+};
+
 &nandc {
        status = "okay"; // used nand set "okay" ,used emmc set "disabled"
 };