From ca811d31594706dca77d43a00b8497664cb2e23e Mon Sep 17 00:00:00 2001 From: Lin Huang Date: Fri, 29 Mar 2019 17:25:41 +0800 Subject: [PATCH] arm64: dts: rockchip: rk1808-evb: set bt-wake-host default to pull none gpio4c2 default status is pull up, when it connect to bt module, that cause this pin default voltage level to 0.8V, it may trigger irq. So set this pin default status to pull none. Change-Id: I48f0e22198f200b05c71b4330602e8f638cf997a Signed-off-by: Lin Huang --- arch/arm64/boot/dts/rockchip/rk1808-evb.dtsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk1808-evb.dtsi b/arch/arm64/boot/dts/rockchip/rk1808-evb.dtsi index 012f621dbbdc..87539e2d7be1 100644 --- a/arch/arm64/boot/dts/rockchip/rk1808-evb.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk1808-evb.dtsi @@ -198,7 +198,7 @@ compatible = "bluetooth-platdata"; uart_rts_gpios = <&gpio4 RK_PB7 GPIO_ACTIVE_LOW>; pinctrl-names = "default", "rts_gpio"; - pinctrl-0 = <&uart4_rts>; + pinctrl-0 = <&uart4_rts &bt_wake_host>; pinctrl-1 = <&uart4_rts_gpio>; BT,power_gpio = <&gpio4 RK_PC3 GPIO_ACTIVE_HIGH>; BT,wake_host_irq = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>; @@ -706,6 +706,11 @@ uart4_rts_gpio: uart4-rts-gpio { rockchip,pins = <4 RK_PB7 0 &pcfg_pull_none>; }; + + bt_wake_host: bt-wake-host { + rockchip,pins = <4 RK_PC2 0 &pcfg_pull_none>; + }; + }; wireless-wlan {