summaryrefslogtreecommitdiffstats
path: root/sys/arm/allwinner
diff options
context:
space:
mode:
authorganbold <ganbold@FreeBSD.org>2013-01-25 07:21:22 +0000
committerganbold <ganbold@FreeBSD.org>2013-01-25 07:21:22 +0000
commit8533809c9b39d164d0288ea38cb43181a0ac46fc (patch)
treec1fb8e7300fa6739b6534e09bd7254a5783771ac /sys/arm/allwinner
parent069e512501152988573a86950660e4d3a38678b5 (diff)
downloadFreeBSD-src-8533809c9b39d164d0288ea38cb43181a0ac46fc.zip
FreeBSD-src-8533809c9b39d164d0288ea38cb43181a0ac46fc.tar.gz
Fix method of naming compatible string to follow
"<manufacturer>,<model>" as described in http://www.devicetree.org/Device_Tree_Usage Reviewed by: andrew@ Approved by: gonzo@
Diffstat (limited to 'sys/arm/allwinner')
-rw-r--r--sys/arm/allwinner/aintc.c2
-rw-r--r--sys/arm/allwinner/common.c2
-rw-r--r--sys/arm/allwinner/timer.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/arm/allwinner/aintc.c b/sys/arm/allwinner/aintc.c
index 9416b9a..bfa35f5 100644
--- a/sys/arm/allwinner/aintc.c
+++ b/sys/arm/allwinner/aintc.c
@@ -97,7 +97,7 @@ static struct a10_aintc_softc *a10_aintc_sc = NULL;
static int
a10_aintc_probe(device_t dev)
{
- if (!ofw_bus_is_compatible(dev, "a10,aintc"))
+ if (!ofw_bus_is_compatible(dev, "allwinner,sun4i-ic"))
return (ENXIO);
device_set_desc(dev, "A10 AINTC Interrupt Controller");
return (BUS_PROBE_DEFAULT);
diff --git a/sys/arm/allwinner/common.c b/sys/arm/allwinner/common.c
index 0b4e16a..eb49479 100644
--- a/sys/arm/allwinner/common.c
+++ b/sys/arm/allwinner/common.c
@@ -47,7 +47,7 @@ static int
fdt_aintc_decode_ic(phandle_t node, pcell_t *intr, int *interrupt, int *trig,
int *pol)
{
- if (!fdt_is_compatible(node, "a10,aintc"))
+ if (!fdt_is_compatible(node, "allwinner,sun4i-ic"))
return (ENXIO);
*interrupt = fdt32_to_cpu(intr[0]);
diff --git a/sys/arm/allwinner/timer.c b/sys/arm/allwinner/timer.c
index c1a56f3..4da3517 100644
--- a/sys/arm/allwinner/timer.c
+++ b/sys/arm/allwinner/timer.c
@@ -141,7 +141,7 @@ static int
a10_timer_probe(device_t dev)
{
- if (!ofw_bus_is_compatible(dev, "a10,timers"))
+ if (!ofw_bus_is_compatible(dev, "allwinner,sun4i-timer"))
return (ENXIO);
device_set_desc(dev, "Allwinner A10 timer");
OpenPOWER on IntegriCloud