summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSjoerd Simons <[email protected]>2024-05-06 15:38:45 +0100
committerTom Rini <[email protected]>2024-05-15 10:45:02 -0600
commitb00c2fe70ae50c275c9166fe5b1fee5597e557bb (patch)
tree17b23c66f5eb6ad24ec6d15698689ec3d7e1db28 /arch
parentdfc2dff5a8442aea4923f757bfc118da5dbd9fbe (diff)
beagleplay: Add DFU support
DFU mode on a beagleplay can be used via the Type-C connector by holding the USR switch while powering on. Configuration is already provided as fragments for both the A53 and R5 u-boot parts. Include the am62x_a53_usbdfu.config config. The am62x_r5_usbdfu.config fragment needs to be added should DFU boot be required as this will disable booting from persistent storage due to binary size constraints. Signed-off-by: Sjoerd Simons <[email protected]> Signed-off-by: Martyn Welch <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Tested-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi b/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
index fb2032068d1..967a2bdcd1c 100644
--- a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
+++ b/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
@@ -54,6 +54,15 @@
>;
};
+&usbss0 {
+ bootph-all;
+};
+
+&usb0 {
+ dr_mode = "peripheral";
+ bootph-all;
+};
+
#ifdef CONFIG_TARGET_AM625_A53_BEAGLEPLAY
#define SPL_NODTB "spl/u-boot-spl-nodtb.bin"