Commit be162852 authored by Michael Walle's avatar Michael Walle Committed by Claudiu Beznea
Browse files

ARM: dts: kswitch-d10: enable the USB device port



Now that there is driver support for the USB device, enable it.

Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Signed-off-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220707132500.1708020-2-michael@walle.cc
parent 4dd1a613
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -76,6 +76,12 @@ usart0_pins: usart0-pins {
		pins = "GPIO_25", "GPIO_26";
		function = "fc0_b";
	};

	usbs_a_pins: usbs-a-pins {
		/* VBUS_DET */
		pins = "GPIO_66";
		function = "gpio";
	};
};

&mdio0 {
@@ -185,6 +191,13 @@ &switch {
	status = "okay";
};

&udc {
	pinctrl-0 = <&usbs_a_pins>;
	pinctrl-names = "default";
	atmel,vbus-gpio = <&gpio 66 GPIO_ACTIVE_HIGH>;
	status = "okay";
};

&watchdog {
	status = "okay";
};