@@ -19,6 +19,9 @@ properties:
- qcom,sfpb-mutex
- qcom,tcsr-mutex
+ reg:
+ maxItems: 1
+
'#hwlock-cells':
const: 1
@@ -31,7 +34,12 @@ properties:
required:
- compatible
- '#hwlock-cells'
- - syscon
+
+oneOf:
+ - required:
+ - reg
+ - required:
+ - syscon
additionalProperties: false
@@ -46,6 +54,12 @@ examples:
compatible = "qcom,tcsr-mutex";
syscon = <&tcsr_mutex_block 0 0x80>;
+ #hwlock-cells = <1>;
+ };
+ - |
+ tcsr_mutex: hwlock@1f40000 {
+ compatible = "qcom,tcsr-mutex";
+ reg = <0x01f40000 0x40000>;
#hwlock-cells = <1>;
};
...