.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * MPC85xx RDB Board Setup |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright 2009,2012-2013 Freescale Semiconductor Inc. |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify it |
---|
7 | | - * under the terms of the GNU General Public License as published by the |
---|
8 | | - * Free Software Foundation; either version 2 of the License, or (at your |
---|
9 | | - * option) any later version. |
---|
10 | 6 | */ |
---|
11 | 7 | |
---|
12 | 8 | #include <linux/stddef.h> |
---|
.. | .. |
---|
27 | 23 | #include <asm/udbg.h> |
---|
28 | 24 | #include <asm/mpic.h> |
---|
29 | 25 | #include <soc/fsl/qe/qe.h> |
---|
30 | | -#include <soc/fsl/qe/qe_ic.h> |
---|
31 | 26 | |
---|
32 | 27 | #include <sysdev/fsl_soc.h> |
---|
33 | 28 | #include <sysdev/fsl_pci.h> |
---|
.. | .. |
---|
48 | 43 | { |
---|
49 | 44 | struct mpic *mpic; |
---|
50 | 45 | |
---|
51 | | -#ifdef CONFIG_QUICC_ENGINE |
---|
52 | | - struct device_node *np; |
---|
53 | | -#endif |
---|
54 | | - |
---|
55 | 46 | if (of_machine_is_compatible("fsl,MPC85XXRDB-CAMP")) { |
---|
56 | 47 | mpic = mpic_alloc(NULL, 0, MPIC_NO_RESET | |
---|
57 | 48 | MPIC_BIG_ENDIAN | |
---|
.. | .. |
---|
66 | 57 | |
---|
67 | 58 | BUG_ON(mpic == NULL); |
---|
68 | 59 | mpic_init(mpic); |
---|
69 | | - |
---|
70 | | -#ifdef CONFIG_QUICC_ENGINE |
---|
71 | | - np = of_find_compatible_node(NULL, NULL, "fsl,qe-ic"); |
---|
72 | | - if (np) { |
---|
73 | | - qe_ic_init(np, 0, qe_ic_cascade_low_mpic, |
---|
74 | | - qe_ic_cascade_high_mpic); |
---|
75 | | - of_node_put(np); |
---|
76 | | - |
---|
77 | | - } else |
---|
78 | | - pr_err("%s: Could not find qe-ic node\n", __func__); |
---|
79 | | -#endif |
---|
80 | | - |
---|
81 | 60 | } |
---|
82 | 61 | |
---|
83 | 62 | /* |
---|
.. | .. |
---|
93 | 72 | fsl_pci_assign_primary(); |
---|
94 | 73 | |
---|
95 | 74 | #ifdef CONFIG_QUICC_ENGINE |
---|
96 | | - mpc85xx_qe_init(); |
---|
97 | 75 | mpc85xx_qe_par_io_init(); |
---|
98 | 76 | #if defined(CONFIG_UCC_GETH) || defined(CONFIG_SERIAL_QE) |
---|
99 | 77 | if (machine_is(p1025_rdb)) { |
---|