sama5.c (c57d5621d2f2dc238f4b9c4d00b2a54187a75445) sama5.c (19c233b79d1af7b5af1ec68c1172848648184449)
1/*
2 * Setup code for SAMA5
3 *
4 * Copyright (C) 2013 Atmel,
5 * 2013 Ludovic Desroches <ludovic.desroches@atmel.com>
6 *
7 * Licensed under GPLv2 or later.
8 */

--- 38 unchanged lines hidden (view full) ---

47 soc = at91_soc_init(sama5_socs);
48 if (soc != NULL)
49 soc_dev = soc_device_to_device(soc);
50
51 of_platform_populate(NULL, of_default_bus_match_table, NULL, soc_dev);
52 at91sam9x5_pm_init();
53}
54
1/*
2 * Setup code for SAMA5
3 *
4 * Copyright (C) 2013 Atmel,
5 * 2013 Ludovic Desroches <ludovic.desroches@atmel.com>
6 *
7 * Licensed under GPLv2 or later.
8 */

--- 38 unchanged lines hidden (view full) ---

47 soc = at91_soc_init(sama5_socs);
48 if (soc != NULL)
49 soc_dev = soc_device_to_device(soc);
50
51 of_platform_populate(NULL, of_default_bus_match_table, NULL, soc_dev);
52 at91sam9x5_pm_init();
53}
54
55static const char *sama5_dt_board_compat[] __initconst = {
55static const char *const sama5_dt_board_compat[] __initconst = {
56 "atmel,sama5",
57 NULL
58};
59
60DT_MACHINE_START(sama5_dt, "Atmel SAMA5")
61 /* Maintainer: Atmel */
62 .init_machine = sama5_dt_device_init,
63 .dt_compat = sama5_dt_board_compat,
64MACHINE_END
65
56 "atmel,sama5",
57 NULL
58};
59
60DT_MACHINE_START(sama5_dt, "Atmel SAMA5")
61 /* Maintainer: Atmel */
62 .init_machine = sama5_dt_device_init,
63 .dt_compat = sama5_dt_board_compat,
64MACHINE_END
65
66static const char *sama5_alt_dt_board_compat[] __initconst = {
66static const char *const sama5_alt_dt_board_compat[] __initconst = {
67 "atmel,sama5d4",
68 NULL
69};
70
71DT_MACHINE_START(sama5_alt_dt, "Atmel SAMA5")
72 /* Maintainer: Atmel */
73 .init_machine = sama5_dt_device_init,
74 .dt_compat = sama5_alt_dt_board_compat,
75 .l2c_aux_mask = ~0UL,
76MACHINE_END
67 "atmel,sama5d4",
68 NULL
69};
70
71DT_MACHINE_START(sama5_alt_dt, "Atmel SAMA5")
72 /* Maintainer: Atmel */
73 .init_machine = sama5_dt_device_init,
74 .dt_compat = sama5_alt_dt_board_compat,
75 .l2c_aux_mask = ~0UL,
76MACHINE_END