It's "uint32" not "u32" and we use integers for the "enum32" defaults.

Signed-off-by: Marc Kleine-Budde <[email protected]>
---
 Documentation/devicetree/bindings/barebox/barebox,state.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/barebox/barebox,state.rst 
b/Documentation/devicetree/bindings/barebox/barebox,state.rst
index fe8a3d5bc8e3..6e8b65012133 100644
--- a/Documentation/devicetree/bindings/barebox/barebox,state.rst
+++ b/Documentation/devicetree/bindings/barebox/barebox,state.rst
@@ -70,7 +70,7 @@ Example::
 
        foo {
                reg = <0x00 0x4>;
-               type = "u32";
+               type = "uint32";
                default = <0x0>;
        };
 
@@ -78,7 +78,7 @@ Example::
                reg = <0x10 0x4>;
                type = "enum32";
                names = "baz", "qux";
-               default ="qux";
+               default = <1>;
        };
   };
 
-- 
2.1.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to