arm: tegra: ardbeg: E1782: Add ardbeg_sata m/c
[linux-3.10.git] / arch / arm / mach-tegra / board-ardbeg.c
index 78d2472..3e80387 100644 (file)
@@ -1071,6 +1071,8 @@ static void __init tegra_ardbeg_early_init(void)
                tegra_soc_device_init("laguna");
        else if (of_machine_is_compatible("nvidia,tn8"))
                tegra_soc_device_init("tn8");
+       else if (of_machine_is_compatible("nvidia,ardbeg_sata"))
+               tegra_soc_device_init("ardbeg_sata");
        else
                tegra_soc_device_init("ardbeg");
 }
@@ -1231,6 +1233,11 @@ static const char * const tn8_dt_board_compat[] = {
        NULL
 };
 
+static const char * const ardbeg_sata_dt_board_compat[] = {
+       "nvidia,ardbeg_sata",
+       NULL
+};
+
 DT_MACHINE_START(LAGUNA, "laguna")
        .atag_offset    = 0x100,
        .smp            = smp_ops(tegra_smp_ops),
@@ -1272,3 +1279,18 @@ DT_MACHINE_START(ARDBEG, "ardbeg")
        .dt_compat      = ardbeg_dt_board_compat,
        .init_late      = tegra_init_late
 MACHINE_END
+
+DT_MACHINE_START(ARDBEG_SATA, "ardbeg_sata")
+       .atag_offset    = 0x100,
+       .smp            = smp_ops(tegra_smp_ops),
+       .map_io         = tegra_map_common_io,
+       .reserve        = tegra_ardbeg_reserve,
+       .init_early     = tegra_ardbeg_init_early,
+       .init_irq       = irqchip_init,
+       .init_time      = clocksource_of_init,
+       .init_machine   = tegra_ardbeg_dt_init,
+       .restart        = tegra_assert_system_reset,
+       .dt_compat      = ardbeg_sata_dt_board_compat,
+       .init_late      = tegra_init_late
+
+MACHINE_END