[POWERPC] Xilinx: Add correct compatible list for device tree bus bindings.
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Tue, 8 Jan 2008 19:35:06 +0000 (06:35 +1100)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 9 Jan 2008 14:56:29 +0000 (07:56 -0700)
Includes both flavors of plb, opb, dcr, and a pseudo 'compound' bus
for representing compound peripherals containing more than one logical
device.

Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/platforms/40x/virtex.c

index 43fcc8e9f7d0f7610c73333fe86162ad47134247..88b66444dfb24df543a76692f426d9ea8156b765 100644 (file)
 #include <asm/time.h>
 #include <asm/xilinx_intc.h>
 
+static struct of_device_id xilinx_of_bus_ids[] __initdata = {
+       { .compatible = "xlnx,plb-v46-1.00.a", },
+       { .compatible = "xlnx,plb-v34-1.01.a", },
+       { .compatible = "xlnx,plb-v34-1.02.a", },
+       { .compatible = "xlnx,opb-v20-1.10.c", },
+       { .compatible = "xlnx,dcr-v29-1.00.a", },
+       { .compatible = "xlnx,compound", },
+       {}
+};
+
 static int __init virtex_device_probe(void)
 {
-       of_platform_bus_probe(NULL, NULL, NULL);
+       of_platform_bus_probe(NULL, xilinx_of_bus_ids, NULL);
 
        return 0;
 }