summaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2018-07-11 12:25:07 +0300
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-07-19 17:39:12 +0300
commit7377330a1ed2e9bb5a97758bdadcdb37e2201b2a (patch)
tree2fbb42a37302d4bda4096b8e9c7d769953642bb9 /drivers/soc
parent5fdec16b69da273d5654c2c3be01246a59e1bcba (diff)
downloadlinux-7377330a1ed2e9bb5a97758bdadcdb37e2201b2a.tar.xz
soc: sunxi: Add the A13, A23 and H3 system control compatibles
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>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/sunxi/sunxi_sram.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c
index b19fa2cc67c2..b4b0f3480bd3 100644
--- a/drivers/soc/sunxi/sunxi_sram.c
+++ b/drivers/soc/sunxi/sunxi_sram.c
@@ -370,6 +370,18 @@ static const struct of_device_id sunxi_sram_dt_match[] = {
.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,
},