arm/dt: msm8974: Add cd-gpio property for external SD card slot
Add cd-gpio property for so that driver can enable hardware
based card detection for external SD card slot on MTP, CDP
and Fluid.
Change-Id: Id5db4c81fadae236c376566dc34cd9bdb1bf21c4
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
diff --git a/arch/arm/boot/dts/msm8974-fluid.dtsi b/arch/arm/boot/dts/msm8974-fluid.dtsi
index dbb8958..d22c746 100644
--- a/arch/arm/boot/dts/msm8974-fluid.dtsi
+++ b/arch/arm/boot/dts/msm8974-fluid.dtsi
@@ -311,6 +311,17 @@
};
&sdhc_2 {
+ #address-cells = <0>;
+ interrupt-parent = <&sdhc_2>;
+ interrupts = <0 1 2>;
+ #interrupt-cells = <1>;
+ interrupt-map-mask = <0xffffffff>;
+ interrupt-map = <0 &intc 0 125 0
+ 1 &intc 0 221 0
+ 2 &msmgpio 62 0x3>;
+ interrupt-names = "hc_irq", "pwr_irq", "status_irq";
+ cd-gpios = <&msmgpio 62 0x1>;
+
vdd-supply = <&pm8941_l21>;
vdd-io-supply = <&pm8941_l13>;