aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2021-03-03 14:09:45 +1300
committerPriyanka Jain <priyanka.jain@nxp.com>2021-03-23 18:06:07 +0530
commit805c525b082bc24616960527a6d640e6a923141a (patch)
tree3b3bc704608d33328f6d79822b51ac1db1e49a06 /arch/powerpc
parentf65774e1f6a0f48bcb52eb3581675e478365f2fa (diff)
downloadu-boot-805c525b082bc24616960527a6d640e6a923141a.tar.gz
powerpc: t2080rdb: Enable RTC support
The T2080RDB has a ds1339 on i2c0. Add this to the devicetree and enable the relevant support in the configs. Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/dts/t2080rdb.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/dts/t2080rdb.dts b/arch/powerpc/dts/t2080rdb.dts
index 34ec6a74cb1..74bbb20e2a1 100644
--- a/arch/powerpc/dts/t2080rdb.dts
+++ b/arch/powerpc/dts/t2080rdb.dts
@@ -30,3 +30,11 @@
spi-max-frequency = <10000000>; /* input clock */
};
};
+
+&i2c0 {
+ status = "okay";
+ rtc@68 {
+ compatible = "dallas,ds1339";
+ reg = <0x68>;
+ };
+};