2 --- a/arch/powerpc/platforms/83xx/rbppc.c
3 +++ b/arch/powerpc/platforms/83xx/rbppc.c
4 @@ -121,21 +121,16 @@ static void __init rbppc_setup_arch(void
7 #ifdef CONFIG_QUICC_ENGINE
8 - np = of_find_node_by_name(np, "par_io");
16 - np = of_find_node_by_name(np, "ucc");
20 - par_io_of_config(np);
24 + if ((np = of_find_node_by_name(NULL, "par_io")) != NULL) {
28 + for (np = NULL; (np = of_find_node_by_name(np, "ucc")) != NULL;)
29 + par_io_of_config(np);
35 @@ -151,12 +146,16 @@ void __init rbppc_init_IRQ(void)
38 #ifdef CONFIG_QUICC_ENGINE
39 - np = of_find_node_by_type(NULL, "qeic");
41 - qe_ic_init(np, 0, qe_ic_cascade_low_ipic, qe_ic_cascade_high_ipic);
45 + np = of_find_compatible_node(NULL, NULL, "fsl,qe-ic");
47 + np = of_find_node_by_type(NULL, "qeic");
51 + qe_ic_init(np, 0, qe_ic_cascade_low_ipic, qe_ic_cascade_high_ipic);
53 +#endif /* CONFIG_QUICC_ENGINE */
57 static int __init rbppc_probe(void)
58 @@ -284,6 +283,8 @@ static struct of_device_id rbppc_ids[] =
60 { .compatible = "soc", },
61 { .compatible = "simple-bus", },
63 + { .compatible = "fsl,qe", },
64 { .compatible = "gianfar", },
67 @@ -372,4 +373,3 @@ static void fixup_rb604(struct pci_dev *
69 DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, fixup_pcibridge)
70 DECLARE_PCI_FIXUP_HEADER(0x3388, 0x0021, fixup_rb604)