svn commit: r306064 - head/sys/powerpc/mpc85xx

Justin Hibbits jhibbits at FreeBSD.org
Wed Sep 21 02:27:24 UTC 2016


Author: jhibbits
Date: Wed Sep 21 02:27:23 2016
New Revision: 306064
URL: https://svnweb.freebsd.org/changeset/base/306064

Log:
  Add yet another QorIQ GPIO compat string.
  
  P1022 boards use the string "fsl,pq3-gpio", which seems to be common in Linux
  dts files.

Modified:
  head/sys/powerpc/mpc85xx/qoriq_gpio.c

Modified: head/sys/powerpc/mpc85xx/qoriq_gpio.c
==============================================================================
--- head/sys/powerpc/mpc85xx/qoriq_gpio.c	Wed Sep 21 00:50:22 2016	(r306063)
+++ head/sys/powerpc/mpc85xx/qoriq_gpio.c	Wed Sep 21 02:27:23 2016	(r306064)
@@ -220,6 +220,7 @@ qoriq_gpio_probe(device_t dev)
 {
 
 	if (!ofw_bus_is_compatible(dev, "fsl,qoriq-gpio") &&
+	    !ofw_bus_is_compatible(dev, "fsl,pq3-gpio") &&
 	    !ofw_bus_is_compatible(dev, "fsl,mpc8572-gpio"))
 		return (ENXIO);
 


More information about the svn-src-all mailing list