* Anders, David <[email protected]> [100517 13:13]:
> Add initial support for the OMAP4430 based Panda board.
>
> Signed-off-by: David Anders <[email protected]>
<snip>
> +
> +static void __init omap4_panda_init_irq(void)
> +{
> + omap2_init_common_hw(NULL, NULL);
> +#ifdef CONFIG_OMAP_32K_TIMER
> + omap2_gp_clockevent_set_gptimer(1);
> +#endif
> + gic_init_irq();
> + omap_gpio_init();
> +}
> +
> +static struct omap_musb_board_data musb_board_data = {
> + .interface_type = MUSB_INTERFACE_UTMI,
> + .mode = MUSB_PERIPHERAL,
> + .power = 100,
> +};
> +
> +static void __init omap4_panda_init(void)
> +{
> + omap_serial_init();
> + /* OMAP4 SDP uses internal transceiver so register nop transceiver */
> + usb_nop_xceiv_register();
> + /* FIXME: allow multi-omap to boot until musb is updated for omap4 */
> + if (!cpu_is_omap44xx())
> + usb_musb_init(&musb_board_data);
> +
> +}
> +
> +static void __init omap4_panda_map_io(void)
> +{
> + omap2_set_globals_443x();
> + omap44xx_map_common_io();
> +}
> +
> +MACHINE_START(OMAP4_PANDA, "OMAP4 Panda board")
> + /* Maintainer: David Anders - Texas Instruments Inc */
> + .phys_io = 0x48000000,
> + .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc,
> + .boot_params = 0x80000100,
> + .map_io = omap4_panda_map_io,
> + .init_irq = omap4_panda_init_irq,
> + .init_machine = omap4_panda_init,
> + .timer = &omap_timer,
> +MACHINE_END
Cool, good to see this posted early.
However, looks like this can wait until the next merge window
though as it was posted so late.
Regards,
Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html