.. | .. |
---|
10 | 10 | * warranty of any kind, whether express or implied. |
---|
11 | 11 | */ |
---|
12 | 12 | |
---|
13 | | -#include <linux/clk-provider.h> |
---|
14 | 13 | #include <linux/clocksource.h> |
---|
15 | 14 | #include <linux/init.h> |
---|
| 15 | +#include <linux/of_clk.h> |
---|
16 | 16 | #include <linux/platform_device.h> |
---|
| 17 | +#include <linux/reset/sunxi.h> |
---|
17 | 18 | |
---|
18 | 19 | #include <asm/mach/arch.h> |
---|
19 | 20 | #include <asm/secure_cntvoff.h> |
---|
.. | .. |
---|
37 | 38 | NULL, |
---|
38 | 39 | }; |
---|
39 | 40 | |
---|
40 | | -extern void __init sun6i_reset_init(void); |
---|
41 | 41 | static void __init sun6i_timer_init(void) |
---|
42 | 42 | { |
---|
43 | 43 | of_clk_init(NULL); |
---|
.. | .. |
---|
102 | 102 | DT_MACHINE_START(SUN9I_DT, "Allwinner sun9i Family") |
---|
103 | 103 | .dt_compat = sun9i_board_dt_compat, |
---|
104 | 104 | MACHINE_END |
---|
| 105 | + |
---|
| 106 | +static const char * const suniv_board_dt_compat[] = { |
---|
| 107 | + "allwinner,suniv-f1c100s", |
---|
| 108 | + NULL, |
---|
| 109 | +}; |
---|
| 110 | + |
---|
| 111 | +DT_MACHINE_START(SUNIV_DT, "Allwinner suniv Family") |
---|
| 112 | + .dt_compat = suniv_board_dt_compat, |
---|
| 113 | +MACHINE_END |
---|