summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/nvmem/u-boot,env.yaml
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2022-07-03 10:48:43 +0200
committerRob Herring <robh@kernel.org>2022-09-13 12:43:55 -0500
commita607a850ba1fa966cbb035544c1588e24a6307df (patch)
treebe5350483ad49fa5e2972d69cd8f1549e7e84375 /Documentation/devicetree/bindings/nvmem/u-boot,env.yaml
parentb7be1c4eaf329aeb9dad1e5cac5482d0e28c1737 (diff)
dt-bindings: nvmem: u-boot,env: add basic NVMEM cells
U-Boot doesn't have cells at hardcoded addresses. They are stored in internal format. It's still important to define relevant cells in DT so NVMEM consumers can reference them. Update binding to allow including basic cells as NVMEM device subnodes. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Reviewed-by: Tom Rini <trini@konsulko.com> Link: https://lore.kernel.org/r/20220703084843.21922-1-zajec5@gmail.com Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/nvmem/u-boot,env.yaml')
-rw-r--r--Documentation/devicetree/bindings/nvmem/u-boot,env.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/nvmem/u-boot,env.yaml b/Documentation/devicetree/bindings/nvmem/u-boot,env.yaml
index e70b2a60cb9a..e96bca99f2d9 100644
--- a/Documentation/devicetree/bindings/nvmem/u-boot,env.yaml
+++ b/Documentation/devicetree/bindings/nvmem/u-boot,env.yaml
@@ -24,6 +24,8 @@ description: |
Right now only flash partition case is covered but it may be extended to e.g.
UBI volumes in the future.
+ Variables can be defined as NVMEM device subnodes.
+
maintainers:
- Rafał Miłecki <rafal@milecki.pl>
@@ -40,6 +42,14 @@ properties:
reg:
maxItems: 1
+ bootcmd:
+ type: object
+ description: Command to use for automatic booting
+
+ ethaddr:
+ type: object
+ description: Ethernet interface's MAC address
+
additionalProperties: false
examples:
@@ -58,5 +68,8 @@ examples:
env: partition@40000 {
compatible = "u-boot,env";
reg = <0x40000 0x10000>;
+
+ mac: ethaddr {
+ };
};
};