diff options
author | Nishanth Menon <nm@ti.com> | 2014-02-14 00:45:49 -0500 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-03-04 11:44:35 -0500 |
commit | a8d6fb5de83bc49f8feccdc34a8663978f74820c (patch) | |
tree | 564550efd7e85e42d7c6df3cc182f1f5644a43b1 /arch/arm/boot/dts/omap3-ldp.dts | |
parent | 59445b10d08144d870d8340ce25634014bf972d5 (diff) |
ARM: dts: omap3-ldp: fix mmc configuration
MMC1 is the only MMC interface available on the platform. Further,
since the platform is based on older revision of SoC which is not
capable of doing multi-block reads, mark it with compatibility for the
same and add pinmux to ensure that all relevant pins are configured
for non-MMC boot mode.
Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'arch/arm/boot/dts/omap3-ldp.dts')
-rw-r--r-- | arch/arm/boot/dts/omap3-ldp.dts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-ldp.dts b/arch/arm/boot/dts/omap3-ldp.dts index ddce0d807f70..0abe986a4ecc 100644 --- a/arch/arm/boot/dts/omap3-ldp.dts +++ b/arch/arm/boot/dts/omap3-ldp.dts | |||
@@ -174,8 +174,20 @@ | |||
174 | }; | 174 | }; |
175 | 175 | ||
176 | &mmc1 { | 176 | &mmc1 { |
177 | /* See 35xx errata 2.1.1.128 in SPRZ278F */ | ||
178 | compatible = "ti,omap3-pre-es3-hsmmc"; | ||
177 | vmmc-supply = <&vmmc1>; | 179 | vmmc-supply = <&vmmc1>; |
178 | bus-width = <4>; | 180 | bus-width = <4>; |
181 | pinctrl-names = "default"; | ||
182 | pinctrl-0 = <&mmc1_pins>; | ||
183 | }; | ||
184 | |||
185 | &mmc2 { | ||
186 | status="disabled"; | ||
187 | }; | ||
188 | |||
189 | &mmc3 { | ||
190 | status="disabled"; | ||
179 | }; | 191 | }; |
180 | 192 | ||
181 | &omap3_pmx_core { | 193 | &omap3_pmx_core { |
@@ -209,6 +221,17 @@ | |||
209 | 0x174 (PIN_OUTPUT | MUX_MODE0) /* hsusb0_stp.hsusb0_stp */ | 221 | 0x174 (PIN_OUTPUT | MUX_MODE0) /* hsusb0_stp.hsusb0_stp */ |
210 | >; | 222 | >; |
211 | }; | 223 | }; |
224 | |||
225 | mmc1_pins: pinmux_mmc1_pins { | ||
226 | pinctrl-single,pins = < | ||
227 | OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.mmc1_clk */ | ||
228 | OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.mmc1_cmd */ | ||
229 | OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.mmc1_dat0 */ | ||
230 | OMAP3_CORE1_IOPAD(0x214A, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.mmc1_dat1 */ | ||
231 | OMAP3_CORE1_IOPAD(0x214C, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.mmc1_dat2 */ | ||
232 | OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.mmc1_dat3 */ | ||
233 | >; | ||
234 | }; | ||
212 | }; | 235 | }; |
213 | 236 | ||
214 | &usb_otg_hs { | 237 | &usb_otg_hs { |