From bdea008e0872cb5707c1837d25bce0a835878fd1 Mon Sep 17 00:00:00 2001 From: Alex Zhao Date: Wed, 22 Nov 2017 20:01:19 +0800 Subject: [PATCH] ARM: dts: rockchip: rk3126-bnd-d708: add rtl8703bs bt support Change-Id: I5973eef8b17094527e8b54fbe5d9aff8e113ef4e Signed-off-by: Alex Zhao --- arch/arm/boot/dts/rk3126-bnd-d708.dts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/rk3126-bnd-d708.dts b/arch/arm/boot/dts/rk3126-bnd-d708.dts index aafee453e5d3..98a98bd55580 100644 --- a/arch/arm/boot/dts/rk3126-bnd-d708.dts +++ b/arch/arm/boot/dts/rk3126-bnd-d708.dts @@ -170,6 +170,21 @@ regulator-always-on; }; + wireless-bluetooth { + compatible = "bluetooth-platdata"; + /* wifi-bt-power-toggle; */ + + keep_wifi_power_on = <1>; + uart_rts_gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; /* GPIO1_B3 */ + pinctrl-names = "default","rts_gpio"; + pinctrl-0 = <&uart1_rts>; + pinctrl-1 = <&uart1_rts_gpio>; + BT,reset_gpio = <&gpio2 9 GPIO_ACTIVE_HIGH>; /* GPIO2_B1 */ + BT,wake_gpio = <&gpio0 27 GPIO_ACTIVE_HIGH>; /* GPIO0_D3 */ + BT,wake_host_irq = <&gpio2 21 GPIO_ACTIVE_LOW>; /* GPIO2_C5 */ + status = "okay"; + }; + wireless-wlan { compatible = "wlan-platdata"; @@ -535,6 +550,12 @@ <0 2 RK_FUNC_GPIO &pcfg_pull_default>; }; }; + + wireless-bluetooth { + uart1_rts_gpio: uart1-rts-gpio { + rockchip,pins = <1 11 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; }; &pwm0 { @@ -588,6 +609,12 @@ }; }; +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_xfer &uart1_cts>; + status = "okay"; +}; + &usb_otg { status = "okay"; };