summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2017-01-22 10:57:20 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2017-02-16 11:58:59 +0100
commita37906e30c94bef3770c8a572a6e33bead5407a2 (patch)
treee7b09531a2a385e411dd3677d6806b2f6f572c20
parent84fa43a6926893ecf208fcb0830031a2701ade7b (diff)
dts: hi6220-hikey: Add mmc power sequence for Bluetooth and WiFiandroid-hikey-linaro-4.9
Add a simple power sequence entry for the mmc in order to have the sdio to be correctly initialized and enabling the WiFi and the Bluetooth. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Conflicts: arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
-rw-r--r--arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts10
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
index d9cb62250d1c..db31e0dc5d6d 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
@@ -345,7 +345,7 @@
non-removable;
/* WL_EN */
vmmc-supply = <&wlan_en_reg>;
-
+ mmc-pwrseq = <&sdio_pwrseq>;
#address-cells = <0x1>;
#size-cells = <0x0>;
wlcore: wlcore@2 {
@@ -435,9 +435,11 @@
pmic: pmic@f8000000 {
compatible = "hisilicon,hi655x-pmic";
reg = <0x0 0xf8000000 0x0 0x1000>;
+ clock-output-names = "hi655x-clk";
interrupt-controller;
#interrupt-cells = <2>;
pmic-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
+ #clock-cells = <0>;
regulators {
ldo2: LDO2 {
@@ -533,6 +535,12 @@
sound-dai = <&adv7533>;
};
};
+
+ sdio_pwrseq: sdio-pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ clocks = <&pmic>;
+ clock-names = "ext_clock";
+ };
};
&uart2 {