Commit ca3fdc98 authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: at91rm9200: add sama5d4 and sama5d2 compatibles

Both the sama5d4 and sama5d2 RTCs have more features than the previous
RTCs, add a compatible string for them.

Link: https://lore.kernel.org/r/20191229204421.337612-3-alexandre.belloni@bootlin.com


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 4f12de0a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,8 @@ properties:
    enum:
      - atmel,at91rm9200-rtc
      - atmel,at91sam9x5-rtc
      - atmel,sama5d4-rtc
      - atmel,sama5d2-rtc
      - microchip,sam9x60-rtc

  reg:
+6 −0
Original line number Diff line number Diff line
@@ -312,6 +312,12 @@ static const struct of_device_id at91_rtc_dt_ids[] = {
	}, {
		.compatible = "atmel,at91sam9x5-rtc",
		.data = &at91sam9x5_config,
	}, {
		.compatible = "atmel,sama5d4-rtc",
		.data = &at91rm9200_config,
	}, {
		.compatible = "atmel,sama5d2-rtc",
		.data = &at91rm9200_config,
	}, {
		/* sentinel */
	}