Commit faa65111 authored by Stephen Neuendorffer's avatar Stephen Neuendorffer Committed by Grant Likely

[POWERPC] Xilinx: Add correct compatible list for device tree bus bindings.

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: default avatarStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 021a607c
...@@ -15,9 +15,19 @@ ...@@ -15,9 +15,19 @@
#include <asm/time.h> #include <asm/time.h>
#include <asm/xilinx_intc.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) 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; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment