]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: at91: sama7g5: add rtc node
authorEugen Hristev <eugen.hristev@microchip.com>
Wed, 20 Oct 2021 09:46:54 +0000 (12:46 +0300)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Thu, 21 Oct 2021 11:45:05 +0000 (13:45 +0200)
Add RTC node.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
[claudiu.beznea: add sama7g5 compatible as the IP has 2 extra registers
 compared with sam9x60]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20211020094656.3343242-2-claudiu.beznea@microchip.com
arch/arm/boot/dts/sama7g5.dtsi

index c9725d080e2036ae334dae445f53ba16ca4fed6f..0912219ed5a1610d092e518e65325052c632bd3e 100644 (file)
                        reg = <0xe001d060 0x48>;
                };
 
+               rtc: rtc@e001d0a8 {
+                       compatible = "microchip,sama7g5-rtc", "microchip,sam9x60-rtc";
+                       reg = <0xe001d0a8 0x30>;
+                       interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&clk32k 1>;
+               };
+
                ps_wdt: watchdog@e001d180 {
                        compatible = "microchip,sama7g5-wdt";
                        reg = <0xe001d180 0x24>;