diff options
author | Tom Rini | 2024-07-20 11:15:22 -0600 |
---|---|---|
committer | Tom Rini | 2024-07-20 11:15:22 -0600 |
commit | 5024a96db8ea6ff2e814f4599af9e5faf09296b7 (patch) | |
tree | bc0d02e7022f796932c5d24c9d6b61b166488efa /dts/upstream/Bindings/crypto/starfive,jh7110-crypto.yaml | |
parent | d353e30ef3610c01b031dc9ada53701b13d473d4 (diff) | |
parent | 762f85bb2e36762ee4d7395002b8181905aec690 (diff) |
[1] https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git/
Diffstat (limited to 'dts/upstream/Bindings/crypto/starfive,jh7110-crypto.yaml')
-rw-r--r-- | dts/upstream/Bindings/crypto/starfive,jh7110-crypto.yaml | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/dts/upstream/Bindings/crypto/starfive,jh7110-crypto.yaml b/dts/upstream/Bindings/crypto/starfive,jh7110-crypto.yaml index 71a2876bd6e..7ccb6e1641d 100644 --- a/dts/upstream/Bindings/crypto/starfive,jh7110-crypto.yaml +++ b/dts/upstream/Bindings/crypto/starfive,jh7110-crypto.yaml @@ -12,7 +12,9 @@ maintainers: properties: compatible: - const: starfive,jh7110-crypto + enum: + - starfive,jh7110-crypto + - starfive,jh8100-crypto reg: maxItems: 1 @@ -28,7 +30,10 @@ properties: - const: ahb interrupts: - maxItems: 1 + minItems: 1 + items: + - description: SHA2 module irq + - description: SM3 module irq resets: maxItems: 1 @@ -54,6 +59,27 @@ required: additionalProperties: false +allOf: + - if: + properties: + compatible: + const: starfive,jh7110-crypto + + then: + properties: + interrupts: + maxItems: 1 + + - if: + properties: + compatible: + const: starfive,jh8100-crypto + + then: + properties: + interrupts: + minItems: 2 + examples: - | crypto: crypto@16000000 { |