From: Simon Glass Date: Thu, 5 Mar 2015 19:25:13 +0000 (-0700) Subject: sandbox: Update device tree 'reg' properties for I2C and SPI X-Git-Tag: KARO-TX6-2015-09-18~2790 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=26ab49b265d8f56e40ebb9c6b55648faf196d78d;p=karo-tx-uboot.git sandbox: Update device tree 'reg' properties for I2C and SPI We should have a size value for these. Add one in each case. This will be needed for PCI. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index 9ce31bf075..d090ba8e6a 100644 --- a/arch/sandbox/dts/sandbox.dts +++ b/arch/sandbox/dts/sandbox.dts @@ -2,7 +2,7 @@ / { #address-cells = <1>; - #size-cells = <0>; + #size-cells = <1>; chosen { stdout-path = "/serial"; @@ -144,7 +144,7 @@ i2c@0 { #address-cells = <1>; #size-cells = <0>; - reg = <0>; + reg = <0 0>; compatible = "sandbox,i2c"; clock-frequency = <400000>; eeprom@2c { @@ -161,7 +161,7 @@ spi@0 { #address-cells = <1>; #size-cells = <0>; - reg = <0>; + reg = <0 0>; compatible = "sandbox,spi"; cs-gpios = <0>, <&gpio_a 0>; flash@0 {