soc: sunxi: sram: Add support for the H5 SoC system control

This adds the H5 SoC compatible to the list of device-tree matches for
the SRAM driver. Since the variant is the same as the A64 (that precedes
the H5), the same variant description is used.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
Paul Kocialkowski 2018-12-05 10:24:35 +01:00 committed by Maxime Ripard
parent 15e53723ce
commit c773926822
No known key found for this signature in database
GPG Key ID: E3EF0D6F671851C5
1 changed files with 4 additions and 0 deletions

View File

@ -383,6 +383,10 @@ static const struct of_device_id sunxi_sram_dt_match[] = {
.compatible = "allwinner,sun50i-a64-system-control", .compatible = "allwinner,sun50i-a64-system-control",
.data = &sun50i_a64_sramc_variant, .data = &sun50i_a64_sramc_variant,
}, },
{
.compatible = "allwinner,sun50i-h5-system-control",
.data = &sun50i_a64_sramc_variant,
},
{ }, { },
}; };
MODULE_DEVICE_TABLE(of, sunxi_sram_dt_match); MODULE_DEVICE_TABLE(of, sunxi_sram_dt_match);