diff options
author | Muhammed Efe Cetin <[email protected]> | 2024-02-20 01:34:25 +0300 |
---|---|---|
committer | Heiko Stuebner <[email protected]> | 2024-04-11 20:22:11 +0200 |
commit | c0b3c764b64a5c8eee056e62580de0f44e7dcd0f (patch) | |
tree | 6d71a9995a510850badcc2c0443f36d0a4acada0 | |
parent | e438acfda8a0088a3c7f450a7ffefeb56074e41e (diff) |
arm64: dts: rockchip: Add RTC to Khadas Edge 2
Khadas Edge 2 has PT7C4363 RTC that compatible with HYM8563.
The RTC pinctrl is also connected to MCU.
Signed-off-by: Muhammed Efe Cetin <[email protected]>
Link: https://lore.kernel.org/r/4c4c9140ff36f290ba64ecc8b3e218df6a5ab273.1708381247.git.efectn@protonmail.com
Signed-off-by: Heiko Stuebner <[email protected]>
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts index 4173afb78f9b..ea085abb98ec 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts @@ -216,6 +216,18 @@ }; }; +&i2c2 { + status = "okay"; + + hym8563: rtc@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + #clock-cells = <0>; + clock-output-names = "hym8563"; + wakeup-source; + }; +}; + &pinctrl { vdd_sd { vdd_sd_en: vdd-sd-en { |