9
0
Fork 0

Merge branch 'for-next/ppc'

This commit is contained in:
Sascha Hauer 2013-12-06 08:23:27 +01:00
commit 7a653248be
3 changed files with 10 additions and 2 deletions

View File

@ -195,7 +195,7 @@ static int da923rc_board_init_r(void)
gpio_set_value(1, 1);
/* De-assert Board reset */
udelay(1000);
gpio_set_value(0, 0);
gpio_set_value(0, 1);
}
/* Enable PCI error reporting */
@ -209,4 +209,4 @@ static int da923rc_board_init_r(void)
return 0;
}
core_initcall(da923rc_board_init_r);
postcore_initcall(da923rc_board_init_r);

View File

@ -132,6 +132,11 @@ static int fdt_cpu_setup(struct device_node *blob, void *unused)
node = of_find_compatible_node(node, NULL, "ns16550");
}
node = of_find_compatible_node(blob, NULL, "fsl,mpic");
if (node)
of_property_write_u32(node, "clock-frequency",
sysinfo.freqSystemBus);
fdt_stdout_setup(blob);
return 0;

View File

@ -158,5 +158,8 @@
#define I2C1_BASE_ADDR (CFG_IMMR + 0x3000)
#define I2C2_BASE_ADDR (CFG_IMMR + 0x3100)
/* Global Timer Registers */
#define MPC8xxx_PIC_TFRR_OFFSET 0x10F0
#define PCI1_BASE_ADDR (CFG_IMMR + MPC85xx_PCI1_OFFSET)
#endif /*__IMMAP_85xx__*/