Skip to content

Commit

Permalink
[POWERPC] Xilinx: Add correct compatible list for device tree bus bin…
Browse files Browse the repository at this point in the history
…dings.

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>
  • Loading branch information
Stephen Neuendorffer authored and Grant Likely committed Jan 9, 2008
1 parent 021a607 commit faa6511
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion arch/powerpc/platforms/40x/virtex.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,19 @@
#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;
}
Expand Down

0 comments on commit faa6511

Please sign in to comment.