From e208b448f6b0221ad8be27ce035b4fa5b5314548 Mon Sep 17 00:00:00 2001 From: Shreeya Patel <shreeya.patel@collabora.com> Date: Mon, 3 Apr 2023 22:00:29 +0530 Subject: [PATCH] arm64: dts: rockchip: Add RTC support for RK3588 Add DT node to enable RTC support on RK3588 board. Signed-off-by: Shreeya Patel <shreeya.patel@collabora.com> --- .../boot/dts/rockchip/rk3588-rock-5b.dts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts index 3bd80622423a0..9f798988c9220 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts @@ -80,6 +80,23 @@ sound { }; }; +&i2c6 { + status = "okay"; + + hym8563: hym8563@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 = <RK_PB0 IRQ_TYPE_LEVEL_LOW>; + wakeup-source; + }; +}; + &i2c7 { status = "okay"; @@ -184,6 +201,12 @@ &usb_host1_ohci { }; &pinctrl { + hym8563 { + hym8563_int: hym8563-int { + rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + sound { hp_detect: hp-detect { rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; -- GitLab