/dts-v1/; #include "skeleton.dtsi" / { aliases { state = &state; }; state: state { magic = <0x4d433230>; compatible = "barebox,state"; backend-type = "dtb"; backend = "/fd0"; bootstate { system0 { #address-cells = <1>; #size-cells = <1>; remaining_attempts { reg = <0x0 0x4>; type = "uint32"; }; priority { reg = <0x4 0x4>; type = "uint32"; }; ok { reg = <0x8 0x4>; type = "uint32"; }; }; system1 { #address-cells = <1>; #size-cells = <1>; remaining_attempts { reg = <0x10 0x4>; type = "uint32"; }; priority { reg = <0x14 0x4>; type = "uint32"; }; ok { reg = <0x18 0x4>; type = "uint32"; }; }; factory { #address-cells = <1>; #size-cells = <1>; remaining_attempts { reg = <0x20 0x4>; type = "uint32"; }; priority { reg = <0x24 0x4>; type = "uint32"; }; ok { reg = <0x28 0x4>; type = "uint32"; }; }; }; }; bootstate: bootstate { compatible = "barebox,bootstate"; backend-type = "state"; // or "nv", or "efivar" backend = <&state>; system0 { default_attempts = <3>; }; system1 { default_attempts = <3>; }; factory { default_attempts = <3>; }; }; };