From e477eff6303b3c5cb9bdbe5f6568ce1ef74b5f66 Mon Sep 17 00:00:00 2001 From: Gray Huang Date: Wed, 29 Apr 2026 14:37:07 +0800 Subject: [PATCH] arm64: dts: rockchip: Add HYM8563 RTC for Khadas Edge 2L The Khadas Edge 2L uses an on-board HYM8563 RTC connected to I2C2. Enable it and expose its 32.768kHz clock output so later board-level patches can reference it as the LPO clock source for the AP6275P wireless module. Mark the RTC as a wakeup source as well. Signed-off-by: Gray Huang Link: https://patch.msgid.link/20260429063712.2150938-3-gray.huang@wesion.com Signed-off-by: Heiko Stuebner --- .../boot/dts/rockchip/rk3576-khadas-edge-2l.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts b/arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts index c39c7f90b6fb..cf846b24a24a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts +++ b/arch/arm64/boot/dts/rockchip/rk3576-khadas-edge-2l.dts @@ -470,6 +470,18 @@ regulator-state-mem { }; }; +&i2c2 { + status = "okay"; + + hym8563: rtc@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + #clock-cells = <0>; + clock-output-names = "hym8563"; + wakeup-source; + }; +}; + &sdhci { bus-width = <8>; no-sdio;