hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/powerpc/platforms/83xx/mpc836x_mds.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright 2006 Freescale Semiconductor, Inc. All rights reserved.
34 *
....@@ -9,11 +10,6 @@
910 *
1011 * Changelog:
1112 * Jun 21, 2006 Initial version
12
- *
13
- * This program is free software; you can redistribute it and/or modify it
14
- * under the terms of the GNU General Public License as published by the
15
- * Free Software Foundation; either version 2 of the License, or (at your
16
- * option) any later version.
1713 */
1814
1915 #include <linux/stddef.h>
....@@ -43,9 +39,7 @@
4339 #include <asm/udbg.h>
4440 #include <sysdev/fsl_soc.h>
4541 #include <sysdev/fsl_pci.h>
46
-#include <sysdev/simple_gpio.h>
4742 #include <soc/fsl/qe/qe.h>
48
-#include <soc/fsl/qe/qe_ic.h>
4943
5044 #include "mpc83xx.h"
5145
....@@ -185,12 +179,6 @@
185179 qe_usb_clock_set(QE_CLK21, 48000000);
186180 } else {
187181 setbits8(&bcsr[13], BCSR13_USBMODE);
188
- /*
189
- * The BCSR GPIOs are used to control power and
190
- * speed of the USB transceiver. This is needed for
191
- * the USB Host only.
192
- */
193
- simple_gpiochip_init("fsl,mpc8360mds-bcsr-gpio");
194182 }
195183
196184 of_node_put(np);
....@@ -213,7 +201,7 @@
213201 .name = "MPC836x MDS",
214202 .probe = mpc836x_mds_probe,
215203 .setup_arch = mpc836x_mds_setup_arch,
216
- .init_IRQ = mpc83xx_ipic_and_qe_init_IRQ,
204
+ .init_IRQ = mpc83xx_ipic_init_IRQ,
217205 .get_irq = ipic_get_irq,
218206 .restart = mpc83xx_restart,
219207 .time_init = mpc83xx_time_init,