14 #include <linux/stddef.h>
15 #include <linux/kernel.h>
17 #include <linux/errno.h>
18 #include <linux/reboot.h>
19 #include <linux/pci.h>
20 #include <linux/kdev_t.h>
31 #include <asm/machdep.h>
41 #define BCSR5_INT_USB 0x02
42 static int mpc834xemds_usb_cfg(
void)
65 bcsr5 =
in_8(bcsr_regs + 5);
67 out_8(bcsr_regs + 5, (bcsr5 | BCSR5_INT_USB));
77 static void __init mpc834x_mds_setup_arch(
void)
80 ppc_md.progress(
"mpc834x_mds_setup_arch()", 0);
84 mpc834xemds_usb_cfg();
92 static int __init mpc834x_mds_probe(
void)
94 unsigned long root = of_get_flat_dt_root();
96 return of_flat_dt_is_compatible(root,
"MPC834xMDS");
100 .name =
"MPC834x MDS",
101 .probe = mpc834x_mds_probe,
102 .setup_arch = mpc834x_mds_setup_arch,