linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: s.trumtrar@pengutronix.de (Steffen Trumtrar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 6/6] ARM: socfpga: dts: add rtc on i2c0 to socrates
Date: Mon, 31 Mar 2014 17:40:03 +0200	[thread overview]
Message-ID: <1396280404-2041-6-git-send-email-s.trumtrar@pengutronix.de> (raw)
In-Reply-To: <1396280404-2041-1-git-send-email-s.trumtrar@pengutronix.de>

The SOCrates has an M41T82M RTC on i2c0. Add it.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 arch/arm/boot/dts/socfpga_cyclone5_socrates.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts b/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
index 1e31f32..f8d17dc 100644
--- a/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
+++ b/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
@@ -36,6 +36,15 @@
 	status = "okay";
 };
 
+&i2c0 {
+	status = "okay";
+
+	rtc: rtc at 68 {
+		compatible = "stm,m41t82";
+		reg = <0x68>;
+	};
+};
+
 &mmc {
 	status = "okay";
 };
-- 
1.9.1

      parent reply	other threads:[~2014-03-31 15:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-31 15:39 [PATCH 1/6] ARM: socfpga: dts: fix pdma interrupt Steffen Trumtrar
2014-03-31 15:39 ` [PATCH 2/6] ARM: socfpga: dts: add remaining interrupts for pdma Steffen Trumtrar
2014-03-31 15:40 ` [PATCH 3/6] ARM: socfpga: dts: add i2c busses Steffen Trumtrar
2014-04-01 19:32   ` Dinh Nguyen
2014-04-02  6:57     ` Steffen Trumtrar
2014-03-31 15:40 ` [PATCH 4/6] ARM: socfpga: dts: add can0+1 Steffen Trumtrar
2014-04-01 19:34   ` Dinh Nguyen
2014-04-02  6:54     ` Steffen Trumtrar
2014-03-31 15:40 ` [PATCH 5/6] ARM: socfpga: dts: add support for EBV SOCrates Steffen Trumtrar
2014-03-31 15:40 ` Steffen Trumtrar [this message]

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=1396280404-2041-6-git-send-email-s.trumtrar@pengutronix.de \
    --to=s.trumtrar@pengutronix.de \
    --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;
as well as URLs for NNTP newsgroup(s).