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 <srinivas.kandagatla@linaro.org>
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>;
};
};
};
};
+ bt_gpios: bt-gpio {
+ pios {
+ pins = "gpio44";
+ function = "normal";
+ bias-disable;
+ power-source = <PM8921_GPIO_S4>;
+ };
+ };
+
notify_led: nled {
pios {
pins = "gpio18";