ARM: dts: add SDCC5 to Qualcomm MSM8660
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 17 Jun 2016 20:28:06 +0000 (22:28 +0200)
committerAndy Gross <andy.gross@linaro.org>
Mon, 27 Jun 2016 22:36:56 +0000 (17:36 -0500)
The SDCC5 SD/MMC controller is used for a second uSD slot
on the APQ8060 Dragonboard. On most other systems it is just
dark silicon so define it and leave it as "disabled" in the core
SoC file.

Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/qcom-msm8660.dtsi

index 6a62b62ad980efaf458e1f079ed655f35f2d6c50..a5a38820554acbcee4fcfb7c25be631882ffbd8b 100644 (file)
                                no-1-8-v;
                                vmmc-supply = <&vsdcc_fixed>;
                        };
+
+                       sdcc5: sdcc@12200000 {
+                               compatible      = "arm,pl18x", "arm,primecell";
+                               arm,primecell-periphid = <0x00051180>;
+                               status          = "disabled";
+                               reg             = <0x12200000 0x8000>;
+                               interrupts      = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
+                               interrupt-names = "cmd_irq";
+                               clocks          = <&gcc SDC5_CLK>, <&gcc SDC5_H_CLK>;
+                               clock-names     = "mclk", "apb_pclk";
+                               bus-width       = <4>;
+                               cap-sd-highspeed;
+                               cap-mmc-highspeed;
+                               max-frequency   = <48000000>;
+                               vmmc-supply = <&vsdcc_fixed>;
+                       };
                };
 
                tcsr: syscon@1a400000 {