[PATCH] ARM: dts: Fix n8x0 tusb6010 dmareq pin muxing

From: Tony Lindgren
Date: Thu May 04 2017 - 12:35:32 EST


Looks like I forgot to add the device tree pin multiplexing for
tusb6010 on n8x0 when removing legacy platform code. Although the
bootloader sets the pins on n8x0, this may be needed on some n8x0
depending on the bootloader version.

Fixes: 602105ed740d ("ARM: OMAP2+: Remove legacy muxing
for usb-tusb6010.c")
Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>
---
arch/arm/boot/dts/omap2420-n8x0-common.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/omap2420-n8x0-common.dtsi b/arch/arm/boot/dts/omap2420-n8x0-common.dtsi
--- a/arch/arm/boot/dts/omap2420-n8x0-common.dtsi
+++ b/arch/arm/boot/dts/omap2420-n8x0-common.dtsi
@@ -103,3 +103,19 @@
};
};
};
+
+&omap2420_pmx {
+ pinctrl-0 = <&tusb6010_dmareq_pins>;
+ pinctrl-names = "default";
+
+ tusb6010_dmareq_pins: pinmux_tusb6010_dmareq_pins {
+ pinctrl-single,pins = <
+ OMAP2420_CORE_IOPAD(0x0071, PIN_INPUT | MUX_MODE2) /* gpmc_10.sys_ndmareq5 */
+ OMAP2420_CORE_IOPAD(0x0072, PIN_INPUT | MUX_MODE2) /* gpmc_9.sys_ndmareq4 */
+ OMAP2420_CORE_IOPAD(0x0073, PIN_INPUT | MUX_MODE2) /* gpmc_8.sys_ndmareq3 */
+ OMAP2420_CORE_IOPAD(0x0074, PIN_INPUT | MUX_MODE2) /* gpmc_7.sys_ndmareq1 */
+ OMAP2420_CORE_IOPAD(0x00e5, PIN_INPUT | MUX_MODE2) /* vlynq_clk.sys_ndmareq0 */
+ OMAP2420_CORE_IOPAD(0x00e6, PIN_INPUT | MUX_MODE2) /* vlynq_rx1.sys_ndmareq1 */
+ >;
+ };
+};
--
2.12.2