]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:22 +0000 (21:47 +0200)
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 {