mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] Documentation: boards: stm32mp: document boot mode strap pins
@ 2019-10-30  9:27 Ahmad Fatoum
  2019-11-04  8:05 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2019-10-30  9:27 UTC (permalink / raw)
  To: barebox

The evaluation kits have 2P DIP-Switches for boot mode selection.
Document them.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
---
 Documentation/boards/stm32mp.rst | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/Documentation/boards/stm32mp.rst b/Documentation/boards/stm32mp.rst
index d4429aae2765..f93ec04eb04d 100644
--- a/Documentation/boards/stm32mp.rst
+++ b/Documentation/boards/stm32mp.rst
@@ -62,3 +62,22 @@ An appropriate image for the boot media can be generated with following
   }
 
 Image can then be flashed on e.g. a SD-Card.
+
+Boot source selection
+---------------------
+
+The STM32MP BootROM samples three boot pins at reset. Usually BOOT1 is
+pulled down and BOOT0 and BOOT2 are connected to a 2P DIP switch::
+
+       +-------+
+ BOOT2 | O O-- |
+ BOOT0 | N O-- |  <---- SDMMC
+       +-------+
+       +-------+
+ BOOT2 | O O-- |
+ BOOT0 | N --O |  <---- QSPI-NOR Flash
+       +-------+
+       +-------+
+ BOOT2 | O --O |
+ BOOT0 | N --O |  <---- DFU on UART and USB OTG
+       +-------+
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-04  8:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-30  9:27 [PATCH] Documentation: boards: stm32mp: document boot mode strap pins Ahmad Fatoum
2019-11-04  8:05 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox