Skip to content

Commit

Permalink
arm/dts: Mux uart pins for omap4-sdp
Browse files Browse the repository at this point in the history
Mux uart pins for the serial ports.

Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Sep 10, 2012
1 parent 8f31cef commit 26638c6
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions arch/arm/boot/dts/omap4-sdp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,33 @@
};
};

&omap4_pmx_core {
uart2_pins: pinmux_uart2_pins {
pinctrl-single,pins = <
0xd8 0x118 /* uart2_cts.uart2_cts INPUT_PULLUP | MODE0 */
0xda 0 /* uart2_rts.uart2_rts OUTPUT | MODE0 */
0xdc 0x118 /* uart2_rx.uart2_rx INPUT_PULLUP | MODE0 */
0xde 0 /* uart2_tx.uart2_tx OUTPUT | MODE0 */
>;
};

uart3_pins: pinmux_uart3_pins {
pinctrl-single,pins = <
0x100 0x118 /* uart3_cts_rctx.uart3_cts_rctx INPUT_PULLUP | MODE0 */
0x102 0 /* uart3_rts_sd.uart3_rts_sd OUTPUT | MODE0 */
0x104 0x100 /* uart3_rx_irrx.uart3_rx_irrx INPUT | MODE0 */
0x106 0 /* uart3_tx_irtx.uart3_tx_irtx OUTPUT | MODE0 */
>;
};

uart4_pins: pinmux_uart4_pins {
pinctrl-single,pins = <
0x11c 0x100 /* uart4_rx.uart4_rx INPUT | MODE0 */
0x11e 0 /* uart4_tx.uart4_tx OUTPUT | MODE0 */
>;
};
};

&i2c1 {
clock-frequency = <400000>;

Expand Down Expand Up @@ -307,3 +334,18 @@
0x0707006c>; /* KEY_DOWN */
linux,input-no-autorepeat;
};

&uart2 {
pinctrl-names = "default";
pinctrl-0 = <&uart2_pins>;
};

&uart3 {
pinctrl-names = "default";
pinctrl-0 = <&uart3_pins>;
};

&uart4 {
pinctrl-names = "default";
pinctrl-0 = <&uart4_pins>;
};

0 comments on commit 26638c6

Please sign in to comment.