Skip to contentSkip to conversation

ARM: shmobile: Lager DT reference USB pinmux setup

PATCH Superseded Magnus Damm 1 participant 1 message Apr 7, 2014

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 3/5 ARM: shmobile: Lager DT reference USB pinmux setup

From: Magnus Damm <[email protected]>

Configure the pinmux on Lager for USB ports via the default setting. This allows support for USB function on USB0 and USB Host for USB1 and USB2. Not for upstream merge.

Not-yet-Signed-off-by Magnus Damm <[email protected]>

---

 arch/arm/boot/dts/r8a7790-lager.dts |   18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
arch/arm/boot/dts/r8a7790-lager.dts +17 -1
@@ -146,7 +146,8 @@
 };
 
 &pfc {
-	pinctrl-0 = <&du_pins &scif0_pins &scif1_pins>;
+	pinctrl-0 = <&du_pins &scif0_pins &scif1_pins
+		     &usb0_pins &usb1_pins &usb2_pins>;
 	pinctrl-names = "default";
 
 	du_pins: du {
@@ -199,6 +200,21 @@
 				 "msiof1_tx";
 		renesas,function = "msiof1";
 	};
+
+	usb0_pins: usb0 {
+		renesas,groups = "usb0_ovc_vbus";
+		renesas,function = "usb0";
+	};
+
+	usb1_pins: usb1 {
+		renesas,groups = "usb1";
+		renesas,function = "usb1";
+	};
+
+	usb2_pins: usb2 {
+		renesas,groups = "usb2";
+		renesas,function = "usb2";
+	};
 };
 
 &ether {