@@ -18,12 +18,16 @@ properties:
items:
- enum:
- qcom,sc7280-eud
+ - qcom,sm6115-eud
- const: qcom,eud
reg:
- items:
- - description: EUD Base Register Region
- - description: EUD Mode Manager Register
+ minItems: 2
+ maxItems: 3
+
+ reg-names:
+ minItems: 2
+ maxItems: 3
interrupts:
description: EUD interrupt
@@ -50,6 +54,38 @@ required:
- reg
- ports
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,sc7280-eud
+ then:
+ properties:
+ reg:
+ maxItems: 2
+ reg-names:
+ items:
+ - const: eud-base
+ - const: eud-mode-mgr
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,sm6115-eud
+ then:
+ properties:
+ reg:
+ maxItems: 3
+ reg-names:
+ items:
+ - const: eud-base
+ - const: eud-mode-mgr
+ - const: tcsr-base
+
additionalProperties: false
examples: