aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorCosmin Stoica <cosminstefan.stoica@freescale.com>2014-03-06 11:40:34 -0500
committerShawn Guo <shawn.guo@freescale.com>2014-04-30 01:35:19 -0400
commit0517fe6aa8803e06b1e5984e79dbc70d29280899 (patch)
tree286e73b4bf979da308516768c2c7498a047801bb /arch
parent707e6906ee361f2385919e24058036f65655fd75 (diff)
ARM: dts: vf610-twr: Add support for sdhc1
The kernel was not able to boot from SD card because sdhc support was not present into the dts. A new entry for sdhc1 was added for vf610-twr board based on the compatible entry present on imx53. After applying these changes, the kernel is able to boot successfully from SD card. Signed-off-by: Cosmin Stoica <cosminstefan.stoica@freescale.com> Signed-off-by: Chircu Bogdan <Bogdan.Chircu@freescale.com> Signed-off-by: Eddy Petrisor <eddy.petrisor@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/vf610-twr.dts19
-rw-r--r--arch/arm/boot/dts/vf610.dtsi11
2 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index ded361075aab..a55f803ef9cb 100644
--- a/arch/arm/boot/dts/vf610-twr.dts
+++ b/arch/arm/boot/dts/vf610-twr.dts
@@ -113,6 +113,13 @@
113 }; 113 };
114}; 114};
115 115
116&esdhc1 {
117 pinctrl-names = "default";
118 pinctrl-0 = <&pinctrl_esdhc1>;
119 bus-width = <4>;
120 status = "okay";
121};
122
116&fec0 { 123&fec0 {
117 phy-mode = "rmii"; 124 phy-mode = "rmii";
118 pinctrl-names = "default"; 125 pinctrl-names = "default";
@@ -160,6 +167,18 @@
160 >; 167 >;
161 }; 168 };
162 169
170 pinctrl_esdhc1: esdhc1grp {
171 fsl,fsl,pins = <
172 VF610_PAD_PTA24__ESDHC1_CLK 0x31ef
173 VF610_PAD_PTA25__ESDHC1_CMD 0x31ef
174 VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef
175 VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef
176 VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef
177 VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef
178 VF610_PAD_PTA7__GPIO_134 0x219d
179 >;
180 };
181
163 pinctrl_fec0: fec0grp { 182 pinctrl_fec0: fec0grp {
164 fsl,pins = < 183 fsl,pins = <
165 VF610_PAD_PTA6__RMII_CLKIN 0x30d1 184 VF610_PAD_PTA6__RMII_CLKIN 0x30d1
diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi
index b8ce0aa7b157..30286bcbe1d0 100644
--- a/arch/arm/boot/dts/vf610.dtsi
+++ b/arch/arm/boot/dts/vf610.dtsi
@@ -347,6 +347,17 @@
347 status = "disabled"; 347 status = "disabled";
348 }; 348 };
349 349
350 esdhc1: esdhc@400b2000 {
351 compatible = "fsl,imx53-esdhc";
352 reg = <0x400b2000 0x4000>;
353 interrupts = <0 28 0x04>;
354 clocks = <&clks VF610_CLK_IPG_BUS>,
355 <&clks VF610_CLK_PLATFORM_BUS>,
356 <&clks VF610_CLK_ESDHC1>;
357 clock-names = "ipg", "ahb", "per";
358 status = "disabled";
359 };
360
350 fec0: ethernet@400d0000 { 361 fec0: ethernet@400d0000 {
351 compatible = "fsl,mvf600-fec"; 362 compatible = "fsl,mvf600-fec";
352 reg = <0x400d0000 0x1000>; 363 reg = <0x400d0000 0x1000>;