[PATCH 1/5] dt-bindings: soc: rockchip: add boot ROM download boot mode
Alexey Charkov
alchark at flipper.net
Mon Sep 28 10:18:16 PDT 2026
Rockchip boot ROMs enter USB download mode, commonly known as maskrom,
when they find 0xef08a53c in the register they take the boot mode from.
Add the magic under the name U-Boot already uses for it, so that boards
able to request it can do so symbolically.
Signed-off-by: Alexey Charkov <alchark at flipper.net>
---
include/dt-bindings/soc/rockchip,boot-mode.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/dt-bindings/soc/rockchip,boot-mode.h b/include/dt-bindings/soc/rockchip,boot-mode.h
index 4b0914c0989d..88684f4184df 100644
--- a/include/dt-bindings/soc/rockchip,boot-mode.h
+++ b/include/dt-bindings/soc/rockchip,boot-mode.h
@@ -12,5 +12,7 @@
#define BOOT_RECOVERY (REBOOT_FLAG + 3)
/* enter fastboot mode */
#define BOOT_FASTBOOT (REBOOT_FLAG + 9)
+/* enter boot ROM usb download (maskrom) mode */
+#define BOOT_BROM_DOWNLOAD 0xEF08A53C
#endif
--
2.55.0
More information about the Linux-rockchip
mailing list