]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: meson-sm1-sei610: add USB support
authorNeil Armstrong <narmstrong@baylibre.com>
Fri, 23 Aug 2019 09:04:18 +0000 (11:04 +0200)
committerKevin Hilman <khilman@baylibre.com>
Thu, 29 Aug 2019 23:17:41 +0000 (16:17 -0700)
Add the USB properties for the Amlogic SM1 Based SEI610 Board in order to
support the USB DRD Type-C port and the USB3 Type A port.

The USB DRD Type-C controller uses the ID signal to toggle the USB role
between the DWC3 Host controller and the DWC2 Device controller.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts

index 302107666fa4c2da6074d6a2798d863bc9a64a4d..26469160103607904634b418680bd64b1425d0be 100644 (file)
@@ -321,3 +321,8 @@ &uart_AO {
        pinctrl-0 = <&uart_ao_a_pins>;
        pinctrl-names = "default";
 };
+
+&usb {
+       status = "okay";
+       dr_mode = "otg";
+};