diff options
| author | Stephen Boyd <sboyd@codeaurora.org> | 2014-09-19 19:50:51 -0400 |
|---|---|---|
| committer | Kumar Gala <galak@codeaurora.org> | 2014-09-22 14:49:43 -0400 |
| commit | aabff7bfe55afd01d71a5f11d4a84bd873c20f5e (patch) | |
| tree | 5fbc4735d3c9f712b1ab96555095080563dba233 | |
| parent | 55602a09dd7e0cad5f85b0945bfcbac2898540a0 (diff) | |
ARM: DT: msm8960: Add sdcc nodes
Add the sdcc nodes to support the SD card controller using pl180
mmci driver. We also add a temporary fixed regulator until the
regulator driver is mainlined.
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
| -rw-r--r-- | arch/arm/boot/dts/qcom-msm8960-cdp.dts | 12 | ||||
| -rw-r--r-- | arch/arm/boot/dts/qcom-msm8960.dtsi | 50 |
2 files changed, 62 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-msm8960-cdp.dts b/arch/arm/boot/dts/qcom-msm8960-cdp.dts index 8b10812c0cda..7f70fae90959 100644 --- a/arch/arm/boot/dts/qcom-msm8960-cdp.dts +++ b/arch/arm/boot/dts/qcom-msm8960-cdp.dts | |||
| @@ -14,6 +14,18 @@ | |||
| 14 | status = "ok"; | 14 | status = "ok"; |
| 15 | }; | 15 | }; |
| 16 | }; | 16 | }; |
| 17 | |||
| 18 | amba { | ||
| 19 | /* eMMC */ | ||
| 20 | sdcc1: sdcc@12400000 { | ||
| 21 | status = "okay"; | ||
| 22 | }; | ||
| 23 | |||
| 24 | /* External micro SD card */ | ||
| 25 | sdcc3: sdcc@12180000 { | ||
| 26 | status = "okay"; | ||
| 27 | }; | ||
| 28 | }; | ||
| 17 | }; | 29 | }; |
| 18 | }; | 30 | }; |
| 19 | 31 | ||
diff --git a/arch/arm/boot/dts/qcom-msm8960.dtsi b/arch/arm/boot/dts/qcom-msm8960.dtsi index 2f677247744d..e1b0d5cd9e3c 100644 --- a/arch/arm/boot/dts/qcom-msm8960.dtsi +++ b/arch/arm/boot/dts/qcom-msm8960.dtsi | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | /include/ "skeleton.dtsi" | 3 | /include/ "skeleton.dtsi" |
| 4 | 4 | ||
| 5 | #include <dt-bindings/interrupt-controller/arm-gic.h> | ||
| 5 | #include <dt-bindings/clock/qcom,gcc-msm8960.h> | 6 | #include <dt-bindings/clock/qcom,gcc-msm8960.h> |
| 6 | #include <dt-bindings/soc/qcom,gsbi.h> | 7 | #include <dt-bindings/soc/qcom,gsbi.h> |
| 7 | 8 | ||
| @@ -188,5 +189,54 @@ | |||
| 188 | clocks = <&gcc PRNG_CLK>; | 189 | clocks = <&gcc PRNG_CLK>; |
| 189 | clock-names = "core"; | 190 | clock-names = "core"; |
| 190 | }; | 191 | }; |
| 192 | |||
| 193 | /* Temporary fixed regulator */ | ||
| 194 | vsdcc_fixed: vsdcc-regulator { | ||
| 195 | compatible = "regulator-fixed"; | ||
| 196 | regulator-name = "SDCC Power"; | ||
| 197 | regulator-min-microvolt = <2700000>; | ||
| 198 | regulator-max-microvolt = <2700000>; | ||
| 199 | regulator-always-on; | ||
| 200 | }; | ||
| 201 | |||
| 202 | amba { | ||
| 203 | compatible = "arm,amba-bus"; | ||
| 204 | #address-cells = <1>; | ||
| 205 | #size-cells = <1>; | ||
| 206 | ranges; | ||
| 207 | sdcc1: sdcc@12400000 { | ||
| 208 | status = "disabled"; | ||
| 209 | compatible = "arm,pl18x", "arm,primecell"; | ||
| 210 | arm,primecell-periphid = <0x00051180>; | ||
| 211 | reg = <0x12400000 0x8000>; | ||
| 212 | interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; | ||
| 213 | interrupt-names = "cmd_irq"; | ||
| 214 | clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; | ||
| 215 | clock-names = "mclk", "apb_pclk"; | ||
| 216 | bus-width = <8>; | ||
| 217 | max-frequency = <96000000>; | ||
| 218 | non-removable; | ||
| 219 | cap-sd-highspeed; | ||
| 220 | cap-mmc-highspeed; | ||
| 221 | vmmc-supply = <&vsdcc_fixed>; | ||
| 222 | }; | ||
| 223 | |||
| 224 | sdcc3: sdcc@12180000 { | ||
| 225 | compatible = "arm,pl18x", "arm,primecell"; | ||
| 226 | arm,primecell-periphid = <0x00051180>; | ||
| 227 | status = "disabled"; | ||
| 228 | reg = <0x12180000 0x8000>; | ||
| 229 | interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; | ||
| 230 | interrupt-names = "cmd_irq"; | ||
| 231 | clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>; | ||
| 232 | clock-names = "mclk", "apb_pclk"; | ||
| 233 | bus-width = <4>; | ||
| 234 | cap-sd-highspeed; | ||
| 235 | cap-mmc-highspeed; | ||
| 236 | max-frequency = <192000000>; | ||
| 237 | no-1-8-v; | ||
| 238 | vmmc-supply = <&vsdcc_fixed>; | ||
| 239 | }; | ||
| 240 | }; | ||
| 191 | }; | 241 | }; |
| 192 | }; | 242 | }; |
