arm64: dts: marvell: Add I2C definitions for the Armada 3700

The Armada 3700 has two i2c bus interface units, this commit adds the
definitions of the corresponding device nodes. It also enables the node
on the development board for this SoC.

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
This commit is contained in:
Romain Perier 2016-12-01 12:04:39 +01:00 committed by Gregory CLEMENT
parent bc35739354
commit c7d7ea67d3
2 changed files with 22 additions and 0 deletions
arch/arm64/boot/dts/marvell

View File

@ -62,6 +62,10 @@ memory@0 {
};
};
&i2c0 {
status = "okay";
};
/* CON3 */
&sata {
status = "okay";

View File

@ -109,6 +109,24 @@ spi0: spi@10600 {
status = "disabled";
};
i2c0: i2c@11000 {
compatible = "marvell,armada-3700-i2c";
reg = <0x11000 0x24>;
clocks = <&nb_periph_clk 10>;
interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
mrvl,i2c-fast-mode;
status = "disabled";
};
i2c1: i2c@11080 {
compatible = "marvell,armada-3700-i2c";
reg = <0x11080 0x24>;
clocks = <&nb_periph_clk 9>;
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
mrvl,i2c-fast-mode;
status = "disabled";
};
uart0: serial@12000 {
compatible = "marvell,armada-3700-uart";
reg = <0x12000 0x400>;