]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 26567f4167ffe491d6c5d67fba669234c9870c92..1d0659ea8fff6dda99c428a527f6c6e7e63ee388 100644 (file)
 &usb0 {
        pinctrl-names = "default";
        pinctrl-0 = <&usb0_pins_default>;
-       dr_mode = "host";
+       dr_mode = "peripheral";
        u-boot,dm-spl;
 };
 
index 24881c86f2a8b8e48564b429243bbaf1ebcd4ba3..455698a93630aa366fe40192fea12d99fbd354ff 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;