Skip to contentSkip to conversation

ARM: dts: alt: Enable USB support

PATCH In review [email protected] 2 participants 2 messages Mar 30, 2019 – Apr 3, 2019 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: alt: Enable USB support

From: Marek Vasut <[email protected]>

Add nodes enabling internal PCI controllers to which the internal USB controllers are connected, add USB PHY node and pinmux nodes.

Cc Geert Uytterhoeven <[email protected]>
Cc Simon Horman <[email protected]>

To: [email protected]

---
 arch/arm/boot/dts/r8a7794-alt.dts | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
arch/arm/boot/dts/r8a7794-alt.dts +26 -0
index e0500ec81569..0ab3d8d57f6d 100644
@@ -199,6 +199,22 @@
 	};
 };
 
+&pci0 {
+	status = "okay";
+	pinctrl-0 = <&usb0_pins>;
+	pinctrl-names = "default";
+};
+
+&pci1 {
+	status = "okay";
+	pinctrl-0 = <&usb1_pins>;
+	pinctrl-names = "default";
+};
+
+&usbphy {
+	status = "okay";
+};
+
 &du {
 	pinctrl-0 = <&du_pins>;
 	pinctrl-names = "default";
@@ -293,6 +309,16 @@
 		function = "sdhi1";
 		power-source = <1800>;
 	};
+
+	usb0_pins: usb0 {
+		groups = "usb0";
+		function = "usb0";
+	};
+
+	usb1_pins: usb1 {
+		groups = "usb1";
+		function = "usb1";
+	};
 };
 
 &cmt0 {
Signature · 1 line
2.20.1
#1 lore raw
Quoted 5 lines · On Sat, Mar 30, 2019 at 08:08:11AM +0100, [email protected] wrote:

From: Marek Vasut <[email protected]>

Add nodes enabling internal PCI controllers to which the internal USB controllers are connected, add USB PHY node and pinmux nodes.

Quoted 8 lines
Cc Geert Uytterhoeven <[email protected]>
Cc Simon Horman <[email protected]>

To: [email protected]

---
 arch/arm/boot/dts/r8a7794-alt.dts | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Thanks Marek,

applied for v5.2.