aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/40x/virtex.c
diff options
context:
space:
mode:
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>2008-01-08 14:35:06 -0500
committerGrant Likely <grant.likely@secretlab.ca>2008-01-09 09:56:29 -0500
commitfaa6511109026f1549619ebce972be00d1b921ce (patch)
treea11010cb4eacd1946a5509abcf04a5481711d3a1 /arch/powerpc/platforms/40x/virtex.c
parent021a607c2fe59cc5c37fd67813b4a61fd2f7e61b (diff)
[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: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/powerpc/platforms/40x/virtex.c')
-rw-r--r--arch/powerpc/platforms/40x/virtex.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/40x/virtex.c b/arch/powerpc/platforms/40x/virtex.c
index 43fcc8e9f7d0..88b66444dfb2 100644
--- a/arch/powerpc/platforms/40x/virtex.c
+++ b/arch/powerpc/platforms/40x/virtex.c
@@ -15,9 +15,19 @@
15#include <asm/time.h> 15#include <asm/time.h>
16#include <asm/xilinx_intc.h> 16#include <asm/xilinx_intc.h>
17 17
18static struct of_device_id xilinx_of_bus_ids[] __initdata = {
19 { .compatible = "xlnx,plb-v46-1.00.a", },
20 { .compatible = "xlnx,plb-v34-1.01.a", },
21 { .compatible = "xlnx,plb-v34-1.02.a", },
22 { .compatible = "xlnx,opb-v20-1.10.c", },
23 { .compatible = "xlnx,dcr-v29-1.00.a", },
24 { .compatible = "xlnx,compound", },
25 {}
26};
27
18static int __init virtex_device_probe(void) 28static int __init virtex_device_probe(void)
19{ 29{
20 of_platform_bus_probe(NULL, NULL, NULL); 30 of_platform_bus_probe(NULL, xilinx_of_bus_ids, NULL);
21 31
22 return 0; 32 return 0;
23} 33}