summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZiyuan Xu <xzy.xu@rock-chips.com>2018-03-24 15:36:48 +0800
committerTao Huang <huangtao@rock-chips.com>2018-03-24 17:04:33 +0800
commit35c712358280f784a7dc3b013bd08638d1dc8c3e (patch)
tree74514430dcd09a8220ee4c963e417089d9a28c84
parent0428676935f3df9ede26d141931e29ea21d22b5a (diff)
arm64: dts: rockchip: fixup bluetooth configuration
The clk_rtc_32k is used as crystal input for wifi & bt device on rk3308-evb-v10 board, and it should be always enabled. Reivse the "BT,reset-gpio" to "BT,power-gpio" which the original is not correspond to BT_REG_ON. Change-Id: I210e5386d93fdd3004f483ab877e590f42e7ef83 Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3308-evb-v10.dtsi11
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3308-evb-v10.dtsi b/arch/arm64/boot/dts/rockchip/rk3308-evb-v10.dtsi
index 134d800ea6b9..9b6e672e6301 100644
--- a/arch/arm64/boot/dts/rockchip/rk3308-evb-v10.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3308-evb-v10.dtsi
@@ -163,14 +163,11 @@
wireless-bluetooth {
compatible = "bluetooth-platdata";
- clocks = <&cru SCLK_RTC32K>;
- clock-names = "ext_clock";
uart_rts_gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_LOW>;
pinctrl-names = "default", "rts_gpio";
pinctrl-0 = <&uart4_rts>;
pinctrl-1 = <&uart4_rts_gpio>;
- BT,reset_gpio = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
- BT,wake_gpio = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>;
+ BT,power_gpio = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
BT,wake_host_irq = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>;
status = "okay";
};
@@ -389,6 +386,12 @@
};
};
+&uart4 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart4_xfer &uart4_cts>;
+ status = "okay";
+};
+
&usb20_otg {
status = "okay";
};