
Each sandbox peripheral should have a size as well as a base address. This is required for regmaps to work, so make this change for all nodes that have an address.
Signed-off-by: Simon Glass sjg@chromium.org ---
arch/sandbox/dts/test.dts | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-)
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 4304319..97b375a 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -6,7 +6,7 @@ model = "sandbox"; compatible = "sandbox"; #address-cells = <1>; - #size-cells = <0>; + #size-cells = <1>;
aliases { console = &uart0; @@ -30,7 +30,7 @@ };
a-test { - reg = <0>; + reg = <0 1>; compatible = "denx,u-boot-fdt-test"; ping-expect = <0>; ping-add = <0>; @@ -43,16 +43,16 @@ };
junk { - reg = <1>; + reg = <1 1>; compatible = "not,compatible"; };
no-compatible { - reg = <2>; + reg = <2 1>; };
b-test { - reg = <3>; + reg = <3 1>; compatible = "denx,u-boot-fdt-test"; ping-expect = <3>; ping-add = <3>; @@ -62,7 +62,7 @@ #address-cells = <1>; #size-cells = <0>; compatible = "denx,u-boot-test-bus"; - reg = <3>; + reg = <3 1>; ping-expect = <4>; ping-add = <4>; c-test@5 { @@ -86,14 +86,14 @@ };
d-test { - reg = <3>; + reg = <3 1>; ping-expect = <6>; ping-add = <6>; compatible = "google,another-fdt-test"; };
e-test { - reg = <3>; + reg = <3 1>; ping-expect = <6>; ping-add = <6>; compatible = "google,another-fdt-test"; @@ -148,7 +148,7 @@ i2c@0 { #address-cells = <1>; #size-cells = <0>; - reg = <0>; + reg = <0 1>; compatible = "sandbox,i2c"; clock-frequency = <100000>; clocks = <&clk SANDBOX_CLK_I2C>; @@ -237,7 +237,7 @@ spi@0 { #address-cells = <1>; #size-cells = <0>; - reg = <0>; + reg = <0 1>; clocks = <&clk SANDBOX_CLK_SPI>; compatible = "sandbox,spi"; cs-gpios = <0>, <&gpio_a 0>; @@ -251,12 +251,15 @@
syscon@0 { compatible = "sandbox,syscon0"; - reg = <0x10>; + reg = <0x10 4>; };
syscon@1 { compatible = "sandbox,syscon1"; - reg = <0x20>; + reg = <0x20 5 + 0x28 6 + 0x30 7 + 0x38 8>; };
uart0: serial {