summaryrefslogtreecommitdiff
path: root/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi
diff options
context:
space:
mode:
authorAswath Govindraju <a-govindraju@ti.com>2023-05-16 16:23:39 +0530
committerUdit Kumar <u-kumar1@ti.com>2023-05-17 11:52:17 +0530
commit62c04970e29fca9188f6c23f514bf42d93f7aebd (patch)
tree4309b5c6aac08486a11f206a25295c08befe16ed /arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi
parentf523610c45bbed5df8fee911ae74a5ed58c3e371 (diff)
arm: dts: k3-j721s2-*-common-proc-board: Add USB support
The board uses lane 1 of SERDES for USB. Set the mux accordingly. The USB controller and EVM supports super-speed for USB0 on the Type-C port. However, the SERDES has a limitation that upto 2 protocols can be used at a time. The SERDES is wired for PCIe, eDP and USB super-speed. It has been chosen to use PCIe and eDP as default. So restrict USB0 to high-speed mode. Signed-off-by: Aswath Govindraju <a-govindraju@ti.com> Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
Diffstat (limited to 'arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi')
-rw-r--r--arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi b/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi
index 12a444820c..48a9e3c5ac 100644
--- a/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi
+++ b/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi
@@ -99,6 +99,10 @@
bootph-pre-ram;
};
+&main_usbss0_pins_default {
+ bootph-pre-ram;
+};
+
&wkup_pmx0 {
bootph-pre-ram;
};
@@ -127,6 +131,15 @@
bootph-pre-ram;
};
+&usbss0 {
+ bootph-pre-ram;
+};
+
+&usb0 {
+ dr_mode = "peripheral";
+ bootph-pre-ram;
+};
+
&mcu_cpsw {
reg = <0x0 0x46000000 0x0 0x200000>,
<0x0 0x40f00200 0x0 0x8>;
@@ -144,6 +157,10 @@
u-boot,mux-autoprobe;
};
+&usb_serdes_mux {
+ u-boot,mux-autoprobe;
+};
+
&main_sdhci0 {
bootph-pre-ram;
};