Commit 0ddd48de authored by Gregory CLEMENT's avatar Gregory CLEMENT

ARM64: dts: marvell: armada37xx: add address and size property for i2c cells

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: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
parent bbedcf58
...@@ -112,6 +112,8 @@ spi0: spi@10600 { ...@@ -112,6 +112,8 @@ spi0: spi@10600 {
i2c0: i2c@11000 { i2c0: i2c@11000 {
compatible = "marvell,armada-3700-i2c"; compatible = "marvell,armada-3700-i2c";
reg = <0x11000 0x24>; reg = <0x11000 0x24>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&nb_periph_clk 10>; clocks = <&nb_periph_clk 10>;
interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
mrvl,i2c-fast-mode; mrvl,i2c-fast-mode;
...@@ -121,6 +123,8 @@ i2c0: i2c@11000 { ...@@ -121,6 +123,8 @@ i2c0: i2c@11000 {
i2c1: i2c@11080 { i2c1: i2c@11080 {
compatible = "marvell,armada-3700-i2c"; compatible = "marvell,armada-3700-i2c";
reg = <0x11080 0x24>; reg = <0x11080 0x24>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&nb_periph_clk 9>; clocks = <&nb_periph_clk 9>;
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
mrvl,i2c-fast-mode; mrvl,i2c-fast-mode;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment