arm64: dts: marvell: Disable AP I2C on Armada-8040-DB
authorKonstantin Porotchkin <kostap@marvell.com>
Tue, 21 May 2019 14:37:49 +0000 (16:37 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 3 Jun 2019 14:43:10 +0000 (16:43 +0200)
While AP I2C bus was available to users in early revisions of the SoC,
this is not the case anymore since eMMC was connected to the AP. Most
users do not have access to this I2C bus so do not enable it in the
board device tree.

As there are three I2C buses enabled on this board, add an alias to be
sure the two other buses keep their initial numbering.

Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
[<miquel.raynal@bootlin.com>: Reword commit message, add alias]
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-8040-db.dts

index 9f4f939ab65f11f61724c20a14ee922b1578e63f..d6e9c014c2f98a9834fcd93dfc534631e7e39342 100644 (file)
@@ -27,6 +27,8 @@
                ethernet1 = &cp0_eth2;
                ethernet2 = &cp1_eth0;
                ethernet3 = &cp1_eth1;
+               i2c1 = &cp0_i2c0;
+               i2c2 = &cp1_i2c0;
        };
 
        cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus {
        };
 };
 
-&i2c0 {
-       status = "okay";
-       clock-frequency = <100000>;
-};
-
 &spi0 {
        status = "okay";