From 9164cc93cab6b262cd1e0aa32613eab36b970d63 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Wed, 24 Dec 2025 22:19:06 +0100 Subject: [PATCH] rockchip64-6.18: mekotronics-r58-4x4: rtc --- .../dt/rk3588-blueberry-r58-4x4.dts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/patch/kernel/archive/rockchip64-6.18/dt/rk3588-blueberry-r58-4x4.dts b/patch/kernel/archive/rockchip64-6.18/dt/rk3588-blueberry-r58-4x4.dts index 8681b0b953..7f04494bfa 100644 --- a/patch/kernel/archive/rockchip64-6.18/dt/rk3588-blueberry-r58-4x4.dts +++ b/patch/kernel/archive/rockchip64-6.18/dt/rk3588-blueberry-r58-4x4.dts @@ -282,6 +282,24 @@ }; }; +&i2c6 { + status = "okay"; + + hym8563: rtc@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + #clock-cells = <0>; + clock-frequency = <32768>; + clock-output-names = "hym8563"; + pinctrl-names = "default"; + pinctrl-0 = <&hym8563_int>; + interrupt-parent = <&gpio0>; + interrupts = ; //RTCIC_INT_L_GPIO0_B2 + wakeup-source; + }; +}; + + //hdmi0 sound &i2s5_8ch { status = "okay"; @@ -355,6 +373,11 @@ }; }; + hym8563 { + hym8563_int: hym8563-int { + rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; }; &saradc {