提交 f0b6d950 编写于 作者: S Srinivas Kandagatla 提交者: Andy Gross

ARM: dts: qs600: add pwrseq support to WLAN

Add pwrseq support to sdcc4 which would enable a proper reset of WLAN
without ugly hacks in the board support file.
Signed-off-by: NSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: NIgor Grinberg <grinberg@compulab.co.il>
Signed-off-by: NAndy Gross <agross@codeaurora.org>
上级 03f00be5
#include "qcom-apq8064-v2.0.dtsi" #include "qcom-apq8064-v2.0.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
/ { / {
model = "CompuLab CM-QS600"; model = "CompuLab CM-QS600";
...@@ -12,6 +14,20 @@ ...@@ -12,6 +14,20 @@
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
pwrseq {
#address-cells = <1>;
#size-cells = <1>;
ranges;
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 { soc {
rpm@108000 { rpm@108000 {
regulators { regulators {
...@@ -154,6 +170,21 @@ ...@@ -154,6 +170,21 @@
regulator-always-on; regulator-always-on;
}; };
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 { amba {
/* eMMC */ /* eMMC */
sdcc1: sdcc@12400000 { sdcc1: sdcc@12400000 {
...@@ -172,6 +203,7 @@ ...@@ -172,6 +203,7 @@
status = "okay"; status = "okay";
vmmc-supply = <&v3p3_fixed>; vmmc-supply = <&v3p3_fixed>;
vqmmc-supply = <&v3p3_fixed>; vqmmc-supply = <&v3p3_fixed>;
mmc-pwrseq = <&sdcc4_pwrseq>;
}; };
}; };
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册