arm64: dts: qcom: Add msm8916 sdhci configuration nodes
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 4 Jun 2015 09:19:02 +0000 (12:19 +0300)
committerAndy Gross <agross@codeaurora.org>
Tue, 28 Jul 2015 21:19:13 +0000 (16:19 -0500)
Add sdhci1 and sdhci2 device configuration nodes.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
arch/arm64/boot/dts/qcom/msm8916.dtsi

index 6681c6558d970fb7ce2112c48bebe5270ea5e673..9ff0eb47777bd8d609bce3c08816556b2d4e9cdd 100644 (file)
        #address-cells = <2>;
        #size-cells = <2>;
 
-       aliases { };
+       aliases {
+               sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
+               sdhc2 = &sdhc_2; /* SDC2 SD card slot */
+       };
 
        chosen { };
 
                        status = "disabled";
                };
 
+               sdhc_1: sdhci@07824000 {
+                       compatible = "qcom,sdhci-msm-v4";
+                       reg = <0x07824900 0x11c>, <0x07824000 0x800>;
+                       reg-names = "hc_mem", "core_mem";
+
+                       interrupts = <0 123 0>, <0 138 0>;
+                       interrupt-names = "hc_irq", "pwr_irq";
+                       clocks = <&gcc GCC_SDCC1_APPS_CLK>,
+                                <&gcc GCC_SDCC1_AHB_CLK>;
+                       clock-names = "core", "iface";
+                       bus-width = <8>;
+                       non-removable;
+                       status = "disabled";
+               };
+
+               sdhc_2: sdhci@07864000 {
+                       compatible = "qcom,sdhci-msm-v4";
+                       reg = <0x07864900 0x11c>, <0x07864000 0x800>;
+                       reg-names = "hc_mem", "core_mem";
+
+                       interrupts = <0 125 0>, <0 221 0>;
+                       interrupt-names = "hc_irq", "pwr_irq";
+                       clocks = <&gcc GCC_SDCC2_APPS_CLK>,
+                                <&gcc GCC_SDCC2_AHB_CLK>;
+                       clock-names = "core", "iface";
+                       bus-width = <4>;
+                       status = "disabled";
+               };
+
                intc: interrupt-controller@b000000 {
                        compatible = "qcom,msm-qgic2";
                        interrupt-controller;