From: Gray Huang Date: Wed, 29 Apr 2026 06:37:07 +0000 (+0800) Subject: arm64: dts: rockchip: Add HYM8563 RTC for Khadas Edge 2L X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e477eff6303b3c5cb9bdbe5f6568ce1ef74b5f66;p=thirdparty%2Fkernel%2Flinux.git 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 --- 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 c39c7f90b6fba..cf846b24a24a8 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 @@ }; }; +&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;