diff options
author | cognet <cognet@FreeBSD.org> | 2015-11-05 22:03:20 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2015-11-05 22:03:20 +0000 |
commit | 2764ea63e8adec6c91e05ab79d026c6097ebf510 (patch) | |
tree | 68925eaa395f9c35be2ac2cf07387e0d4c533851 /sys/arm | |
parent | 09fc048c25b7174824633b1eef94f2461589ab05 (diff) | |
download | FreeBSD-src-2764ea63e8adec6c91e05ab79d026c6097ebf510.zip FreeBSD-src-2764ea63e8adec6c91e05ab79d026c6097ebf510.tar.gz |
Make at91_pmc probe any at91 pmc device we support, not just at91rm9200.
MFC after: 1 week
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/at91/at91_pmc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arm/at91/at91_pmc.c b/sys/arm/at91/at91_pmc.c index 13d5ff7..16f62ec 100644 --- a/sys/arm/at91/at91_pmc.c +++ b/sys/arm/at91/at91_pmc.c @@ -661,7 +661,10 @@ static int at91_pmc_probe(device_t dev) { #ifdef FDT - if (!ofw_bus_is_compatible(dev, "atmel,at91rm9200-pmc")) + if (!ofw_bus_is_compatible(dev, "atmel,at91rm9200-pmc") && + !ofw_bus_is_compatible(dev, "atmel,at91sam9260-pmc") && + !ofw_bus_is_compatible(dev, "atmel,at91sam9g45-pmc") && + !ofw_bus_is_compatible(dev, "atmel,at91sam9x5-pmc")) return (ENXIO); #endif device_set_desc(dev, "PMC"); |