From: Ulrich Hecht <ulrich.hecht@gmail.com>
To: linux-sh@vger.kernel.org
Subject: [PATCH] ARM: shmobile: armadillo-reference dts: enable RTC
Date: Mon, 31 Mar 2014 15:38:20 +0000 [thread overview]
Message-ID: <1396280300-7016-1-git-send-email-ulrich.hecht@gmail.com> (raw)
In-Reply-To: <1378900273-10188-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com>
This enables the Seiko real-time clock that is attached to a couple of
GPIO pins.
Signed-off-by: Ulrich Hecht <ulrich.hecht@gmail.com>
---
.../arm/boot/dts/r8a7740-armadillo800eva-reference.dts | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts
index b79ea51..ac352ef 100644
--- a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts
+++ b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts
@@ -118,6 +118,16 @@
};
};
+ i2c2: i2c@2 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "i2c-gpio";
+ gpios = <&pfc 208 GPIO_ACTIVE_HIGH /* sda */
+ &pfc 91 GPIO_ACTIVE_HIGH /* scl */
+ >;
+ i2c-gpio,delay-us = <5>;
+ };
+
backlight {
compatible = "pwm-backlight";
pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>;
@@ -178,6 +188,14 @@
};
};
+&i2c2 {
+ status = "okay";
+ rtc@30 {
+ compatible = "seiko,s35390a";
+ reg = <0x30>;
+ };
+};
+
&pfc {
pinctrl-0 = <&scifa1_pins>;
pinctrl-names = "default";
--
1.8.4.5
next prev parent reply other threads:[~2014-03-31 15:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-11 11:51 [PATCH] ARM: shmobile: armadillo-reference: Add PWM backlight node to DT Laurent Pinchart
2013-09-25 5:01 ` Simon Horman
2014-03-31 15:38 ` Ulrich Hecht [this message]
2014-04-03 9:42 ` [PATCH] ARM: shmobile: armadillo-reference dts: enable RTC Geert Uytterhoeven
2014-04-03 0:11 ` Simon Horman
2014-04-03 8:30 ` Ulrich Hecht
2014-04-03 9:40 ` Geert Uytterhoeven
2014-04-04 10:06 ` Geert Uytterhoeven
2014-04-08 0:50 ` Simon Horman
2014-04-15 12:51 ` [PATCH] ARM: shmobile: armadillo-reference dts: Seiko Instruments, Inc is "sii" Geert Uytterhoeven
2014-04-15 14:26 ` Ulrich Hecht
2014-04-16 1:04 ` Simon Horman
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=1396280300-7016-1-git-send-email-ulrich.hecht@gmail.com \
--to=ulrich.hecht@gmail.com \
--cc=linux-sh@vger.kernel.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).