From 5a39ea39b2e3b61213d558c57bb4bbaad4411a1b Mon Sep 17 00:00:00 2001 From: li bing Date: Fri, 18 Jul 2014 10:30:01 +0800 Subject: [PATCH] rk3036 bt: modify the rk6210's bt gpio and config, normal work. --- arch/arm/boot/dts/rk3036-sdk.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/rk3036-sdk.dts b/arch/arm/boot/dts/rk3036-sdk.dts index 314904c85528..375486a21f5d 100755 --- a/arch/arm/boot/dts/rk3036-sdk.dts +++ b/arch/arm/boot/dts/rk3036-sdk.dts @@ -56,6 +56,24 @@ 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>; @@ -70,6 +88,12 @@ }; }; +&uart0{ + status = "okay"; + dma-names = "!tx", "!rx"; + pinctrl-0 = <&uart0_xfer &uart0_cts>; +}; + &nandc { status = "okay"; // used nand set "okay" ,used emmc set "disabled" }; -- 2.34.1