@@ -1983,6 +1983,17 @@ static const struct arm_smmu_match_data qcom_smmuv2 = {
.num_clks = ARRAY_SIZE(qcom_smmuv2_clks),
};
+static const char * const altr_smmuv2_clks[] = {
+ "masters"
+};
+
+static const struct arm_smmu_match_data altr_smmuv2 = {
+ .version = ARM_SMMU_V2,
+ .model = ARM_MMU500,
+ .clks = altr_smmuv2_clks,
+ .num_clks = ARRAY_SIZE(altr_smmuv2_clks),
+};
+
static const struct of_device_id arm_smmu_of_match[] = {
{ .compatible = "arm,smmu-v1", .data = &smmu_generic_v1 },
{ .compatible = "arm,smmu-v2", .data = &smmu_generic_v2 },
@@ -1991,6 +2002,7 @@ static const struct of_device_id arm_smmu_of_match[] = {
{ .compatible = "arm,mmu-500", .data = &arm_mmu500 },
{ .compatible = "cavium,smmu-v2", .data = &cavium_smmuv2 },
{ .compatible = "qcom,smmu-v2", .data = &qcom_smmuv2 },
+ { .compatible = "altr,smmu-v2", .data = &altr_smmuv2 },
{ },
};
MODULE_DEVICE_TABLE(of, arm_smmu_of_match);