ARM: sunxi: Add Machine support for A33
authorVishnu Patekar <vishnupatekar0510@gmail.com>
Sat, 30 May 2015 14:55:01 +0000 (16:55 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 5 Jul 2015 14:33:55 +0000 (16:33 +0200)
Add machine support for the Allwinner A33 quad core cortex-a7 based SoC,
which is similar to the A23 SoC.

Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Tested-by: Chen-Yu Tsai <wens@csie.org>
Documentation/devicetree/bindings/arm/sunxi.txt
arch/arm/mach-sunxi/sunxi.c
drivers/clk/sunxi/clk-sunxi.c

index 3cb4b94..67da205 100644 (file)
@@ -9,5 +9,6 @@ using one of the following compatible strings:
   allwinner,sun6i-a31
   allwinner,sun7i-a20
   allwinner,sun8i-a23
+  allwinner,sun8i-a33
   allwinner,sun8i-h3
   allwinner,sun9i-a80
index 8270902..65bab28 100644 (file)
@@ -67,6 +67,7 @@ MACHINE_END
 
 static const char * const sun8i_board_dt_compat[] = {
        "allwinner,sun8i-a23",
+       "allwinner,sun8i-a33",
        "allwinner,sun8i-h3",
        NULL,
 };
index 7e1e2bd..6d25e4e 100644 (file)
@@ -1389,6 +1389,7 @@ static void __init sun6i_init_clocks(struct device_node *node)
 CLK_OF_DECLARE(sun6i_a31_clk_init, "allwinner,sun6i-a31", sun6i_init_clocks);
 CLK_OF_DECLARE(sun6i_a31s_clk_init, "allwinner,sun6i-a31s", sun6i_init_clocks);
 CLK_OF_DECLARE(sun8i_a23_clk_init, "allwinner,sun8i-a23", sun6i_init_clocks);
+CLK_OF_DECLARE(sun8i_a33_clk_init, "allwinner,sun8i-a33", sun6i_init_clocks);
 
 static void __init sun9i_init_clocks(struct device_node *node)
 {