ARM: tegra: move pinmux of ardbeg to DTS
[linux-3.10.git] / arch / arm / mach-tegra / board-ardbeg.c
index 939c25e..7e63678 100644 (file)
@@ -1126,17 +1126,14 @@ static void __init tegra_ardbeg_late_init(void)
                board_info.fab, board_info.major_revision,
                board_info.minor_revision);
 
-       if (!of_machine_is_compatible("nvidia,tn8"))
-               platform_device_register(&tegra124_pinctrl_device);
-
        if (board_info.board_id == BOARD_PM359 ||
                        board_info.board_id == BOARD_PM358 ||
                        board_info.board_id == BOARD_PM370 ||
                        board_info.board_id == BOARD_PM374 ||
-                       board_info.board_id == BOARD_PM363)
+                       board_info.board_id == BOARD_PM363) {
+               platform_device_register(&tegra124_pinctrl_device);
                laguna_pinmux_init();
-       else
-               ardbeg_pinmux_init();
+       }
 
        ardbeg_display_init();
        ardbeg_uart_init();