From: Srinivas Kandagatla Date: Thu, 17 Sep 2015 09:02:18 +0000 (+0100) Subject: ARM: dts: ifc6410: HACK add bt reset gpios to pwrseq X-Git-Tag: KARO-TXSD-2017-03-24~88^2~46^2~11 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8087dc4c5810856a014a1b4f6ce893b68a2612e2;p=karo-tx-linux.git ARM: dts: ifc6410: HACK add bt reset gpios to pwrseq This patch adds BT gpios to reset sequence in SDCC4 pwrseq. Ideally BT UART bus should get hold of pwrseq and do the reset, but for now as a hack we let the BT reset done just with SDIO bus. Things will change once the pwrseq is converted in to a proper platform driver and other buses can use it. Signed-off-by: Srinivas Kandagatla --- diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index 4b90df1390b9..f691dc465929 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts @@ -20,9 +20,10 @@ sdcc4_pwrseq: sdcc4_pwrseq { pinctrl-names = "default"; - pinctrl-0 = <&wlan_default_gpios>; + pinctrl-0 = <&wlan_default_gpios &bt_gpios>; compatible = "mmc-pwrseq-simple"; - reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>; + reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>, + <&pm8921_gpio 44 GPIO_ACTIVE_LOW>; }; }; @@ -361,6 +362,15 @@ }; }; + bt_gpios: bt-gpio { + pios { + pins = "gpio44"; + function = "normal"; + bias-disable; + power-source = ; + }; + }; + notify_led: nled { pios { pins = "gpio18";