static void at91sam9260_initialize(void) { /* Register the processor-specific clocks */ at91sam9260_register_clocks(); /* Register GPIO subsystem */ at91_add_rm9200_gpio(0, AT91SAM9260_BASE_PIOA); at91_add_rm9200_gpio(1, AT91SAM9260_BASE_PIOB); at91_add_rm9200_gpio(2, AT91SAM9260_BASE_PIOC); at91_add_pit(AT91SAM9260_BASE_PIT); at91_add_sam9_smc(DEVICE_ID_SINGLE, AT91SAM9260_BASE_SMC, 0x200); }
static void at91sam9g45_initialize(void) { /* Register the processor-specific clocks */ at91sam9g45_register_clocks(); /* Register GPIO subsystem */ at91_add_rm9200_gpio(0, AT91SAM9G45_BASE_PIOA); at91_add_rm9200_gpio(1, AT91SAM9G45_BASE_PIOB); at91_add_rm9200_gpio(2, AT91SAM9G45_BASE_PIOC); at91_add_rm9200_gpio(3, AT91SAM9G45_BASE_PIOD); at91_add_rm9200_gpio(4, AT91SAM9G45_BASE_PIOE); at91_add_pit(AT91SAM9G45_BASE_PIT); at91_add_sam9_smc(DEVICE_ID_SINGLE, AT91SAM9G45_BASE_SMC, 0x200); restart_handler_register_fn(at91sam9g45_restart); }
static void at91sam9x5_initialize(void) { /* Init clock subsystem */ at91_clock_init(AT91_MAIN_CLOCK); /* Register the processor-specific clocks */ at91sam9x5_register_clocks(); /* Register GPIO subsystem */ at91_add_sam9x5_gpio(0, AT91SAM9X5_BASE_PIOA); at91_add_sam9x5_gpio(1, AT91SAM9X5_BASE_PIOB); at91_add_sam9x5_gpio(2, AT91SAM9X5_BASE_PIOC); at91_add_sam9x5_gpio(3, AT91SAM9X5_BASE_PIOD); at91_add_pit(AT91SAM9X5_BASE_PIT); at91_add_sam9_smc(DEVICE_ID_SINGLE, AT91SAM9X5_BASE_SMC, 0x200); }