arm: dts: k3-j721e-common-proc-board: Enable USB0 in peripheral mode
authorVignesh Raghavendra <vigneshr@ti.com>
Mon, 27 Jan 2020 12:29:25 +0000 (17:59 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 4 Feb 2020 03:37:24 +0000 (09:07 +0530)
Enable USB0 in peripheral mode so that it be used for DFU

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/dts/k3-j721e-r5-common-proc-board.dts

index 28a355d49c9b10af64bb28a1bbe9c59b993c73b0..585cc839632b33971d0d6468293bb95024ec0f70 100644 (file)
                clock-frequency = <200000000>;
                u-boot,dm-spl;
        };
+
+       clk_19_2mhz: dummy_clock {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <19200000>;
+               u-boot,dm-spl;
+       };
 };
 
 &cbass_mcu_wakeup {
        u-boot,dm-spl;
 };
 
+&usbss0 {
+       /delete-property/ power-domains;
+       /delete-property/ assigned-clocks;
+       /delete-property/ assigned-clock-parents;
+       clocks = <&clk_19_2mhz>;
+       clock-names = "usb2_refclk";
+       pinctrl-names = "default";
+       pinctrl-0 = <&main_usbss0_pins_default>;
+       ti,vbus-divider;
+};
+
 #include "k3-j721e-common-proc-board-u-boot.dtsi"