summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-11-07 14:26:42 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-07 14:26:42 +0100
commitcd8a909bb3e7af6d905e4b554b10a3bf9718f5c5 (patch)
tree9cc4ccf3fcd9c54d6290f56deeeb32ecf4841641 /Documentation
parent701a6ae36b6c818ff936952576d5e33ed710ddb5 (diff)
parent52cc061f50aa12adcef0a00c9a56eb7c60865a1c (diff)
downloadbarebox-cd8a909bb3e7af6d905e4b554b10a3bf9718f5c5.tar.gz
Merge branch 'for-next/stm32'
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/boards/stm32mp.rst28
1 files changed, 18 insertions, 10 deletions
diff --git a/Documentation/boards/stm32mp.rst b/Documentation/boards/stm32mp.rst
index 774ede6..f93ec04 100644
--- a/Documentation/boards/stm32mp.rst
+++ b/Documentation/boards/stm32mp.rst
@@ -1,11 +1,6 @@
STMicroelectronics STM32MP
==========================
-.. note::
-
- Support for the STM32MP architecure in barebox is still in progress.
- Bootstrapping an OS from mainline barebox is not yet supported.
-
The STM32MP is a line of 32-bit ARM SoCs. They reuse peripherals of the
STM32 line of microcontrollers and can have a STM32 MCU embedded as co-processor
as well.
@@ -68,8 +63,21 @@ An appropriate image for the boot media can be generated with following
Image can then be flashed on e.g. a SD-Card.
-TODO
-----
-
-* Extend barebox MMCI support to support the SDMMC2
-* Extend barebox DesignWare MAC support to support the stmmac
+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
+ +-------+