Commit 1e9c2404 authored by Shreeya Patel's avatar Shreeya Patel Committed by Heiko Stuebner

arm64: dts: rockchip: Enable RTC support for Rock 5B

Add DT node to enable RTC support for Rock 5B board.
Signed-off-by: default avatarShreeya Patel <shreeya.patel@collabora.com>
Reviewed-by: default avatarChristopher Obbard <chris.obbard@collabora.com>
Link: https://lore.kernel.org/r/20230405082711.46303-1-shreeya.patel@collabora.comSigned-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 387b3bba
...@@ -27,6 +27,31 @@ vcc5v0_sys: vcc5v0-sys-regulator { ...@@ -27,6 +27,31 @@ vcc5v0_sys: vcc5v0-sys-regulator {
}; };
}; };
&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 = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
wakeup-source;
};
};
&pinctrl {
hym8563 {
hym8563_int: hym8563-int {
rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
};
&sdhci { &sdhci {
bus-width = <8>; bus-width = <8>;
no-sdio; no-sdio;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment