ARM: dts: keystone: add cell's information to i2c nodes
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 8 Apr 2014 11:46:06 +0000 (14:46 +0300)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Thu, 8 May 2014 19:24:51 +0000 (15:24 -0400)
I2C nodes should always have #address-cells and #size-cells defined,
otherwise warnings will be produced in case of adding child
nodes to the I2C bus in DT:
Warning (avoid_default_addr_size): Relying on default #address-cells value for /soc/i2c@2530800/pca@20
Warning (avoid_default_addr_size): Relying on default #size-cells value for /soc/i2c@2530800/pca@20

Hence, ensure that all i2cX nodes have #address-cells and #size-cells
properties defined.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/boot/dts/keystone.dtsi

index d0b0266d892238c804850cd1d5e1d0bec55314c5..f2409bdd03be2395abfb0509312010f775461567 100644 (file)
                        clock-frequency = <100000>;
                        clocks = <&clki2c>;
                        interrupts = <GIC_SPI 286 IRQ_TYPE_EDGE_RISING>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
                };
 
                i2c2: i2c@2530800 {
                        clock-frequency = <100000>;
                        clocks = <&clki2c>;
                        interrupts = <GIC_SPI 289 IRQ_TYPE_EDGE_RISING>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
                };
 
                spi0: spi@21000400 {