From 8f3aa4f7086e998cf14f7802c0a9265402847f7d Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Thu, 13 Jul 2023 20:09:38 +0530 Subject: [PATCH] arm64: dts: rockchip: Enable RTC for edgeble-neu6b Add RTC support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki Link: https://lore.kernel.org/r/20230713143941.1756849-5-jagan@edgeble.ai Signed-off-by: Heiko Stuebner --- .../dts/rockchip/rk3588-edgeble-neu6b-io.dts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts index d6982d4aaee66..0583b0d49a0de 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts @@ -25,6 +25,30 @@ status = "okay"; }; +&i2c6 { + status = "okay"; + + hym8563: rtc@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + interrupt-parent = <&gpio0>; + interrupts = ; + #clock-cells = <0>; + clock-output-names = "hym8563"; + pinctrl-names = "default"; + pinctrl-0 = <&hym8563_int>; + wakeup-source; + }; +}; + +&pinctrl { + hym8563 { + hym8563_int: hym8563-int { + rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + &sata0 { status = "okay"; }; -- 2.30.2