xref: /linux/arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-rtc-rv8263.dtso (revision 0cac5ce06e524755b3dac1e0a060b05992076d93)
1*1c3c4df0SMichael Walle// SPDX-License-Identifier: GPL-2.0-only OR MIT
2*1c3c4df0SMichael Walle/*
3*1c3c4df0SMichael Walle * Microcrystal RV8263 RTC variant.
4*1c3c4df0SMichael Walle *
5*1c3c4df0SMichael Walle * Copyright (c) 2025 Kontron Europe GmbH
6*1c3c4df0SMichael Walle */
7*1c3c4df0SMichael Walle
8*1c3c4df0SMichael Walle/dts-v1/;
9*1c3c4df0SMichael Walle/plugin/;
10*1c3c4df0SMichael Walle
11*1c3c4df0SMichael Walle#include <dt-bindings/interrupt-controller/irq.h>
12*1c3c4df0SMichael Walle
13*1c3c4df0SMichael Walle&{/} {
14*1c3c4df0SMichael Walle	aliases {
15*1c3c4df0SMichael Walle		rtc0 = "/bus@f0000/i2c@20000000/rtc@51"; /* &rtc */
16*1c3c4df0SMichael Walle		rtc1 = "/bus@f0000/bus@b00000/rtc@2b1f0000"; /* &wkup_rtc0 */
17*1c3c4df0SMichael Walle	};
18*1c3c4df0SMichael Walle};
19*1c3c4df0SMichael Walle
20*1c3c4df0SMichael Walle&main_i2c0 {
21*1c3c4df0SMichael Walle	#address-cells = <1>;
22*1c3c4df0SMichael Walle	#size-cells = <0>;
23*1c3c4df0SMichael Walle
24*1c3c4df0SMichael Walle	rtc: rtc@51 {
25*1c3c4df0SMichael Walle		compatible = "microcrystal,rv8263";
26*1c3c4df0SMichael Walle		reg = <0x51>;
27*1c3c4df0SMichael Walle		pinctrl-names = "default";
28*1c3c4df0SMichael Walle		pinctrl-0 = <&rtc_pins_default>;
29*1c3c4df0SMichael Walle		interrupts-extended = <&main_gpio0 36 IRQ_TYPE_EDGE_FALLING>;
30*1c3c4df0SMichael Walle	};
31*1c3c4df0SMichael Walle};
32