2 * arch/powerpc/platforms/83xx/sbc834x.c
4 * Wind River SBC834x board specific routines
6 * By Paul Gortmaker (see MAINTAINERS for contact information)
8 * Based largely on the mpc834x_mds.c support by Kumar Gala.
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License as published by the
12 * Free Software Foundation; either version 2 of the License, or (at your
13 * option) any later version.
16 #include <linux/stddef.h>
17 #include <linux/kernel.h>
18 #include <linux/init.h>
19 #include <linux/errno.h>
20 #include <linux/reboot.h>
21 #include <linux/pci.h>
22 #include <linux/kdev_t.h>
23 #include <linux/major.h>
24 #include <linux/console.h>
25 #include <linux/delay.h>
26 #include <linux/seq_file.h>
27 #include <linux/root_dev.h>
28 #include <linux/of_platform.h>
30 #include <linux/atomic.h>
33 #include <asm/machdep.h>
38 #include <sysdev/fsl_soc.h>
39 #include <sysdev/fsl_pci.h>
43 /* ************************************************************************
45 * Setup the architecture
48 static void __init
sbc834x_setup_arch(void)
53 machine_device_initcall(sbc834x
, mpc83xx_declare_of_platform_devices
);
56 * Called very early, MMU is off, device-tree isn't unflattened
58 static int __init
sbc834x_probe(void)
60 return of_machine_is_compatible("SBC834xE");
63 define_machine(sbc834x
) {
65 .probe
= sbc834x_probe
,
66 .setup_arch
= sbc834x_setup_arch
,
67 .init_IRQ
= mpc83xx_ipic_init_IRQ
,
68 .get_irq
= ipic_get_irq
,
69 .restart
= mpc83xx_restart
,
70 .time_init
= mpc83xx_time_init
,
71 .calibrate_decr
= generic_calibrate_decr
,
72 .progress
= udbg_progress
,