ARM: tegra12: set CPU rate to 2.2GHz for sku 0x87
[linux-3.10.git] / arch / arm / mach-tegra / board-macallan.c
1 /*
2  * arch/arm/mach-tegra/board-macallan.c
3  *
4  * Copyright (c) 2013-2014, NVIDIA CORPORATION.  All rights reserved.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
18  */
19
20 #include <linux/kernel.h>
21 #include <linux/init.h>
22 #include <linux/slab.h>
23 #include <linux/ctype.h>
24 #include <linux/platform_device.h>
25 #include <linux/clk.h>
26 #include <linux/serial_8250.h>
27 #include <linux/i2c.h>
28 #include <linux/dma-mapping.h>
29 #include <linux/delay.h>
30 #include <linux/i2c-tegra.h>
31 #include <linux/gpio.h>
32 #include <linux/input.h>
33 #include <linux/platform_data/tegra_usb.h>
34 #include <linux/usb/tegra_usb_phy.h>
35 #include <linux/spi/spi.h>
36 #include <linux/spi/rm31080a_ts.h>
37 #include <linux/memblock.h>
38 #include <linux/spi/spi-tegra.h>
39 #include <linux/nfc/pn544.h>
40 #include <linux/skbuff.h>
41 #include <linux/ti_wilink_st.h>
42 #include <linux/regulator/consumer.h>
43 #include <linux/smb349-charger.h>
44 #include <linux/max17048_battery.h>
45 #include <linux/leds.h>
46 #include <linux/i2c/at24.h>
47 #include <linux/of_platform.h>
48 #include <linux/clk/tegra.h>
49 #include <linux/tegra-soc.h>
50 #include <linux/clocksource.h>
51 #include <linux/irqchip.h>
52 #include <linux/irqchip/tegra.h>
53 #include <linux/tegra_fiq_debugger.h>
54
55 #include <mach/irqs.h>
56 #include <mach/pinmux.h>
57 #include <mach/pinmux-t11.h>
58 #include <mach/io_dpd.h>
59 #include <mach/i2s.h>
60 #include <mach/isomgr.h>
61 #include <mach/tegra_asoc_pdata.h>
62 #include <asm/mach-types.h>
63 #include <asm/mach/arch.h>
64 #include <mach/gpio-tegra.h>
65 #include <linux/platform_data/tegra_usb_modem_power.h>
66
67 #include "board-touch-raydium.h"
68 #include "board.h"
69 #include "board-common.h"
70 #include "clock.h"
71 #include "board-macallan.h"
72 #include "devices.h"
73 #include "gpio-names.h"
74 #include "iomap.h"
75 #include "pm.h"
76 #include "common.h"
77 #include "tegra-board-id.h"
78 #include "tegra-of-dev-auxdata.h"
79
80 static struct board_info board_info, display_board_info;
81
82 #if defined CONFIG_TI_ST || defined CONFIG_TI_ST_MODULE
83 struct ti_st_plat_data macallan_wilink_pdata = {
84         .nshutdown_gpio = TEGRA_GPIO_PQ7,
85         .dev_name = BLUETOOTH_UART_DEV_NAME,
86         .flow_cntrl = 1,
87         .baud_rate = 3000000,
88 };
89
90 static struct platform_device wl128x_device = {
91         .name           = "kim",
92         .id             = -1,
93         .dev.platform_data = &macallan_wilink_pdata,
94 };
95
96 static struct platform_device btwilink_device = {
97         .name = "btwilink",
98         .id = -1,
99 };
100
101 static noinline void __init macallan_bt_st(void)
102 {
103         pr_info("macallan_bt_st");
104
105         platform_device_register(&wl128x_device);
106         platform_device_register(&btwilink_device);
107 }
108
109 static struct resource macallan_st_host_wake_resources[] = {
110         [0] = {
111                 .name = "host_wake",
112                 .flags  = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE,
113         },
114 };
115
116 static struct platform_device macallan_st_host_wake_device = {
117         .name           = "st_host_wake",
118         .id             = 0,
119         .num_resources  = ARRAY_SIZE(macallan_st_host_wake_resources),
120         .resource       = macallan_st_host_wake_resources,
121 };
122
123 static noinline void __init macallan_tegra_setup_st_host_wake(void)
124 {
125         macallan_st_host_wake_resources[0].start =
126                 macallan_st_host_wake_resources[0].end =
127                 gpio_to_irq(TEGRA_GPIO_PU6);
128         platform_device_register(&macallan_st_host_wake_device);
129 }
130 #endif
131
132 static __initdata struct tegra_clk_init_table macallan_clk_init_table[] = {
133         /* name         parent          rate            enabled */
134         { "pll_m",      NULL,           0,              false},
135         { "hda",        "pll_p",        108000000,      false},
136         { "hda2codec_2x", "pll_p",      48000000,       false},
137         { "pwm",        "pll_p",        3187500,        false},
138         { "blink",      "clk_32k",      32768,          true},
139         { "i2s1",       "pll_a_out0",   0,              false},
140         { "i2s3",       "pll_a_out0",   0,              false},
141         { "i2s4",       "pll_a_out0",   0,              false},
142         { "spdif_out",  "pll_a_out0",   0,              false},
143         { "d_audio",    "clk_m",        12000000,       false},
144         { "dam0",       "clk_m",        12000000,       false},
145         { "dam1",       "clk_m",        12000000,       false},
146         { "dam2",       "clk_m",        12000000,       false},
147         { "audio1",     "i2s1_sync",    0,              false},
148         { "audio3",     "i2s3_sync",    0,              false},
149         /* Setting vi_sensor-clk to true for validation purpose, will imapact
150          * power, later set to be false.*/
151         { "vi_sensor",  "pll_p",        150000000,      false},
152         { "cilab",      "pll_p",        150000000,      false},
153         { "cilcd",      "pll_p",        150000000,      false},
154         { "cile",       "pll_p",        150000000,      false},
155         { "i2c1",       "pll_p",        3200000,        false},
156         { "i2c2",       "pll_p",        3200000,        false},
157         { "i2c3",       "pll_p",        3200000,        false},
158         { "i2c4",       "pll_p",        3200000,        false},
159         { "i2c5",       "pll_p",        3200000,        false},
160         { NULL,         NULL,           0,              0},
161 };
162
163 static struct i2c_board_info __initdata rt5640_board_info = {
164         I2C_BOARD_INFO("rt5640", 0x1c),
165 };
166
167 static struct pn544_i2c_platform_data nfc_pdata = {
168         .irq_gpio = TEGRA_GPIO_PW2,
169         .ven_gpio = TEGRA_GPIO_PQ3,
170         .firm_gpio = TEGRA_GPIO_PH0,
171 };
172
173 static struct i2c_board_info __initdata nfc_board_info = {
174         I2C_BOARD_INFO("pn544", 0x28),
175         .platform_data = &nfc_pdata,
176 };
177
178 static void macallan_i2c_init(void)
179 {
180         nfc_board_info.irq = gpio_to_irq(TEGRA_GPIO_PW2);
181         i2c_register_board_info(0, &nfc_board_info, 1);
182         i2c_register_board_info(0, &rt5640_board_info, 1);
183 }
184
185 static struct platform_device *macallan_uart_devices[] __initdata = {
186         &tegra_uarta_device,
187         &tegra_uartb_device,
188         &tegra_uartc_device,
189         &tegra_uartd_device,
190 };
191
192 static void __init uart_debug_init(void)
193 {
194         int debug_port_id;
195
196         debug_port_id = uart_console_debug_init(3);
197         if (debug_port_id < 0)
198                 return;
199
200         macallan_uart_devices[debug_port_id] = uart_console_debug_device;
201 }
202
203 static void __init macallan_uart_init(void)
204 {
205         /* Register low speed only if it is selected */
206         if (!is_tegra_debug_uartport_hs())
207                 uart_debug_init();
208
209         platform_add_devices(macallan_uart_devices,
210                                 ARRAY_SIZE(macallan_uart_devices));
211 }
212
213 static struct resource tegra_rtc_resources[] = {
214         [0] = {
215                 .start = TEGRA_RTC_BASE,
216                 .end = TEGRA_RTC_BASE + TEGRA_RTC_SIZE - 1,
217                 .flags = IORESOURCE_MEM,
218         },
219         [1] = {
220                 .start = INT_RTC,
221                 .end = INT_RTC,
222                 .flags = IORESOURCE_IRQ,
223         },
224 };
225
226 static struct platform_device tegra_rtc_device = {
227         .name = "tegra_rtc",
228         .id   = -1,
229         .resource = tegra_rtc_resources,
230         .num_resources = ARRAY_SIZE(tegra_rtc_resources),
231 };
232
233 static struct tegra_asoc_platform_data macallan_audio_pdata = {
234         .gpio_spkr_en           = TEGRA_GPIO_SPKR_EN,
235         .gpio_hp_det            = TEGRA_GPIO_HP_DET,
236         .gpio_hp_mute           = -1,
237         .gpio_int_mic_en        = TEGRA_GPIO_INT_MIC_EN,
238         .gpio_ext_mic_en        = TEGRA_GPIO_EXT_MIC_EN,
239         .gpio_ldo1_en           = TEGRA_GPIO_LDO1_EN,
240         .gpio_codec1 = TEGRA_GPIO_CODEC1_EN,
241         .gpio_codec2 = TEGRA_GPIO_CODEC2_EN,
242         .gpio_codec3 = TEGRA_GPIO_CODEC3_EN,
243         .i2s_param[HIFI_CODEC]  = {
244                 .audio_port_id  = 1,
245                 .is_i2s_master  = 1,
246                 .i2s_mode       = TEGRA_DAIFMT_I2S,
247         },
248         .i2s_param[BT_SCO]      = {
249                 .audio_port_id  = 3,
250                 .is_i2s_master  = 1,
251                 .i2s_mode       = TEGRA_DAIFMT_DSP_A,
252         },
253 };
254
255 static struct platform_device macallan_audio_device = {
256         .name   = "tegra-snd-rt5640",
257         .id     = 0,
258         .dev    = {
259                 .platform_data = &macallan_audio_pdata,
260         },
261 };
262
263 static struct platform_device *macallan_devices[] __initdata = {
264         &tegra_pmu_device,
265         &tegra_rtc_device,
266         &tegra_udc_device,
267 #if defined(CONFIG_TEGRA_AVP)
268         &tegra_avp_device,
269 #endif
270 #if defined(CONFIG_CRYPTO_DEV_TEGRA_SE)
271         &tegra11_se_device,
272 #endif
273         &tegra_ahub_device,
274         &tegra_dam_device0,
275         &tegra_dam_device1,
276         &tegra_dam_device2,
277         &tegra_i2s_device1,
278         &tegra_i2s_device3,
279         &tegra_i2s_device4,
280         &tegra_spdif_device,
281         &spdif_dit_device,
282         &bluetooth_dit_device,
283         &macallan_audio_device,
284         &tegra_hda_device,
285 #if defined(CONFIG_CRYPTO_DEV_TEGRA_AES)
286         &tegra_aes_device,
287 #endif
288 };
289
290 #ifdef CONFIG_USB_SUPPORT
291 static struct tegra_usb_platform_data tegra_udc_pdata = {
292         .port_otg = true,
293         .has_hostpc = true,
294         .support_pmu_vbus = true,
295         .id_det_type = TEGRA_USB_PMU_ID,
296         .phy_intf = TEGRA_USB_PHY_INTF_UTMI,
297         .op_mode = TEGRA_USB_OPMODE_DEVICE,
298         .vbus_extcon_dev_name = "palmas-extcon",
299         .u_data.dev = {
300                 .vbus_pmu_irq = 0,
301                 .vbus_gpio = -1,
302                 .charging_supported = false,
303                 .remote_wakeup_supported = false,
304         },
305         .u_cfg.utmi = {
306                 .hssync_start_delay = 0,
307                 .elastic_limit = 16,
308                 .idle_wait_delay = 17,
309                 .term_range_adj = 6,
310                 .xcvr_setup = 8,
311                 .xcvr_lsfslew = 0,
312                 .xcvr_lsrslew = 3,
313                 .xcvr_setup_offset = 0,
314                 .xcvr_use_fuses = 1,
315         },
316 };
317
318 static struct tegra_usb_platform_data tegra_ehci1_utmi_pdata = {
319         .port_otg = true,
320         .has_hostpc = true,
321         .support_pmu_vbus = true,
322         .id_det_type = TEGRA_USB_PMU_ID,
323         .unaligned_dma_buf_supported = false,
324         .phy_intf = TEGRA_USB_PHY_INTF_UTMI,
325         .op_mode = TEGRA_USB_OPMODE_HOST,
326         .vbus_extcon_dev_name = "palmas-extcon",
327         .id_extcon_dev_name = "palmas-extcon",
328         .u_data.host = {
329                 .vbus_gpio = -1,
330                 .hot_plug = false,
331                 .remote_wakeup_supported = true,
332                 .power_off_on_suspend = true,
333         },
334         .u_cfg.utmi = {
335                 .hssync_start_delay = 0,
336                 .elastic_limit = 16,
337                 .idle_wait_delay = 17,
338                 .term_range_adj = 6,
339                 .xcvr_setup = 15,
340                 .xcvr_lsfslew = 0,
341                 .xcvr_lsrslew = 3,
342                 .xcvr_setup_offset = 0,
343                 .xcvr_use_fuses = 1,
344                 .vbus_oc_map = 0x4,
345         },
346 };
347
348 static struct tegra_usb_otg_data tegra_otg_pdata = {
349         .ehci_device = &tegra_ehci1_device,
350         .ehci_pdata = &tegra_ehci1_utmi_pdata,
351 };
352
353 static void macallan_usb_init(void)
354 {
355         int usb_port_owner_info = tegra_get_usb_port_owner_info();
356
357         /* Set USB wake sources for macallan */
358         tegra_set_usb_wake_source();
359
360         if (!(usb_port_owner_info & UTMI1_PORT_OWNER_XUSB)) {
361                 tegra_otg_device.dev.platform_data = &tegra_otg_pdata;
362                 platform_device_register(&tegra_otg_device);
363                 /* Setup the udc platform data */
364                 tegra_udc_device.dev.platform_data = &tegra_udc_pdata;
365         }
366 }
367
368 static struct gpio modem_gpios[] = { /* Nemo modem */
369         {MODEM_EN, GPIOF_OUT_INIT_HIGH, "MODEM EN"},
370         {MDM_RST, GPIOF_OUT_INIT_LOW, "MODEM RESET"},
371 };
372
373 static struct tegra_usb_platform_data tegra_ehci2_hsic_baseband_pdata = {
374         .port_otg = false,
375         .has_hostpc = true,
376         .unaligned_dma_buf_supported = false,
377         .phy_intf = TEGRA_USB_PHY_INTF_HSIC,
378         .op_mode = TEGRA_USB_OPMODE_HOST,
379         .u_data.host = {
380                 .vbus_gpio = -1,
381                 .hot_plug = false,
382                 .remote_wakeup_supported = true,
383                 .power_off_on_suspend = true,
384         },
385 };
386
387 static int baseband_init(void)
388 {
389         int ret;
390
391         ret = gpio_request_array(modem_gpios, ARRAY_SIZE(modem_gpios));
392         if (ret) {
393                 pr_warn("%s:gpio request failed\n", __func__);
394                 return ret;
395         }
396
397         /* enable pull-down for MDM_COLD_BOOT */
398         tegra_pinmux_set_pullupdown(TEGRA_PINGROUP_ULPI_DATA4,
399                                     TEGRA_PUPD_PULL_DOWN);
400
401         /* export GPIO for user space access through sysfs */
402         gpio_export(MDM_RST, false);
403
404         return 0;
405 }
406
407 static const struct tegra_modem_operations baseband_operations = {
408         .init = baseband_init,
409 };
410
411 static struct tegra_usb_modem_power_platform_data baseband_pdata = {
412         .ops = &baseband_operations,
413         .wake_gpio = -1,
414         .boot_gpio = MDM_COLDBOOT,
415         .boot_irq_flags = IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,
416         .autosuspend_delay = 2000,
417         .short_autosuspend_delay = 50,
418         .tegra_ehci_device = &tegra_ehci2_device,
419         .tegra_ehci_pdata = &tegra_ehci2_hsic_baseband_pdata,
420 };
421
422 static struct platform_device icera_nemo_device = {
423         .name = "tegra_usb_modem_power",
424         .id = -1,
425         .dev = {
426                 .platform_data = &baseband_pdata,
427         },
428 };
429
430 static void macallan_modem_init(void)
431 {
432         int modem_id = tegra_get_modem_id();
433         int usb_port_owner_info = tegra_get_usb_port_owner_info();
434         switch (modem_id) {
435         case TEGRA_BB_NEMO: /* on board i500 HSIC */
436                 if (!(usb_port_owner_info & HSIC1_PORT_OWNER_XUSB))
437                         platform_device_register(&icera_nemo_device);
438                 break;
439         }
440 }
441
442 #else
443 static void macallan_usb_init(void) { }
444 static void macallan_modem_init(void) { }
445 #endif
446
447 static void macallan_audio_init(void)
448 {
449         macallan_audio_pdata.codec_name = "rt5640.0-001c";
450         macallan_audio_pdata.codec_dai_name = "rt5640-aif1";
451 }
452
453
454 static __initdata struct tegra_clk_init_table touch_clk_init_table[] = {
455         /* name         parent          rate            enabled */
456         { "extern2",    "pll_p",        41000000,       false},
457         { "clk_out_2",  "extern2",      40800000,       false},
458         { NULL,         NULL,           0,              0},
459 };
460
461 struct rm_spi_ts_platform_data rm31080ts_macallan_data = {
462         .gpio_reset = TOUCH_GPIO_RST_RAYDIUM_SPI,
463         .config = 0,
464         .platform_id = RM_PLATFORM_D010,
465         .name_of_clock = "clk_out_2",
466         .name_of_clock_con = "extern2",
467 };
468
469 static struct tegra_spi_device_controller_data dev_cdata = {
470         .rx_clk_tap_delay = 16,
471         .tx_clk_tap_delay = 16,
472 };
473
474 struct spi_board_info rm31080a_macallan_spi_board[1] = {
475         {
476          .modalias = "rm_ts_spidev",
477          .bus_num = 0,
478          .chip_select = 0,
479          .max_speed_hz = 12 * 1000 * 1000,
480          .mode = SPI_MODE_0,
481          .controller_data = &dev_cdata,
482          .platform_data = &rm31080ts_macallan_data,
483          },
484 };
485
486 static int __init macallan_touch_init(void)
487 {
488         tegra_clk_init_from_table(touch_clk_init_table);
489         if (display_board_info.board_id == BOARD_E1582)
490                 rm31080ts_macallan_data.platform_id = RM_PLATFORM_P005;
491         else
492                 rm31080ts_macallan_data.platform_id = RM_PLATFORM_D010;
493         mdelay(20);
494         rm31080a_macallan_spi_board[0].irq = gpio_to_irq(TOUCH_GPIO_IRQ_RAYDIUM_SPI);
495         touch_init_raydium(TOUCH_GPIO_IRQ_RAYDIUM_SPI,
496                                 TOUCH_GPIO_RST_RAYDIUM_SPI,
497                                 &rm31080ts_macallan_data,
498                                 &rm31080a_macallan_spi_board[0],
499                                 ARRAY_SIZE(rm31080a_macallan_spi_board));
500         return 0;
501 }
502
503 #ifdef CONFIG_USE_OF
504 struct of_dev_auxdata macallan_auxdata_lookup[] __initdata = {
505         OF_DEV_AUXDATA("nvidia,tegra114-sdhci", 0x78000600, "sdhci-tegra.3",
506                                 NULL),
507         OF_DEV_AUXDATA("nvidia,tegra114-sdhci", 0x78000400, "sdhci-tegra.2",
508                                 NULL),
509         OF_DEV_AUXDATA("nvidia,tegra114-sdhci", 0x78000000, "sdhci-tegra.0",
510                                 &macallan_tegra_sdhci_platform_data0),
511         OF_DEV_AUXDATA("nvidia,tegra114-camera", 0x0, "tegra_camera",
512                                 NULL),
513         OF_DEV_AUXDATA("nvidia,tegra114-host1x", TEGRA_HOST1X_BASE, "host1x",
514                                 NULL),
515         OF_DEV_AUXDATA("nvidia,tegra114-gr3d", TEGRA_GR3D_BASE, "gr3d",
516                                 NULL),
517         OF_DEV_AUXDATA("nvidia,tegra114-gr2d", TEGRA_GR2D_BASE, "gr2d",
518                                 NULL),
519         OF_DEV_AUXDATA("nvidia,tegra114-msenc", TEGRA_MSENC_BASE, "msenc",
520                                 NULL),
521         OF_DEV_AUXDATA("nvidia,tegra114-vi", TEGRA_VI_BASE, "vi",
522                                 NULL),
523         OF_DEV_AUXDATA("nvidia,tegra114-isp", TEGRA_ISP_BASE, "isp",
524                                 NULL),
525         OF_DEV_AUXDATA("nvidia,tegra114-tsec", TEGRA_TSEC_BASE, "tsec",
526                                 NULL),
527         T114_I2C_OF_DEV_AUXDATA,
528         T114_SPI_OF_DEV_AUXDATA,
529
530         {}
531 };
532 #endif
533
534 static void __init tegra_macallan_early_init(void)
535 {
536         tegra_clk_init_from_table(macallan_clk_init_table);
537         tegra_clk_verify_parents();
538         tegra_soc_device_init("macallan");
539 }
540
541
542 static void __init tegra_macallan_late_init(void)
543 {
544         macallan_i2c_init();
545         macallan_usb_init();
546         macallan_uart_init();
547         macallan_audio_init();
548         platform_add_devices(macallan_devices, ARRAY_SIZE(macallan_devices));
549         tegra_io_dpd_init();
550         macallan_regulator_init();
551         macallan_sdhci_init();
552         macallan_suspend_init();
553         macallan_emc_init();
554         macallan_edp_init();
555         isomgr_init();
556         macallan_touch_init();
557         macallan_panel_init();
558         macallan_kbc_init();
559         macallan_pmon_init();
560 #if defined CONFIG_TI_ST || defined CONFIG_TI_ST_MODULE
561         macallan_bt_st();
562         macallan_tegra_setup_st_host_wake();
563 #endif
564         macallan_modem_init();
565 #ifdef CONFIG_TEGRA_WDT_RECOVERY
566         tegra_wdt_recovery_init();
567 #endif
568         tegra_serial_debug_init(TEGRA_UARTD_BASE, INT_WDT_CPU, NULL, -1, -1);
569         macallan_sensors_init();
570         macallan_soctherm_init();
571         tegra_register_fuse();
572 }
573
574 static void __init tegra_macallan_dt_init(void)
575 {
576         tegra_get_board_info(&board_info);
577         tegra_get_display_board_info(&display_board_info);
578
579         tegra_macallan_early_init();
580
581 #ifdef CONFIG_USE_OF
582         of_platform_populate(NULL,
583                 of_default_bus_match_table, macallan_auxdata_lookup,
584                 &platform_bus);
585 #else
586         platform_device_register(&tegra_gpio_device);
587 #endif
588
589         tegra_macallan_late_init();
590 }
591
592 static void __init tegra_macallan_reserve(void)
593 {
594 #if defined(CONFIG_NVMAP_CONVERT_CARVEOUT_TO_IOVMM)
595         /* 1920*1200*4*2 = 18432000 bytes */
596         tegra_reserve(0, SZ_16M + SZ_2M, SZ_16M + SZ_2M);
597 #else
598         tegra_reserve(SZ_128M, SZ_16M + SZ_2M, SZ_16M + SZ_2M);
599 #endif
600 }
601
602 static const char * const macallan_dt_board_compat[] = {
603         "nvidia,macallan",
604         NULL
605 };
606
607 MACHINE_START(MACALLAN, "macallan")
608         .atag_offset    = 0x100,
609         .smp            = smp_ops(tegra_smp_ops),
610         .map_io         = tegra_map_common_io,
611         .reserve        = tegra_macallan_reserve,
612         .init_early     = tegra11x_init_early,
613         .init_irq       = irqchip_init,
614         .init_time      = clocksource_of_init,
615         .init_machine   = tegra_macallan_dt_init,
616         .restart        = tegra_assert_system_reset,
617         .dt_compat      = macallan_dt_board_compat,
618 MACHINE_END