]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: mvebu: Armada 3700: Add I2C device tree nodes
authorStefan Roese <sr@denx.de>
Thu, 21 Jul 2016 09:34:32 +0000 (11:34 +0200)
committerStefan Roese <sr@denx.de>
Tue, 27 Sep 2016 15:29:53 +0000 (17:29 +0200)
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>
arch/arm/dts/armada-3720-db.dts
arch/arm/dts/armada-37xx.dtsi

index 2cc99bfa1ab8017bf08653b79cf5e78156f622a2..f177c76f2e920a02fdf1971091b6bbcb2142b2e4 100644 (file)
@@ -58,6 +58,7 @@
 
        aliases {
                ethernet0 = &eth0;
+               i2c0 = &i2c0;
                spi0 = &spi0;
        };
 
        phy-mode = "rgmii";
 };
 
+&i2c0 {
+       status = "okay";
+};
+
 /* CON3 */
 &sata {
        status = "okay";
index 0c01d4393380620dc24bf86a06a6b9ff78bcea82..9f350df57496480d275b745059fe42770149da40 100644 (file)
                                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>;