21 #include <linux/stddef.h>
22 #include <linux/kernel.h>
23 #include <linux/pci.h>
24 #include <linux/kdev_t.h>
30 #include <asm/machdep.h>
31 #include <asm/pci-bridge.h>
46 static void __init tqm85xx_pic_init(
void)
54 mpc85xx_cpm2_pic_init();
60 static void __init tqm85xx_setup_arch(
void)
63 ppc_md.progress(
"tqm85xx_setup_arch()", 0);
69 fsl_pci_assign_primary();
72 static void tqm85xx_show_cpuinfo(
struct seq_file *
m)
74 uint pvid, svid, phid1;
77 svid =
mfspr(SPRN_SVR);
84 phid1 =
mfspr(SPRN_HID1);
85 seq_printf(m,
"PLL setting\t: 0x%x\n", ((phid1 >> 24) & 0x3f));
93 if (!machine_is(tqm85xx))
96 dev_info(&pdev->
dev,
"Using TI 1520 fixup on TQM85xx\n");
102 pci_read_config_dword(pdev, 0x80, &val);
103 pci_write_config_dword(pdev, 0x80, val | (1 << 27));
107 tqm85xx_ti1520_fixup);
123 static int __init tqm85xx_probe(
void)
125 return of_flat_dt_match(of_get_flat_dt_root(),
board);
130 .probe = tqm85xx_probe,
131 .setup_arch = tqm85xx_setup_arch,
132 .init_IRQ = tqm85xx_pic_init,
133 .show_cpuinfo = tqm85xx_show_cpuinfo,
135 .restart = fsl_rstcr_restart,