OLD | NEW |
1 /* | 1 /* |
2 * arch/arm/mach-tegra/board-seaboard.c | 2 * arch/arm/mach-tegra/board-seaboard.c |
3 * | 3 * |
4 * Copyright (c) 2010, NVIDIA Corporation. | 4 * Copyright (c) 2010, NVIDIA Corporation. |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or modify | 6 * This program is free software; you can redistribute it and/or modify |
7 * it under the terms of the GNU General Public License as published by | 7 * it under the terms of the GNU General Public License as published by |
8 * the Free Software Foundation; either version 2 of the License, or | 8 * the Free Software Foundation; either version 2 of the License, or |
9 * (at your option) any later version. | 9 * (at your option) any later version. |
10 * | 10 * |
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
789 | 789 |
790 platform_add_devices(seaboard_devices, ARRAY_SIZE(seaboard_devices)); | 790 platform_add_devices(seaboard_devices, ARRAY_SIZE(seaboard_devices)); |
791 | 791 |
792 seaboard_ehci_init(); | 792 seaboard_ehci_init(); |
793 seaboard_panel_init(); | 793 seaboard_panel_init(); |
794 seaboard_sdhci_init(); | 794 seaboard_sdhci_init(); |
795 seaboard_power_init(); | 795 seaboard_power_init(); |
796 seaboard_kbc_init(); | 796 seaboard_kbc_init(); |
797 | 797 |
798 seaboard_wlan_init(); | 798 seaboard_wlan_init(); |
799 seaboard_emc_init(); | |
800 | 799 |
801 tegra_gpio_enable(TEGRA_GPIO_LIDSWITCH); | 800 tegra_gpio_enable(TEGRA_GPIO_LIDSWITCH); |
802 tegra_gpio_enable(TEGRA_GPIO_POWERKEY); | 801 tegra_gpio_enable(TEGRA_GPIO_POWERKEY); |
803 } | 802 } |
804 | 803 |
805 static void __init tegra_seaboard_init(void) | 804 static void __init tegra_seaboard_init(void) |
806 { | 805 { |
807 /* Seaboard uses UARTD for the debug port. */ | 806 /* Seaboard uses UARTD for the debug port. */ |
808 debug_uart_platform_data[0].membase = IO_ADDRESS(TEGRA_UARTD_BASE); | 807 debug_uart_platform_data[0].membase = IO_ADDRESS(TEGRA_UARTD_BASE); |
809 debug_uart_platform_data[0].mapbase = TEGRA_UARTD_BASE; | 808 debug_uart_platform_data[0].mapbase = TEGRA_UARTD_BASE; |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 .timer = &tegra_timer, | 900 .timer = &tegra_timer, |
902 MACHINE_END | 901 MACHINE_END |
903 | 902 |
904 MACHINE_START(WARIO, "wario") | 903 MACHINE_START(WARIO, "wario") |
905 .boot_params = 0x00000100, | 904 .boot_params = 0x00000100, |
906 .init_irq = tegra_init_irq, | 905 .init_irq = tegra_init_irq, |
907 .init_machine = tegra_wario_init, | 906 .init_machine = tegra_wario_init, |
908 .map_io = tegra_map_common_io, | 907 .map_io = tegra_map_common_io, |
909 .timer = &tegra_timer, | 908 .timer = &tegra_timer, |
910 MACHINE_END | 909 MACHINE_END |
OLD | NEW |