arm64: dts: ti: k3-am62-wakeup: Introduce RTC node
authorNishanth Menon <nm@ti.com>
Mon, 20 Mar 2023 16:51:22 +0000 (11:51 -0500)
committerNishanth Menon <nm@ti.com>
Mon, 20 Mar 2023 17:46:23 +0000 (12:46 -0500)
Introduce digital RTC node in wakeup domain. Even though this has
no specific battery backup supply, this on-chip RTC is used in
cost-optimized board designs as a wakeup source.

Reviewed-by: Dhruva Gole <d-gole@ti.com>
Reviewed-by: Bryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20230320165123.80561-2-nm@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi

index 38dced6b4fef99b7c86b093074f3ad1b999803a9..fec81546fbbdcde1b051a58411f28007665a9919 100644 (file)
                clock-names = "fck";
                status = "disabled";
        };
+
+       wkup_rtc0: rtc@2b1f0000 {
+               compatible = "ti,am62-rtc";
+               reg = <0x00 0x2b1f0000 0x00 0x100>;
+               interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&k3_clks 117 6> , <&k3_clks 117 0>;
+               clock-names = "vbus", "osc32k";
+               power-domains = <&k3_pds 117 TI_SCI_PD_EXCLUSIVE>;
+               wakeup-source;
+       };
 };