arm: dts: k3-am654-r5-base-board: Fix the dt properties in usb0 instance
authorAswath Govindraju <a-govindraju@ti.com>
Wed, 18 May 2022 11:19:12 +0000 (16:49 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 10 Jun 2022 17:37:32 +0000 (13:37 -0400)
For dfu boot mode, the clocks property needs to be deleted and dr_mode
needs to be set to peripheral. Therefore, add the required fixes for the
same.

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
arch/arm/dts/k3-am654-r5-base-board-u-boot.dtsi
arch/arm/dts/k3-am654-r5-base-board.dts

index 26567f4..1d0659e 100644 (file)
 &usb0 {
        pinctrl-names = "default";
        pinctrl-0 = <&usb0_pins_default>;
-       dr_mode = "host";
+       dr_mode = "peripheral";
        u-boot,dm-spl;
 };
 
index 24881c8..455698a 100644 (file)
 &dwc3_0 {
        status = "okay";
        u-boot,dm-spl;
+       /delete-property/ clocks;
        /delete-property/ power-domains;
        /delete-property/ assigned-clocks;
        /delete-property/ assigned-clock-parents;