aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>2008-01-11 08:02:57 -0500
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2008-01-11 08:02:57 -0500
commit98c31c1d6c9c8a7e57cdac96ad574e0e172d3192 (patch)
treeab870590bfaf03fb8f9a41b7f61f0b329cd33498 /arch
parent78994e240fce03832ceebc875c43773a2c615e79 (diff)
parentf67702a37533f59eee3386578450eeeb531da279 (diff)
Merge branch 'virtex-for-2.6.25' of git://git.secretlab.ca/git/linux-2.6-virtex into for-2.6.25
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/boot/serial.c3
-rw-r--r--arch/powerpc/platforms/40x/virtex.c12
-rw-r--r--arch/powerpc/sysdev/xilinx_intc.c8
3 files changed, 20 insertions, 3 deletions
diff --git a/arch/powerpc/boot/serial.c b/arch/powerpc/boot/serial.c
index cafeece20ac7..b6c68ef46809 100644
--- a/arch/powerpc/boot/serial.c
+++ b/arch/powerpc/boot/serial.c
@@ -128,7 +128,8 @@ int serial_console_init(void)
128 rc = cpm_console_init(devp, &serial_cd); 128 rc = cpm_console_init(devp, &serial_cd);
129 else if (dt_is_compatible(devp, "mpc5200-psc-uart")) 129 else if (dt_is_compatible(devp, "mpc5200-psc-uart"))
130 rc = mpc5200_psc_console_init(devp, &serial_cd); 130 rc = mpc5200_psc_console_init(devp, &serial_cd);
131 else if (dt_is_compatible(devp, "xilinx,uartlite")) 131 else if (dt_is_compatible(devp, "xlnx,opb-uartlite-1.00.b") ||
132 dt_is_compatible(devp, "xlnx,xps-uartlite-1.00.a"))
132 rc = uartlite_console_init(devp, &serial_cd); 133 rc = uartlite_console_init(devp, &serial_cd);
133 134
134 /* Add other serial console driver calls here */ 135 /* Add other serial console driver calls here */
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}
diff --git a/arch/powerpc/sysdev/xilinx_intc.c b/arch/powerpc/sysdev/xilinx_intc.c
index c2f17cc43dfa..ba8eea2bcce0 100644
--- a/arch/powerpc/sysdev/xilinx_intc.c
+++ b/arch/powerpc/sysdev/xilinx_intc.c
@@ -135,10 +135,16 @@ void __init xilinx_intc_init_tree(void)
135 struct device_node *np; 135 struct device_node *np;
136 136
137 /* find top level interrupt controller */ 137 /* find top level interrupt controller */
138 for_each_compatible_node(np, NULL, "xilinx,intc") { 138 for_each_compatible_node(np, NULL, "xlnx,opb-intc-1.00.c") {
139 if (!of_get_property(np, "interrupts", NULL)) 139 if (!of_get_property(np, "interrupts", NULL))
140 break; 140 break;
141 } 141 }
142 if (!np) {
143 for_each_compatible_node(np, NULL, "xlnx,xps-intc-1.00.a") {
144 if (!of_get_property(np, "interrupts", NULL))
145 break;
146 }
147 }
142 148
143 /* xilinx interrupt controller needs to be top level */ 149 /* xilinx interrupt controller needs to be top level */
144 BUG_ON(!np); 150 BUG_ON(!np);