summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2016-07-21 11:34:32 +0200
committerStefan Roese <sr@denx.de>2016-09-27 17:29:53 +0200
commit9e9e63c027e52549fcb51188394c6d3a534401c6 (patch)
tree315b8be2cac10b88e7eb5ce44d4aa0fc87484048 /arch
parent3f84e2e8906797772d920a770e556c24762ce464 (diff)
downloadu-boot-imx-9e9e63c027e52549fcb51188394c6d3a534401c6.zip
u-boot-imx-9e9e63c027e52549fcb51188394c6d3a534401c6.tar.gz
u-boot-imx-9e9e63c027e52549fcb51188394c6d3a534401c6.tar.bz2
arm64: mvebu: Armada 3700: Add I2C device tree nodes
This patch adds the I2C device tree nodes that are still missing to the Armada 3700 dts files. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Nadav Haklai <nadavh@marvell.com> Cc: Kostya Porotchkin <kostap@marvell.com> Cc: Wilson Ding <dingwei@marvell.com> Cc: Victor Gu <xigu@marvell.com> Cc: Hua Jing <jinghua@marvell.com> Cc: Terry Zhou <bjzhou@marvell.com> Cc: Hanna Hawa <hannah@marvell.com> Cc: Haim Boot <hayim@marvell.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/armada-3720-db.dts5
-rw-r--r--arch/arm/dts/armada-37xx.dtsi6
2 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-3720-db.dts b/arch/arm/dts/armada-3720-db.dts
index 2cc99bf..f177c76 100644
--- a/arch/arm/dts/armada-3720-db.dts
+++ b/arch/arm/dts/armada-3720-db.dts
@@ -58,6 +58,7 @@
aliases {
ethernet0 = &eth0;
+ 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@11000 {
+ compatible = "marvell,armada-3700-i2c";
+ reg = <0x11000 0x100>;
+ status = "disabled";
+ };
+
spi0: spi@10600 {
compatible = "marvell,armada-3700-spi";
reg = <0x10600 0x50>;