sandbox: Update device tree 'reg' properties for I2C and SPI
authorSimon Glass <sjg@chromium.org>
Thu, 5 Mar 2015 19:25:13 +0000 (12:25 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 17 Apr 2015 01:27:41 +0000 (19:27 -0600)
We should have a size value for these. Add one in each case. This will
be needed for PCI.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/dts/sandbox.dts

index 9ce31bf075832af6d62248a9bc05184969231093..d090ba8e6ab2becacdccd398c66b4aedc52f729d 100644 (file)
@@ -2,7 +2,7 @@
 
 / {
        #address-cells = <1>;
-       #size-cells = <0>;
+       #size-cells = <1>;
 
        chosen {
                stdout-path = "/serial";
        i2c@0 {
                #address-cells = <1>;
                #size-cells = <0>;
-               reg = <0>;
+               reg = <0 0>;
                compatible = "sandbox,i2c";
                clock-frequency = <400000>;
                eeprom@2c {
        spi@0 {
                #address-cells = <1>;
                #size-cells = <0>;
-               reg = <0>;
+               reg = <0 0>;
                compatible = "sandbox,spi";
                cs-gpios = <0>, <&gpio_a 0>;
                flash@0 {