]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: at91: pm: use proper compatibles for sama7g5's rtc and rtt
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Mon, 23 May 2022 09:24:21 +0000 (12:24 +0300)
committerClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 28 Jun 2022 09:55:32 +0000 (12:55 +0300)
Use proper compatible strings for SAMA7G5's RTC and RTT IPs. These are
necessary for configuring wakeup sources for ULP1 PM mode.

Fixes: 806d593d9502 ("ARM: at91: pm: add pm support for SAMA7G5")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220523092421.317345-4-claudiu.beznea@microchip.com
arch/arm/mach-at91/pm.c

index f017b2d1b11ebeef5dc2b6311504497a7b79d666..826fd56d2a179a0b27011f413c227a31d1d2be6c 100644 (file)
@@ -224,13 +224,13 @@ static const struct of_device_id sam9x60_ws_ids[] = {
 };
 
 static const struct of_device_id sama7g5_ws_ids[] = {
-       { .compatible = "atmel,at91sam9x5-rtc",         .data = &ws_info[1] },
+       { .compatible = "microchip,sama7g5-rtc",        .data = &ws_info[1] },
        { .compatible = "microchip,sama7g5-ohci",       .data = &ws_info[2] },
        { .compatible = "usb-ohci",                     .data = &ws_info[2] },
        { .compatible = "atmel,at91sam9g45-ehci",       .data = &ws_info[2] },
        { .compatible = "usb-ehci",                     .data = &ws_info[2] },
        { .compatible = "microchip,sama7g5-sdhci",      .data = &ws_info[3] },
-       { .compatible = "atmel,at91sam9260-rtt",        .data = &ws_info[4] },
+       { .compatible = "microchip,sama7g5-rtt",        .data = &ws_info[4] },
        { /* sentinel */ }
 };