diff options
author | Simon Glass <sjg@chromium.org> | 2015-03-05 12:25:13 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-16 19:27:41 -0600 |
commit | 20806e748434282af44722ad8b7afbbcf2d54ff4 (patch) | |
tree | 9428ea52767160ae2e81b8f2895a0b9225ea8940 /arch | |
parent | 51e9dad29675384becb0d31b1aa7388dc77d34aa (diff) | |
download | u-boot-imx-20806e748434282af44722ad8b7afbbcf2d54ff4.zip u-boot-imx-20806e748434282af44722ad8b7afbbcf2d54ff4.tar.gz u-boot-imx-20806e748434282af44722ad8b7afbbcf2d54ff4.tar.bz2 |
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 <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sandbox/dts/sandbox.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index 9ce31bf..d090ba8 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 { |