summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Hecht <ulrich.hecht@gmail.com>2014-03-31 17:38:20 +0200
committerSimon Horman <horms+renesas@verge.net.au>2014-04-14 04:31:17 +0200
commit584b23db5beb3bd3a3c0767248a4843cac848a58 (patch)
treef44b0cb684038a6a07bbfd93348789d1772de4d8
parentARM: shmobile: r8a7791: Add EHCI MSTP clock (diff)
downloadlinux-584b23db5beb3bd3a3c0767248a4843cac848a58.tar.xz
linux-584b23db5beb3bd3a3c0767248a4843cac848a58.zip
ARM: shmobile: armadillo-reference dts: enable RTC
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> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts
index 97342a4820cf..0cb235a450b9 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>;
@@ -167,6 +177,14 @@
};
};
+&i2c2 {
+ status = "okay";
+ rtc@30 {
+ compatible = "seiko,s35390a";
+ reg = <0x30>;
+ };
+};
+
&pfc {
pinctrl-0 = <&scifa1_pins>;
pinctrl-names = "default";