From 342d6e14165eebac7279b7ea3a3d34a7224cc6f0 Mon Sep 17 00:00:00 2001 From: Brian Mayer Date: Sun, 5 Jul 2026 15:19:19 -0300 Subject: [PATCH] arm64: dts: rockchip: add HYM8563 RTC to Radxa CM5 IO board Describe the Haoyu HYM8563 RTC connected to I2C6 on the Radxa CM5 IO carrier including its interrupt line. Assisted-by: Grok:grok-build Signed-off-by: Brian Mayer Link: https://patch.msgid.link/20260705181920.8633-1-bleemayer@gmail.com Signed-off-by: Heiko Stuebner --- .../dts/rockchip/rk3588s-radxa-cm5-io.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5-io.dts b/arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5-io.dts index af4a9bc015e1..dc4cc44182f9 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5-io.dts @@ -19,6 +19,7 @@ / { aliases { ethernet0 = &gmac1; mmc1 = &sdmmc; + rtc0 = &hym8563; }; chosen { @@ -198,6 +199,18 @@ usbc0_dp_altmode_mux: endpoint { }; }; }; + + hym8563: rtc@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + #clock-cells = <0>; + clock-output-names = "hym8563"; + interrupt-parent = <&gpio0>; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&rtc_int_l>; + wakeup-source; + }; }; &i2s5_8ch { @@ -227,6 +240,12 @@ hdmi0_tx_on_h: hdmi0-tx-on-h { }; }; + hym8563 { + rtc_int_l: rtc-int-l { + rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + usb { vcc5v0_host_en: vcc5v0-host-en { rockchip,pins = <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;