1
2
3
4
5
6
7
8
9
10
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
25
26
27static void __init asp834x_setup_arch(void)
28{
29 mpc83xx_setup_arch();
30 mpc834x_usb_cfg();
31}
32
33machine_device_initcall(asp834x, mpc83xx_declare_of_platform_devices);
34
35
36
37
38static int __init asp834x_probe(void)
39{
40 return of_machine_is_compatible("analogue-and-micro,asp8347e");
41}
42
43define_machine(asp834x) {
44 .name = "ASP8347E",
45 .probe = asp834x_probe,
46 .setup_arch = asp834x_setup_arch,
47 .init_IRQ = mpc83xx_ipic_init_IRQ,
48 .get_irq = ipic_get_irq,
49 .restart = mpc83xx_restart,
50 .time_init = mpc83xx_time_init,
51 .calibrate_decr = generic_calibrate_decr,
52 .progress = udbg_progress,
53};
54