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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 { "csite", "pll_p", 144000000, true}, | 119 { "csite", "pll_p", 144000000, true}, |
120 { "host1x", "pll_p", 144000000, false}, | 120 { "host1x", "pll_p", 144000000, false}, |
121 { "disp1", "pll_p", 216000000, false}, | 121 { "disp1", "pll_p", 216000000, false}, |
122 { "pll_d", "clk_m", 1000000, false}, | 122 { "pll_d", "clk_m", 1000000, false}, |
123 { "pll_d_out0", "pll_d", 500000, false}, | 123 { "pll_d_out0", "pll_d", 500000, false}, |
124 { "dsi", "pll_d", 1000000, false}, | 124 { "dsi", "pll_d", 1000000, false}, |
125 { "pll_u", "clk_m", 480000000, true}, | 125 { "pll_u", "clk_m", 480000000, true}, |
126 { "clk_d", "clk_m", 24000000, true}, | 126 { "clk_d", "clk_m", 24000000, true}, |
127 { "timer", "clk_m", 12000000, true}, | 127 { "timer", "clk_m", 12000000, true}, |
128 { "i2s2", "clk_m", 12000000, false}, | 128 { "i2s2", "clk_m", 12000000, false}, |
129 » { "spdif_out",» "clk_m",» 12000000,» false}, | 129 » { "spdif_out",» "pll_a_out0",» 11289600,» false}, |
130 { "spi", "clk_m", 12000000, false}, | 130 { "spi", "clk_m", 12000000, false}, |
131 { "xio", "clk_m", 12000000, false}, | 131 { "xio", "clk_m", 12000000, false}, |
132 { "twc", "clk_m", 12000000, false}, | 132 { "twc", "clk_m", 12000000, false}, |
133 { "sbc1", "clk_m", 12000000, false}, | 133 { "sbc1", "clk_m", 12000000, false}, |
134 { "sbc2", "clk_m", 12000000, false}, | 134 { "sbc2", "clk_m", 12000000, false}, |
135 { "sbc3", "clk_m", 12000000, false}, | 135 { "sbc3", "clk_m", 12000000, false}, |
136 { "sbc4", "clk_m", 12000000, false}, | 136 { "sbc4", "clk_m", 12000000, false}, |
137 { "ide", "clk_m", 12000000, false}, | 137 { "ide", "clk_m", 12000000, false}, |
138 { "ndflash", "clk_m", 12000000, false}, | 138 { "ndflash", "clk_m", 12000000, false}, |
139 { "vfir", "clk_m", 12000000, false}, | 139 { "vfir", "clk_m", 12000000, false}, |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 }; | 517 }; |
518 | 518 |
519 static struct platform_device audio_device = { | 519 static struct platform_device audio_device = { |
520 .name = "tegra-snd-seaboard", | 520 .name = "tegra-snd-seaboard", |
521 .id = 0, | 521 .id = 0, |
522 .dev = { | 522 .dev = { |
523 .platform_data = &audio_pdata, | 523 .platform_data = &audio_pdata, |
524 }, | 524 }, |
525 }; | 525 }; |
526 | 526 |
| 527 static struct platform_device spdif_dit_device = { |
| 528 .name = "spdif-dit", |
| 529 .id = -1, |
| 530 }; |
| 531 |
527 static struct platform_device *seaboard_devices[] __initdata = { | 532 static struct platform_device *seaboard_devices[] __initdata = { |
528 &debug_uart, | 533 &debug_uart, |
529 &tegra_rtc_device, | 534 &tegra_rtc_device, |
530 &pmu_device, | 535 &pmu_device, |
531 &seaboard_gpio_keys_device, | 536 &seaboard_gpio_keys_device, |
532 &tegra_gart_device, | 537 &tegra_gart_device, |
| 538 &tegra_spdif_device, |
| 539 &spdif_dit_device, |
533 &tegra_i2s_device1, | 540 &tegra_i2s_device1, |
534 &tegra_das_device, | 541 &tegra_das_device, |
535 &tegra_pcm_device, | 542 &tegra_pcm_device, |
536 &audio_device, | 543 &audio_device, |
537 &tegra_avp_device, | 544 &tegra_avp_device, |
538 }; | 545 }; |
539 | 546 |
540 static void __init seaboard_wlan_init(void) | 547 static void __init seaboard_wlan_init(void) |
541 { | 548 { |
542 /* set wifi power/reset gpio */ | 549 /* set wifi power/reset gpio */ |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 .timer = &tegra_timer, | 705 .timer = &tegra_timer, |
699 MACHINE_END | 706 MACHINE_END |
700 | 707 |
701 MACHINE_START(WARIO, "wario") | 708 MACHINE_START(WARIO, "wario") |
702 .boot_params = 0x00000100, | 709 .boot_params = 0x00000100, |
703 .init_irq = tegra_init_irq, | 710 .init_irq = tegra_init_irq, |
704 .init_machine = tegra_wario_init, | 711 .init_machine = tegra_wario_init, |
705 .map_io = tegra_map_common_io, | 712 .map_io = tegra_map_common_io, |
706 .timer = &tegra_timer, | 713 .timer = &tegra_timer, |
707 MACHINE_END | 714 MACHINE_END |
OLD | NEW |