[PATCH 1/2] ARM: dt: tegra trimslice: add RTC I2C device

Stephen Warren swarren at wwwdotorg.org
Fri Apr 27 13:50:34 EDT 2012


From: Stephen Warren <swarren at nvidia.com>

According to the device's datasheet, it can support an interrupt too.
However, the existing board file doesn't specify an interrupt, and I
don't have the schematics, so I can't add an interrupts property. The
current Linux driver doesn't support anyway.

Signed-off-by: Stephen Warren <swarren at nvidia.com>
---
 arch/arm/boot/dts/tegra-trimslice.dts |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/tegra-trimslice.dts b/arch/arm/boot/dts/tegra-trimslice.dts
index e4fcf9a..23ffa9e 100644
--- a/arch/arm/boot/dts/tegra-trimslice.dts
+++ b/arch/arm/boot/dts/tegra-trimslice.dts
@@ -250,6 +250,11 @@
 
 	i2c at 7000c500 {
 		clock-frequency = <400000>;
+
+		rtc at 56 {
+			compatible = "emmicro,em3027";
+			reg = <0x56>;
+		};
 	};
 
 	i2c at 7000d000 {
-- 
1.7.0.4




More information about the linux-arm-kernel mailing list