soc: sunxi: Add the A13, A23 and H3 system control compatibles
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 11 Jul 2018 09:25:07 +0000 (11:25 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Thu, 19 Jul 2018 14:39:12 +0000 (16:39 +0200)
The A13, A23 and H3 have variations of the system controls, in part due to
the SRAM that are available (and can be mapped) in the SoC.

In order to make it future proof, let's add compatibles for these SoCs in
the driver.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
drivers/soc/sunxi/sunxi_sram.c

index b19fa2cc67c2bbbb004a34a430bf4a209ceb5afc..b4b0f3480bd36f4ee9662ef10628a4f12b5c52c3 100644 (file)
@@ -369,6 +369,18 @@ static const struct of_device_id sunxi_sram_dt_match[] = {
                .compatible = "allwinner,sun4i-a10-system-control",
                .data = &sun4i_a10_sramc_variant,
        },
+       {
+               .compatible = "allwinner,sun5i-a13-system-control",
+               .data = &sun4i_a10_sramc_variant,
+       },
+       {
+               .compatible = "allwinner,sun8i-a23-system-control",
+               .data = &sun4i_a10_sramc_variant,
+       },
+       {
+               .compatible = "allwinner,sun8i-h3-system-control",
+               .data = &sun4i_a10_sramc_variant,
+       },
        {
                .compatible = "allwinner,sun50i-a64-sram-controller",
                .data = &sun50i_a64_sramc_variant,