]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: k3-j721e: Add support for USB3 in USB0 instance
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 21 Jul 2021 15:58:40 +0000 (21:28 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 27 Jul 2021 05:27:12 +0000 (10:57 +0530)
Configure the parent clock of wiz3_pll0_refclk to the internal clock
required for USB3 to be functional and also remove "ti,usb2-only"
property as it now supports USB3 mode. This has properties specific to
u-boot on top of DT present in v5.13 of Linux Kernel.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210721155849.20994-12-kishon@ti.com
arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi

index 974dae841616f0edfb36a7d339f42717d85121ac..85dbf8d2ac96e1b586e15d0883524b25e404567d 100644 (file)
        u-boot,dm-spl;
 };
 
+&wiz3_pll1_refclk {
+       assigned-clocks = <&wiz3_pll1_refclk>, <&wiz3_pll0_refclk>;
+       assigned-clock-parents = <&k3_clks 295 0>, <&k3_clks 295 9>;
+};
+
 &main_usbss0_pins_default {
        u-boot,dm-spl;
 };
 
 &usbss0 {
        u-boot,dm-spl;
-       ti,usb2-only;
 };
 
 &usb0 {
 &main_r5fss1 {
        ti,cluster-mode = <0>;
 };
+
+&wiz3_pll1_refclk {
+       assigned-clocks = <&wiz3_pll1_refclk>, <&wiz3_pll0_refclk>;
+       assigned-clock-parents = <&k3_clks 295 0>, <&k3_clks 295 9>;
+};
+
+&serdes_ln_ctrl {
+       u-boot,mux-autoprobe;
+};
+
+&usb_serdes_mux {
+       u-boot,mux-autoprobe;
+};