ARM: dts: sbc-t3730: add pinmux for usb hub reset
authorDmitry Lifshitz <lifshitz@compulab.co.il>
Sun, 12 Jan 2014 13:22:51 +0000 (15:22 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Feb 2014 22:09:12 +0000 (14:09 -0800)
GPIO167 is used as SB-T35 baseboard USB Hub reset.
Add GPIO167 pinmux.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-sbc-t3730.dts

index 565099cc61c050775042184f9999578e789ed828..08e4a7086f2293c8b0343eeed752b48e477e37a9 100644 (file)
        compatible = "compulab,omap3-sbc-t3730", "compulab,omap3-cm-t3730", "ti,omap36xx", "ti,omap3";
 };
 
+&omap3_pmx_core {
+       pinctrl-names = "default";
+       pinctrl-0 = <&sb_t35_usb_hub_pins>;
+
+       sb_t35_usb_hub_pins: pinmux_sb_t35_usb_hub_pins {
+               pinctrl-single,pins = <
+                       OMAP3_CORE1_IOPAD(0x2130, PIN_OUTPUT | MUX_MODE4) /* ccdc_wen.gpio_167 - SB-T35 USB HUB RST */
+               >;
+       };
+};
+
 &gpmc {
        ranges = <5 0 0x2c000000 0x01000000>,
                 <4 0 0x2d000000 0x01000000>;