static int __init ardbeg_wifi_prepower(void)
{
if (!of_machine_is_compatible("nvidia,ardbeg") &&
- !of_machine_is_compatible("nvidia,laguna"))
+ !of_machine_is_compatible("nvidia,laguna") &&
+ !of_machine_is_compatible("nvidia,tn8"))
return 0;
ardbeg_wifi_power(1);
tegra_clk_verify_parents();
if (of_machine_is_compatible("nvidia,laguna"))
tegra_soc_device_init("laguna");
+ else if (of_machine_is_compatible("nvidia,tn8"))
+ tegra_soc_device_init("tn8");
else
tegra_soc_device_init("ardbeg");
}
NULL
};
+static const char * const tn8_dt_board_compat[] = {
+ "nvidia,tn8",
+ NULL
+};
+
DT_MACHINE_START(LAGUNA, "laguna")
.atag_offset = 0x100,
.smp = smp_ops(tegra_smp_ops),
.dt_compat = laguna_dt_board_compat,
MACHINE_END
+DT_MACHINE_START(TN8, "tn8")
+ .atag_offset = 0x100,
+ .smp = smp_ops(tegra_smp_ops),
+ .map_io = tegra_map_common_io,
+ .reserve = tegra_ardbeg_reserve,
+ .init_early = tegra12x_init_early,
+ .init_irq = tegra_dt_init_irq,
+ .init_time = tegra_init_timer,
+ .init_machine = tegra_ardbeg_dt_init,
+ .restart = tegra_assert_system_reset,
+ .dt_compat = tn8_dt_board_compat,
+MACHINE_END
+
DT_MACHINE_START(ARDBEG, "ardbeg")
.atag_offset = 0x100,
.smp = smp_ops(tegra_smp_ops),