public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: iwamatsu@nigauri.org (Nobuhiro Iwamatsu)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] ARM: mvebu: Add support I2C controller
Date: Tue, 30 Oct 2012 19:41:23 +0900	[thread overview]
Message-ID: <1351593685-19663-1-git-send-email-iwamatsu@nigauri.org> (raw)

The mvebu arch has the same I2C controller as mv64xxx-i2c.
This support mv64xxx-i2c on mvebu.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
 arch/arm/boot/dts/armada-370-xp.dtsi |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
index d0ea4a6..5da85c2 100644
--- a/arch/arm/boot/dts/armada-370-xp.dtsi
+++ b/arch/arm/boot/dts/armada-370-xp.dtsi
@@ -83,6 +83,29 @@
                                interrupts = <10>;
                                status = "disabled";
                 };
+
+
+		i2c0: i2c at d0011000 {
+			compatible = "marvell,mv64xxx-i2c";
+			reg = <0xd0011000 0x20>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			interrupts = <31>;
+			timeout-ms = <1000>;
+			clocks = <&coreclk 0>;
+			status = "disabled";
+		};
+
+		i2c1: i2c at d0011100 {
+			compatible = "marvell,mv64xxx-i2c";
+			reg = <0xd0011100 0x20>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			interrupts = <32>;
+			timeout-ms = <1000>;
+			clocks = <&coreclk 0>;
+			status = "disabled";
+		};
 	};
 };
 
-- 
1.7.10.4

             reply	other threads:[~2012-10-30 10:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-30 10:41 Nobuhiro Iwamatsu [this message]
2012-10-30 10:41 ` [PATCH 2/3] ARM: mvebu: Add support I2C for OpenBlockS AX3 Nobuhiro Iwamatsu
2012-10-30 10:41 ` [PATCH 3/3] ARM: mvebu: Add support RTC " Nobuhiro Iwamatsu
2012-10-30 10:48 ` [PATCH 1/3] ARM: mvebu: Add support I2C controller Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1351593685-19663-1-git-send-email-iwamatsu@nigauri.org \
    --to=iwamatsu@nigauri.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox