hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/arch/arm/mach-sunxi/sunxi.c
....@@ -10,10 +10,11 @@
1010 * warranty of any kind, whether express or implied.
1111 */
1212
13
-#include <linux/clk-provider.h>
1413 #include <linux/clocksource.h>
1514 #include <linux/init.h>
15
+#include <linux/of_clk.h>
1616 #include <linux/platform_device.h>
17
+#include <linux/reset/sunxi.h>
1718
1819 #include <asm/mach/arch.h>
1920 #include <asm/secure_cntvoff.h>
....@@ -37,7 +38,6 @@
3738 NULL,
3839 };
3940
40
-extern void __init sun6i_reset_init(void);
4141 static void __init sun6i_timer_init(void)
4242 {
4343 of_clk_init(NULL);
....@@ -102,3 +102,12 @@
102102 DT_MACHINE_START(SUN9I_DT, "Allwinner sun9i Family")
103103 .dt_compat = sun9i_board_dt_compat,
104104 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