]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
arm64: dts: qcom: sdm845: Add SD node
authorEvan Green <evgreen@chromium.org>
Thu, 6 Dec 2018 18:45:21 +0000 (10:45 -0800)
committerAndy Gross <andy.gross@linaro.org>
Mon, 14 Jan 2019 06:14:28 +0000 (00:14 -0600)
Add one of the two SD controllers to SDM845.

Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Evan Green <evgreen@chromium.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/sdm845.dtsi

index c27cbd3bcb0a687b81a4ad67398e602370830d9e..5e5544cb80ab1f0cd379df4aea61a25d67d329fd 100644 (file)
                        };
                };
 
+               sdhc_2: sdhci@8804000 {
+                       compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5";
+                       reg = <0x8804000 0x1000>;
+
+                       interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "hc_irq", "pwr_irq";
+
+                       clocks = <&gcc GCC_SDCC2_AHB_CLK>,
+                                <&gcc GCC_SDCC2_APPS_CLK>;
+                       clock-names = "iface", "core";
+
+                       status = "disabled";
+               };
+
                usb_1_hsphy: phy@88e2000 {
                        compatible = "qcom,sdm845-qusb2-phy";
                        reg = <0x88e2000 0x400>;