summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Porotchkin <kostap@marvell.com>2019-05-21 16:37:49 +0200
committerGregory CLEMENT <gregory.clement@bootlin.com>2019-06-03 16:43:10 +0200
commitd8cc5cf08b1152b5c8064f6ae549bf3fee61ca85 (patch)
tree935d5be6bb5e7ea750e0a2fc8fae00016db6d460
parentarm64: dts: marvell: Enable AP806 thermal throttling with CPUfreq (diff)
downloadlinux-d8cc5cf08b1152b5c8064f6ae549bf3fee61ca85.tar.xz
linux-d8cc5cf08b1152b5c8064f6ae549bf3fee61ca85.zip
arm64: dts: marvell: Disable AP I2C on Armada-8040-DB
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>
-rw-r--r--arch/arm64/boot/dts/marvell/armada-8040-db.dts7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts
index 9f4f939ab65f..d6e9c014c2f9 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts
+++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts
@@ -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 {
@@ -72,11 +74,6 @@
};
};
-&i2c0 {
- status = "okay";
- clock-frequency = <100000>;
-};
-
&spi0 {
status = "okay";