Commit 03f00be5 authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Andy Gross

ARM: dts: ifc6410: Add pwrseq support for WLAN

This patch adds pwrseq for WLAN which resets the WLAN just before the
SDIO bus is up.
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: default avatarAndy Gross <agross@codeaurora.org>
parent be87cd0e
#include "qcom-apq8064-v2.0.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
/ {
model = "Qualcomm APQ8064/IFC6410";
......@@ -14,6 +15,17 @@ chosen {
stdout-path = "serial0:115200n8";
};
pwrseq {
compatible = "simple-bus";
sdcc4_pwrseq: sdcc4_pwrseq {
pinctrl-names = "default";
pinctrl-0 = <&wlan_default_gpios>;
compatible = "mmc-pwrseq-simple";
reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
};
};
soc {
pinctrl@800000 {
card_detect: card_detect {
......@@ -207,6 +219,21 @@ usb4: usb@12530000 {
status = "okay";
};
qcom,ssbi@500000 {
pmic@0 {
gpio@150 {
wlan_default_gpios: wlan-gpios {
pios {
pins = "gpio43";
function = "normal";
bias-disable;
power-source = <PM8921_GPIO_S4>;
};
};
};
};
};
amba {
/* eMMC */
sdcc1: sdcc@12400000 {
......@@ -228,6 +255,7 @@ sdcc4: sdcc@121c0000 {
status = "okay";
vmmc-supply = <&ext_3p3v>;
vqmmc-supply = <&pm8921_lvs1>;
mmc-pwrseq = <&sdcc4_pwrseq>;
};
};
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment