summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-06-15 15:34:00 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-06-17 07:51:43 +0200
commita3a17dfd5a2c5df9626c844dcbef3bb2e9cce14c (patch)
treea6c7ec5841d7a495c31b5ec2771d67c2b79570f2
parentdf1e1f47cb31b0047050736b2b1b9351439cc6b2 (diff)
downloadbarebox-a3a17dfd5a2c5df9626c844dcbef3bb2e9cce14c.tar.gz
barebox-a3a17dfd5a2c5df9626c844dcbef3bb2e9cce14c.tar.xz
state: Documentation: fix dts code example
It's "uint32" not "u32" and we use integers for the "enum32" defaults. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--Documentation/devicetree/bindings/barebox/barebox,state.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/barebox/barebox,state.rst b/Documentation/devicetree/bindings/barebox/barebox,state.rst
index 96cc41e598..3d664f1f02 100644
--- a/Documentation/devicetree/bindings/barebox/barebox,state.rst
+++ b/Documentation/devicetree/bindings/barebox/barebox,state.rst
@@ -70,15 +70,15 @@ Example::
foo {
reg = <0x00 0x4>;
- type = "u32";
+ type = "uint32";
default = <0x0>;
};
bar {
reg = <0x10 0x4>;
- type = "enum32";
+ type = "enum32";
names = "baz", "qux";
- default ="qux";
+ default = <1>;
};
};