Skip to content

Commit

Permalink
ARM: dts: Configure and fix the McSPI pins for 4430sdp
Browse files Browse the repository at this point in the history
The bootloader configures the pins, but has pull bits
set without pull enable bits. While this is harmless,
and won't do anything, it seems to cause confusion at
least for me every time looking at the pin configuration.
Fix it for DT based boot.

Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed May 9, 2013
1 parent e45879e commit d5a2b34
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/arm/boot/dts/omap4-sdp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,15 @@
>;
};

mcspi1_pins: pinmux_mcspi1_pins {
pinctrl-single,pins = <
0xf2 0x100 /* mcspi1_clk.mcspi1_clk INPUT | MODE0 */
0xf4 0x100 /* mcspi1_somi.mcspi1_somi INPUT | MODE0 */
0xf6 0x100 /* mcspi1_simo.mcspi1_simo INPUT | MODE0 */
0xf8 0x100 /* mcspi1_cs0.mcspi1_cs0 INPUT | MODE0*/
>;
};

dss_hdmi_pins: pinmux_dss_hdmi_pins {
pinctrl-single,pins = <
0x5a 0x118 /* hdmi_cec.hdmi_cec INPUT PULLUP | MODE 0 */
Expand Down Expand Up @@ -358,6 +367,9 @@
};

&mcspi1 {
pinctrl-names = "default";
pinctrl-0 = <&mcspi1_pins>;

eth@0 {
compatible = "ks8851";
spi-max-frequency = <24000000>;
Expand Down

0 comments on commit d5a2b34

Please sign in to comment.