summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-05-05 11:31:46 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-05-05 11:31:46 +0200
commit587afe8133b0218cde15750947e82f199d9ed6aa (patch)
tree317d15f5ddd90cd15ab2a49a6dda4d8c2f5a4531 /Documentation
parent5485383d60cd62f1306c5ba6b781e684ba5c2ec3 (diff)
parent70ea799f6b6ddcd92b94420a2d352a73f0f9ff08 (diff)
downloadbarebox-587afe8133b0218cde15750947e82f199d9ed6aa.tar.gz
barebox-587afe8133b0218cde15750947e82f199d9ed6aa.tar.xz
Merge branch 'for-next/state'
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/barebox/barebox,state.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/barebox/barebox,state.rst b/Documentation/devicetree/bindings/barebox/barebox,state.rst
index 00fb592614..06a0d100c8 100644
--- a/Documentation/devicetree/bindings/barebox/barebox,state.rst
+++ b/Documentation/devicetree/bindings/barebox/barebox,state.rst
@@ -32,6 +32,8 @@ Required properties:
* ``backend``: contains a phandle to the device/partition which holds the
actual state data.
* ``backend-type``: should be ``raw`` or ``dtb``.
+* additionally a state node must have an alias in the /aliases/ node pointing
+ to it.
Optional properties:
@@ -74,7 +76,11 @@ Optional properties:
Example::
- state: state@0 {
+ /aliases {
+ state = &state;
+ };
+
+ state: state {
magic = <0x27031977>;
compatible = "barebox,state";
backend-type = "raw";