All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx6qdl-udoo: Add Pincfgs for OTG
@ 2019-04-06 16:00 ` Markus Kueffner
  0 siblings, 0 replies; 17+ messages in thread
From: Markus Kueffner @ 2019-04-06 16:00 UTC (permalink / raw)
  Cc: Markus Kueffner, Rob Herring, Mark Rutland, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, devicetree, linux-arm-kernel, linux-kernel

Add Pincfgs to enable the i.MX6's OTG feature for UDOO

Signed-off-by: Markus Kueffner <kueffner.markus@gmail.com>
---
 arch/arm/boot/dts/imx6qdl-udoo.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi
index 776bfc7..42954ee 100644
--- a/arch/arm/boot/dts/imx6qdl-udoo.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-udoo.dtsi
@@ -221,6 +221,14 @@
 			>;
 		};
 
+		pinctrl_usbotg: usbotg {
+			fsl,pins = <
+				MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
+				MX6QDL_PAD_EIM_D22__USB_OTG_PWR 0x17059
+				MX6QDL_PAD_EIM_D21__USB_OTG_OC 0x17059
+			>;
+		};
+
 		pinctrl_ac97_running: ac97running {
 			fsl,pins = <
 				MX6QDL_PAD_DI0_PIN2__AUD6_TXD		0x1b0b0
@@ -294,6 +302,14 @@
 	status = "okay";
 };
 
+&usbotg {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_usbotg>;
+	fsl,power-line-polarity-active-high;
+	fsl,over-current-polarity-active-low;
+	status = "okay";
+};
+
 &audmux {
 	status = "okay";
 };
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2019-09-24 23:10 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-06 16:00 [PATCH] ARM: dts: imx6qdl-udoo: Add Pincfgs for OTG Markus Kueffner
2019-04-06 16:00 ` Markus Kueffner
2019-04-06 16:00 ` Markus Kueffner
2019-04-11  6:54 ` Shawn Guo
2019-04-11  6:54   ` Shawn Guo
2019-04-13 13:19   ` [PATCH v2] " Markus Kueffner
2019-04-13 13:19     ` Markus Kueffner
2019-04-13 13:19     ` Markus Kueffner
2019-04-13 14:08     ` Fabio Estevam
2019-04-13 14:08       ` Fabio Estevam
2019-04-13 14:08       ` Fabio Estevam
2019-04-15  9:11     ` Shawn Guo
2019-04-15  9:11       ` Shawn Guo
2019-09-16 13:06       ` Markus Kueffner
2019-09-16 13:06         ` Markus Kueffner
2019-09-24 23:09         ` Shawn Guo
2019-09-24 23:09           ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.