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 3cb4b946ff2b7e5589546e437c27cb953db355a4..67da20539540cc4e7725deac8748e70fcce357a5 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 82709020c57c563271eee1eb2a00b4127bcf9f47..65bab2876343aff24707105f0432c90faaf90e60 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 7e1e2bd189b6a6f6f3c0047d6b3f4d6b5899c3c6..6d25e4e9dfec07755648774fd2e7fef19aa1c63d 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)
 {