1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * arch/powerpc/platforms/83xx/asp834x.c
4  *
5  * Analogue & Micro ASP8347 board specific routines
6  * clone of mpc834x_itx
7  *
8  * Copyright 2008 Codehermit
9  *
10  * Maintainer: Bryan O'Donoghue <bodonoghue@codhermit.ie>
11  */
12 
13 #include <linux/pci.h>
14 #include <linux/of_platform.h>
15 
16 #include <asm/time.h>
17 #include <asm/ipic.h>
18 #include <asm/udbg.h>
19 
20 #include "mpc83xx.h"
21 
22 /* ************************************************************************
23  *
24  * Setup the architecture
25  *
26  */
27 static void __init asp834x_setup_arch(void)
28 {
29 	mpc83xx_setup_arch();
30 	mpc834x_usb_cfg();
31 }
32 
33 machine_device_initcall(asp834x, mpc83xx_declare_of_platform_devices);
34 
35 define_machine(asp834x) {
36 	.name			= "ASP8347E",
37 	.compatible		= "analogue-and-micro,asp8347e",
38 	.setup_arch		= asp834x_setup_arch,
39 	.discover_phbs		= mpc83xx_setup_pci,
40 	.init_IRQ		= mpc83xx_ipic_init_IRQ,
41 	.get_irq		= ipic_get_irq,
42 	.restart		= mpc83xx_restart,
43 	.time_init		= mpc83xx_time_init,
44 	.progress		= udbg_progress,
45 };
46