Make at91_pmc probe any at91 pmc device we support, not just at91rm9200.
MFC after: 1 week
This commit is contained in:
parent
2ff57ca0cc
commit
a3f8e2c7fc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290420
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user