[U-Boot] [PATCH 11/15] arm64: mvebu: Armada 3700: Add I2C device tree nodes
Stefan Roese
sr at denx.de
Fri Sep 16 15:09:43 CEST 2016
This patch adds the I2C device tree nodes that are still missing to
the Armada 3700 dts files.
Signed-off-by: Stefan Roese <sr at denx.de>
Cc: Nadav Haklai <nadavh at marvell.com>
Cc: Kostya Porotchkin <kostap at marvell.com>
Cc: Wilson Ding <dingwei at marvell.com>
Cc: Victor Gu <xigu at marvell.com>
Cc: Hua Jing <jinghua at marvell.com>
Cc: Terry Zhou <bjzhou at marvell.com>
Cc: Hanna Hawa <hannah at marvell.com>
Cc: Haim Boot <hayim at marvell.com>
---
arch/arm/dts/armada-3720-db.dts | 5 +++++
arch/arm/dts/armada-37xx.dtsi | 6 ++++++
2 files changed, 11 insertions(+)
diff --git a/arch/arm/dts/armada-3720-db.dts b/arch/arm/dts/armada-3720-db.dts
index 87fde2a..ec73786 100644
--- a/arch/arm/dts/armada-3720-db.dts
+++ b/arch/arm/dts/armada-3720-db.dts
@@ -58,6 +58,7 @@
aliases {
ethernet0 = ð0;
+ i2c0 = &i2c0;
spi0 = &spi0;
};
@@ -72,6 +73,10 @@
phy-mode = "rgmii";
};
+&i2c0 {
+ status = "okay";
+};
+
/* CON3 */
&sata {
status = "okay";
diff --git a/arch/arm/dts/armada-37xx.dtsi b/arch/arm/dts/armada-37xx.dtsi
index 0c01d43..9f350df 100644
--- a/arch/arm/dts/armada-37xx.dtsi
+++ b/arch/arm/dts/armada-37xx.dtsi
@@ -153,6 +153,12 @@
status = "disabled";
};
+ i2c0: i2c at 11000 {
+ compatible = "marvell,armada-3700-i2c";
+ reg = <0x11000 0x100>;
+ status = "disabled";
+ };
+
spi0: spi at 10600 {
compatible = "marvell,armada-3700-spi";
reg = <0x10600 0x50>;
--
2.9.3
More information about the U-Boot
mailing list