Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Rafał Miłecki and committed by
Rob Herring
a607a850 b7be1c4e

+13
+13
Documentation/devicetree/bindings/nvmem/u-boot,env.yaml
··· 24 24 Right now only flash partition case is covered but it may be extended to e.g. 25 25 UBI volumes in the future. 26 26 27 + Variables can be defined as NVMEM device subnodes. 28 + 27 29 maintainers: 28 30 - Rafał Miłecki <rafal@milecki.pl> 29 31 ··· 41 39 42 40 reg: 43 41 maxItems: 1 42 + 43 + bootcmd: 44 + type: object 45 + description: Command to use for automatic booting 46 + 47 + ethaddr: 48 + type: object 49 + description: Ethernet interface's MAC address 44 50 45 51 additionalProperties: false 46 52 ··· 68 58 env: partition@40000 { 69 59 compatible = "u-boot,env"; 70 60 reg = <0x40000 0x10000>; 61 + 62 + mac: ethaddr { 63 + }; 71 64 }; 72 65 };