diff options
author | Ravi Gunasekaran <r-gunasekaran@ti.com> | 2023-11-03 17:31:54 +0530 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2023-11-03 17:40:06 -0500 |
commit | dbd581fff4eb79b23b53f83f72bd39584c418340 (patch) | |
tree | 70fc4d48014b3c9bc039f6a72ba29ef7c1e4cfa9 | |
parent | 0ec07d2146f8462dbd4e12353aee56181b192dd8 (diff) |
arm: dts: k3-am62p5-sk-u-boot: Configure USB0 in peripheral mode
Configure USB0 in peripheral mode so that USB DFU can be the
default USB boot mode supported.
Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
-rw-r--r-- | arch/arm/dts/k3-am62p5-sk-u-boot.dtsi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/dts/k3-am62p5-sk-u-boot.dtsi b/arch/arm/dts/k3-am62p5-sk-u-boot.dtsi index 8745e9b561..fc23aa683e 100644 --- a/arch/arm/dts/k3-am62p5-sk-u-boot.dtsi +++ b/arch/arm/dts/k3-am62p5-sk-u-boot.dtsi @@ -25,3 +25,16 @@ reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt", "cfg", "tchan", "rchan", "rflow"; }; + +&usbss0 { + bootph-pre-ram; +}; + +&usb0 { + /* Enable peripheral mode only during bootup + * to support DFU while allowing Linux to stay + * in OTG mode + */ + dr_mode = "peripheral"; + bootph-pre-ram; +}; |