Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Stephen Boyd and committed by
Kumar Gala
55602a09 8c3166f5

+63
+12
arch/arm/boot/dts/qcom-msm8660-surf.dts
··· 14 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
+51
arch/arm/boot/dts/qcom-msm8660.dtsi
··· 2 2 3 3 /include/ "skeleton.dtsi" 4 4 5 + #include <dt-bindings/interrupt-controller/arm-gic.h> 5 6 #include <dt-bindings/clock/qcom,gcc-msm8660.h> 6 7 #include <dt-bindings/soc/qcom,gsbi.h> 7 8 ··· 147 146 }; 148 147 }; 149 148 }; 149 + 150 + /* Temporary fixed regulator */ 151 + vsdcc_fixed: vsdcc-regulator { 152 + compatible = "regulator-fixed"; 153 + regulator-name = "SDCC Power"; 154 + regulator-min-microvolt = <2700000>; 155 + regulator-max-microvolt = <2700000>; 156 + regulator-always-on; 157 + }; 158 + 159 + amba { 160 + compatible = "arm,amba-bus"; 161 + #address-cells = <1>; 162 + #size-cells = <1>; 163 + ranges; 164 + sdcc1: sdcc@12400000 { 165 + status = "disabled"; 166 + compatible = "arm,pl18x", "arm,primecell"; 167 + arm,primecell-periphid = <0x00051180>; 168 + reg = <0x12400000 0x8000>; 169 + interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; 170 + interrupt-names = "cmd_irq"; 171 + clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; 172 + clock-names = "mclk", "apb_pclk"; 173 + bus-width = <8>; 174 + max-frequency = <48000000>; 175 + non-removable; 176 + cap-sd-highspeed; 177 + cap-mmc-highspeed; 178 + vmmc-supply = <&vsdcc_fixed>; 179 + }; 180 + 181 + sdcc3: sdcc@12180000 { 182 + compatible = "arm,pl18x", "arm,primecell"; 183 + arm,primecell-periphid = <0x00051180>; 184 + status = "disabled"; 185 + reg = <0x12180000 0x8000>; 186 + interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 187 + interrupt-names = "cmd_irq"; 188 + clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>; 189 + clock-names = "mclk", "apb_pclk"; 190 + bus-width = <4>; 191 + cap-sd-highspeed; 192 + cap-mmc-highspeed; 193 + max-frequency = <48000000>; 194 + no-1-8-v; 195 + vmmc-supply = <&vsdcc_fixed>; 196 + }; 197 + }; 150 198 }; 199 + 151 200 };