aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-at91rm9200.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2020-11-17 14:39:20 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-11-17 19:35:09 +0100
commitbfca1c924d97696303491ddae0458861653d3b88 (patch)
tree6242afff357ec107d5ad9660720459c9f3b48922 /drivers/rtc/rtc-at91rm9200.c
parentf6a46f8b302d9bfcf347577cbf1dd22f19dfe555 (diff)
downloadlinux-bfca1c924d97696303491ddae0458861653d3b88.tar.gz
rtc: at91rm9200: Add sam9x60 compatible
Handle the sam9x60 RTC. While it can work with the at91sam9x5 fallback, it has crystal correction support and doesn't need to shadow IMR. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Link: https://lore.kernel.org/r/20201117133920.1229679-1-alexandre.belloni@bootlin.com
Diffstat (limited to 'drivers/rtc/rtc-at91rm9200.c')
-rw-r--r--drivers/rtc/rtc-at91rm9200.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc-at91rm9200.c
index 1eea187d9850a..da24e68adccae 100644
--- a/drivers/rtc/rtc-at91rm9200.c
+++ b/drivers/rtc/rtc-at91rm9200.c
@@ -438,6 +438,9 @@ static const struct of_device_id at91_rtc_dt_ids[] = {
.compatible = "atmel,sama5d2-rtc",
.data = &sama5d4_config,
}, {
+ .compatible = "microchip,sam9x60-rtc",
+ .data = &sama5d4_config,
+ }, {
/* sentinel */
}
};