This modifies several FreeBSD drivers to use the hardware strings
present in the GNU dts files. Submitted by: John Wehle Reviewed by: imp
This commit is contained in:
parent
498c473a94
commit
5254cb2676
@ -93,7 +93,7 @@ aml8726_iic_probe(device_t dev)
|
||||
if (!ofw_bus_status_okay(dev))
|
||||
return (ENXIO);
|
||||
|
||||
if (!ofw_bus_is_compatible(dev, "amlogic,aml8726-i2c"))
|
||||
if (!ofw_bus_is_compatible(dev, "amlogic,meson6-i2c"))
|
||||
return (ENXIO);
|
||||
|
||||
device_set_desc(dev, "Amlogic aml8726 I2C");
|
||||
|
@ -226,7 +226,7 @@ aml8726_timer_probe(device_t dev)
|
||||
if (!ofw_bus_status_okay(dev))
|
||||
return (ENXIO);
|
||||
|
||||
if (!ofw_bus_is_compatible(dev, "amlogic,aml8726-timer"))
|
||||
if (!ofw_bus_is_compatible(dev, "amlogic,meson6-timer"))
|
||||
return (ENXIO);
|
||||
|
||||
device_set_desc(dev, "Amlogic aml8726 timer");
|
||||
|
@ -167,7 +167,7 @@ aml8726_wdt_probe(device_t dev)
|
||||
if (!ofw_bus_status_okay(dev))
|
||||
return (ENXIO);
|
||||
|
||||
if (!ofw_bus_is_compatible(dev, "amlogic,aml8726-wdt"))
|
||||
if (!ofw_bus_is_compatible(dev, "amlogic,meson6-wdt"))
|
||||
return (ENXIO);
|
||||
|
||||
device_set_desc(dev, "Amlogic aml8726 WDT");
|
||||
|
Loading…
Reference in New Issue
Block a user