sunxi.c (1025c04cecd19882e28f16c4004034b475c372c5) sunxi.c (91a319779cb3a871d48e39cccf6cc72348eb1512)
1/*
2 * Device Tree support for Allwinner A1X SoCs
3 *
4 * Copyright (C) 2012 Maxime Ripard
5 *
6 * Maxime Ripard <maxime.ripard@free-electrons.com>
7 *
8 * This file is licensed under the terms of the GNU General Public

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

128
129 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
130}
131
132static const char * const sunxi_board_dt_compat[] = {
133 "allwinner,sun4i-a10",
134 "allwinner,sun5i-a10s",
135 "allwinner,sun5i-a13",
1/*
2 * Device Tree support for Allwinner A1X SoCs
3 *
4 * Copyright (C) 2012 Maxime Ripard
5 *
6 * Maxime Ripard <maxime.ripard@free-electrons.com>
7 *
8 * This file is licensed under the terms of the GNU General Public

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

128
129 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
130}
131
132static const char * const sunxi_board_dt_compat[] = {
133 "allwinner,sun4i-a10",
134 "allwinner,sun5i-a10s",
135 "allwinner,sun5i-a13",
136 "allwinner,sun6i-a31",
137 "allwinner,sun7i-a20",
138 NULL,
139};
140
141DT_MACHINE_START(SUNXI_DT, "Allwinner A1X (Device Tree)")
142 .init_machine = sunxi_dt_init,
143 .init_time = sunxi_timer_init,
144 .dt_compat = sunxi_board_dt_compat,
145MACHINE_END
136 NULL,
137};
138
139DT_MACHINE_START(SUNXI_DT, "Allwinner A1X (Device Tree)")
140 .init_machine = sunxi_dt_init,
141 .init_time = sunxi_timer_init,
142 .dt_compat = sunxi_board_dt_compat,
143MACHINE_END
144
145static const char * const sun6i_board_dt_compat[] = {
146 "allwinner,sun6i-a31",
147 NULL,
148};
149
150DT_MACHINE_START(SUN6I_DT, "Allwinner sun6i (A31) Family")
151 .init_machine = sunxi_dt_init,
152 .init_time = sunxi_timer_init,
153 .dt_compat = sun6i_board_dt_compat,
154MACHINE_END
155
156static const char * const sun7i_board_dt_compat[] = {
157 "allwinner,sun7i-a20",
158 NULL,
159};
160
161DT_MACHINE_START(SUN7I_DT, "Allwinner sun7i (A20) Family")
162 .init_machine = sunxi_dt_init,
163 .init_time = sunxi_timer_init,
164 .dt_compat = sun7i_board_dt_compat,
165MACHINE_END