]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
arm64: dts: ti: k3-am654-base-board: enable USB1
authorRoger Quadros <rogerq@ti.com>
Tue, 5 Feb 2019 12:45:22 +0000 (14:45 +0200)
committerTero Kristo <t-kristo@ti.com>
Fri, 15 Feb 2019 08:10:32 +0000 (10:10 +0200)
Add pinmux for USB1 and enable it as a dual role port.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm64/boot/dts/ti/k3-am654-base-board.dts

index 11e9a2a43dfcd2f4440ee39ce5290febdca4eb57..a70e9049ad839705275053d3fa2802e7649c568a 100644 (file)
                        AM65X_IOPAD(0x01b0, PIN_INPUT, 0) /* (C25) MMC0_DS */
                >;
        };
+
+       usb1_pins_default: usb1_pins_default {
+               pinctrl-single,pins = <
+                       AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) USB1_DRVVBUS */
+               >;
+       };
 };
 
 &main_pmx1 {
        non-removable;
        ti,driver-strength-ohm = <50>;
 };
+
+&dwc3_1 {
+       status = "okay";
+};
+
+&usb1_phy {
+       status = "okay";
+};
+
+&usb1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&usb1_pins_default>;
+       dr_mode = "otg";
+};
+
+&dwc3_0 {
+       status = "disabled";
+};
+
+&usb0_phy {
+       status = "disabled";
+};