summaryrefslogtreecommitdiff
path: root/doc/device-tree-bindings/bootdev.txt
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2022-04-24 23:31:26 -0600
committerTom Rini <[email protected]>2022-04-25 10:00:04 -0400
commite7b2ce191ecab558b130b3b926dddcfc7231deb0 (patch)
tree47ff03f91117e522ec6fcc3c832baeea3ada84cd /doc/device-tree-bindings/bootdev.txt
parenta91492b6e9c8c72a531a8e53711d0c144d4d1306 (diff)
bootstd: doc: Add documentation
Add documentation for this feature, including the commands and full devicetree bindings. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'doc/device-tree-bindings/bootdev.txt')
-rw-r--r--doc/device-tree-bindings/bootdev.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/bootdev.txt b/doc/device-tree-bindings/bootdev.txt
index 95b7fec8212..4bb2345a0b9 100644
--- a/doc/device-tree-bindings/bootdev.txt
+++ b/doc/device-tree-bindings/bootdev.txt
@@ -6,3 +6,21 @@ child of the media device (UCLASS_MMC, UCLASS_SPI_FLASH, etc.)
The bootdev driver is provided by the media devices. The bindings for each
are described in this file (to come).
+
+Required properties:
+
+compatible:
+ "u-boot,bootdev-eth" - Ethernet bootdev
+ "u-boot,bootdev-mmc" - MMC bootdev
+ "u-boot,bootdev-usb" - USB bootdev
+
+
+Example:
+
+ mmc1 {
+ compatible = "sandbox,mmc";
+
+ mmc-bootdev {
+ compatible = "u-boot,bootdev-eth";
+ };
+ };