diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2014-09-19 19:50:50 -0400 |
---|---|---|
committer | Kumar Gala <galak@codeaurora.org> | 2014-09-22 14:49:41 -0400 |
commit | 55602a09dd7e0cad5f85b0945bfcbac2898540a0 (patch) | |
tree | 2af8c59b89a9678d49c0cf63378ced2987d69a97 /arch/arm/boot/dts/qcom-msm8660.dtsi | |
parent | 8c3166f5d74b7936d29dc44f778e759c1b9fb43a (diff) |
ARM: DT: msm8660: 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>
Diffstat (limited to 'arch/arm/boot/dts/qcom-msm8660.dtsi')
-rw-r--r-- | arch/arm/boot/dts/qcom-msm8660.dtsi | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-msm8660.dtsi b/arch/arm/boot/dts/qcom-msm8660.dtsi index a3fd26b8139f..0affd6193f56 100644 --- a/arch/arm/boot/dts/qcom-msm8660.dtsi +++ b/arch/arm/boot/dts/qcom-msm8660.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-msm8660.h> | 6 | #include <dt-bindings/clock/qcom,gcc-msm8660.h> |
6 | #include <dt-bindings/soc/qcom,gsbi.h> | 7 | #include <dt-bindings/soc/qcom,gsbi.h> |
7 | 8 | ||
@@ -146,5 +147,55 @@ | |||
146 | }; | 147 | }; |
147 | }; | 148 | }; |
148 | }; | 149 | }; |
150 | |||
151 | /* Temporary fixed regulator */ | ||
152 | vsdcc_fixed: vsdcc-regulator { | ||
153 | compatible = "regulator-fixed"; | ||
154 | regulator-name = "SDCC Power"; | ||
155 | regulator-min-microvolt = <2700000>; | ||
156 | regulator-max-microvolt = <2700000>; | ||
157 | regulator-always-on; | ||
158 | }; | ||
159 | |||
160 | amba { | ||
161 | compatible = "arm,amba-bus"; | ||
162 | #address-cells = <1>; | ||
163 | #size-cells = <1>; | ||
164 | ranges; | ||
165 | sdcc1: sdcc@12400000 { | ||
166 | status = "disabled"; | ||
167 | compatible = "arm,pl18x", "arm,primecell"; | ||
168 | arm,primecell-periphid = <0x00051180>; | ||
169 | reg = <0x12400000 0x8000>; | ||
170 | interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; | ||
171 | interrupt-names = "cmd_irq"; | ||
172 | clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; | ||
173 | clock-names = "mclk", "apb_pclk"; | ||
174 | bus-width = <8>; | ||
175 | max-frequency = <48000000>; | ||
176 | non-removable; | ||
177 | cap-sd-highspeed; | ||
178 | cap-mmc-highspeed; | ||
179 | vmmc-supply = <&vsdcc_fixed>; | ||
180 | }; | ||
181 | |||
182 | sdcc3: sdcc@12180000 { | ||
183 | compatible = "arm,pl18x", "arm,primecell"; | ||
184 | arm,primecell-periphid = <0x00051180>; | ||
185 | status = "disabled"; | ||
186 | reg = <0x12180000 0x8000>; | ||
187 | interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; | ||
188 | interrupt-names = "cmd_irq"; | ||
189 | clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>; | ||
190 | clock-names = "mclk", "apb_pclk"; | ||
191 | bus-width = <4>; | ||
192 | cap-sd-highspeed; | ||
193 | cap-mmc-highspeed; | ||
194 | max-frequency = <48000000>; | ||
195 | no-1-8-v; | ||
196 | vmmc-supply = <&vsdcc_fixed>; | ||
197 | }; | ||
198 | }; | ||
149 | }; | 199 | }; |
200 | |||
150 | }; | 201 | }; |