summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-12-24 01:19:54 +0100
committerDominik Sliwa <dominik.sliwa@toradex.com>2017-01-11 16:17:32 +0100
commitbf1f68e0df4004c81de6b27886f6132f9804ec05 (patch)
tree4a922279db760b067a1198a01c57e12b8432e5ef
parent774e3704de94c329d3319c30bb2fcade9a6a8dd9 (diff)
apalis-tk1: support i2c rtc
Integrate support for the carrier board level I2C RTC. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
-rw-r--r--arch/arm/boot/dts/tegra124-apalis-eval.dts20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra124-apalis-eval.dts b/arch/arm/boot/dts/tegra124-apalis-eval.dts
index ca4d4fb6e3f3..231d0913e92e 100644
--- a/arch/arm/boot/dts/tegra124-apalis-eval.dts
+++ b/arch/arm/boot/dts/tegra124-apalis-eval.dts
@@ -71,6 +71,26 @@
status = "okay";
};
+ /*
+ * GEN1_I2C: I2C1_SDA/SCL on MXM3 pin 209/211 (e.g. RTC on carrier
+ * board)
+ */
+ i2c@7000c000 {
+ status = "okay";
+ clock-frequency = <100000>;
+
+ pcie-switch@58 {
+ compatible = "plx,pex8605";
+ reg = <0x58>;
+ };
+
+ /* M41T0M6 real time clock on carrier board */
+ rtc@68 {
+ compatible = "st,m41t00";
+ reg = <0x68>;
+ };
+ };
+
/* PWR_I2C: power I2C to audio codec, PMIC and temperature sensor */
i2c@7000d000 {
nvidia,bit-banging-xfer-after-shutdown;