From: Stefan Roese Date: Thu, 21 Jul 2016 09:34:32 +0000 (+0200) Subject: arm64: mvebu: Armada 3700: Add I2C device tree nodes X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=9e9e63c027e52549fcb51188394c6d3a534401c6;p=u-boot.git 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 Cc: Nadav Haklai Cc: Kostya Porotchkin Cc: Wilson Ding Cc: Victor Gu Cc: Hua Jing Cc: Terry Zhou Cc: Hanna Hawa Cc: Haim Boot --- diff --git a/arch/arm/dts/armada-3720-db.dts b/arch/arm/dts/armada-3720-db.dts index 2cc99bfa1a..f177c76f2e 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 0c01d43933..9f350df574 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>;