From a3a17dfd5a2c5df9626c844dcbef3bb2e9cce14c Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Mon, 15 Jun 2015 15:34:00 +0200 Subject: 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 Signed-off-by: Sascha Hauer --- Documentation/devicetree/bindings/barebox/barebox,state.rst | 6 +++--- 1 file 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>; }; }; -- cgit v1.2.3