1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * arch/powerpc/platforms/83xx/mpc830x_rdb.c
5 * Description: MPC830x RDB board specific routines.
6 * This file is based on mpc831x_rdb.c
8 * Copyright (C) Freescale Semiconductor, Inc. 2009. All rights reserved.
9 * Copyright (C) 2010. Ilya Yanok, Emcraft Systems, yanok@emcraft.com
12 #include <linux/pci.h>
13 #include <linux/of_platform.h>
17 #include <sysdev/fsl_pci.h>
18 #include <sysdev/fsl_soc.h>
22 * Setup the architecture
24 static void __init
mpc830x_rdb_setup_arch(void)
30 static const char *board
[] __initdata
= {
38 * Called very early, MMU is off, device-tree isn't unflattened
40 static int __init
mpc830x_rdb_probe(void)
42 return of_device_compatible_match(of_root
, board
);
45 machine_device_initcall(mpc830x_rdb
, mpc83xx_declare_of_platform_devices
);
47 define_machine(mpc830x_rdb
) {
48 .name
= "MPC830x RDB",
49 .probe
= mpc830x_rdb_probe
,
50 .setup_arch
= mpc830x_rdb_setup_arch
,
51 .init_IRQ
= mpc83xx_ipic_init_IRQ
,
52 .get_irq
= ipic_get_irq
,
53 .restart
= mpc83xx_restart
,
54 .time_init
= mpc83xx_time_init
,
55 .calibrate_decr
= generic_calibrate_decr
,
56 .progress
= udbg_progress
,