]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: k3-am654-r5-base-board: Add USB0 nodes
authorFaiz Abbas <faiz_abbas@ti.com>
Mon, 3 Aug 2020 06:05:11 +0000 (11:35 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 11 Aug 2020 15:04:46 +0000 (20:34 +0530)
Add USB0 nodes and set them to host mode to support USB host and
peripheral boot modes

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
arch/arm/dts/k3-am654-r5-base-board.dts

index e6b78643c197239ed66e17437e030bcf1112d7de..d43a4edc7189dc8a78c55fd6c2a68a8547c8967d 100644 (file)
                #size-cells = <1>;
        };
 };
+
+&main_pmx0 {
+       u-boot,dm-spl;
+       usb0_pins_default: usb0_pins_default {
+               pinctrl-single,pins = <
+                       AM65X_IOPAD(0x02bc, PIN_OUTPUT, 0) /* (AD9) USB0_DRVVBUS */
+               >;
+               u-boot,dm-spl;
+       };
+};
+
+&dwc3_0 {
+       status = "okay";
+       u-boot,dm-spl;
+       /delete-property/ power-domains;
+       /delete-property/ assigned-clocks;
+       /delete-property/ assigned-clock-parents;
+};
+
+&usb0_phy {
+       status = "okay";
+       u-boot,dm-spl;
+       /delete-property/ clocks;
+};
+
+&usb0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&usb0_pins_default>;
+       dr_mode = "peripheral";
+       u-boot,dm-spl;
+};
+
+&scm_conf {
+       u-boot,dm-spl;
+};