build/patch/kernel/archive/odroidxu4-5.12/0062-ODROID-N2-arm64-dts-add-new-RTC-node-to-I2C-3.patch

32 lines
903 B
Diff

From 540186425e60ded79430948b04151195c8437ebf Mon Sep 17 00:00:00 2001
From: Dongjin Kim <tobetter@gmail.com>
Date: Thu, 22 Oct 2020 13:04:53 +0900
Subject: [PATCH 062/109] ODROID-N2: arm64/dts: add new RTC node to I2C-3
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I9bd614306135fd31d80c6f03ac5192320ab21a84
---
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
index 3aa8da458e5d..17614be1901c 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
@@ -549,6 +549,12 @@ &i2c3 {
/* default 100k */
clock-frequency = <100000>;
+
+ rtc: rtc@51 {
+ compatible = "nxp,pcf8563";
+ reg = <0x51>;
+ status = "okay";
+ };
};
&ir {
--
2.25.1