Skip to content

Commit 8f3aa4f

Browse files
openedevmmind
authored andcommitted
arm64: dts: rockchip: Enable RTC for edgeble-neu6b
Add RTC support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki <jagan@edgeble.ai> Link: https://lore.kernel.org/r/20230713143941.1756849-5-jagan@edgeble.ai Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 89f713b commit 8f3aa4f

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,30 @@
2525
status = "okay";
2626
};
2727

28+
&i2c6 {
29+
status = "okay";
30+
31+
hym8563: rtc@51 {
32+
compatible = "haoyu,hym8563";
33+
reg = <0x51>;
34+
interrupt-parent = <&gpio0>;
35+
interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
36+
#clock-cells = <0>;
37+
clock-output-names = "hym8563";
38+
pinctrl-names = "default";
39+
pinctrl-0 = <&hym8563_int>;
40+
wakeup-source;
41+
};
42+
};
43+
44+
&pinctrl {
45+
hym8563 {
46+
hym8563_int: hym8563-int {
47+
rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
48+
};
49+
};
50+
};
51+
2852
&sata0 {
2953
status = "okay";
3054
};

0 commit comments

Comments
 (0)