ARM64: dts: marvell: armada37xx: add address and size property for i2c cells
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 22 Feb 2017 17:31:44 +0000 (18:31 +0100)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 8 Mar 2017 09:17:00 +0000 (10:17 +0100)
These property were missing when the nodes were added and their lack
generate warning messages when adding i2c device in the subnodes.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-37xx.dtsi

index b48d668a6ab6278f2445d09554dfcb8278ecabc0..cf0c2f9ebd7d794c8fa72e5659913db5ce0c6ff8 100644 (file)
                        i2c0: i2c@11000 {
                                compatible = "marvell,armada-3700-i2c";
                                reg = <0x11000 0x24>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
                                clocks = <&nb_periph_clk 10>;
                                interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
                                mrvl,i2c-fast-mode;
                        i2c1: i2c@11080 {
                                compatible = "marvell,armada-3700-i2c";
                                reg = <0x11080 0x24>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
                                clocks = <&nb_periph_clk 9>;
                                interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
                                mrvl,i2c-fast-mode;