diff options
Diffstat (limited to 'arch/powerpc/sysdev/xilinx_intc.c')
-rw-r--r-- | arch/powerpc/sysdev/xilinx_intc.c | 8 |
1 files changed, 7 insertions, 1 deletions
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); |