From: huweiguo Date: Mon, 14 Mar 2016 01:14:28 +0000 (+0800) Subject: arm64: dts: rk3366-tb: add bt node and enable it X-Git-Tag: firefly_0821_release~3175 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=baa727d83770079cc36392874e53cf1363ec7d11;p=firefly-linux-kernel-4.4.55.git arm64: dts: rk3366-tb: add bt node and enable it Change-Id: I2969aed08d0ca822d717c13680af71630bd57699 Signed-off-by: huweiguo --- diff --git a/arch/arm64/boot/dts/rockchip/rk3366-tb.dts b/arch/arm64/boot/dts/rockchip/rk3366-tb.dts index 334cb55874aa..88756d142a8d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3366-tb.dts +++ b/arch/arm64/boot/dts/rockchip/rk3366-tb.dts @@ -321,6 +321,20 @@ 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 { @@ -374,6 +388,11 @@ status = "okay"; }; +&uart0 { + status = "okay"; + pinctrl-0 = <&uart0_xfer &uart0_cts>; +}; + &saradc { status = "okay"; }; @@ -726,17 +745,23 @@ }; &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 {