12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- From 031deed1d755fc9f1e4908ef70969e1458203421 Mon Sep 17 00:00:00 2001
- From: Samuel Holland <[email protected]>
- Date: Sun, 6 Jun 2021 10:20:38 -0500
- Subject: [PATCH 049/117] dt-bindings: iommu: sun50i: Add compatible for
- Allwinner D1
- D1 contains an IOMMU similar to the one in the H6 SoC, but the D1
- variant has no external reset signal.
- Signed-off-by: Samuel Holland <[email protected]>
- ---
- .../iommu/allwinner,sun50i-h6-iommu.yaml | 16 ++++++++++++++--
- 1 file changed, 14 insertions(+), 2 deletions(-)
- --- a/Documentation/devicetree/bindings/iommu/allwinner,sun50i-h6-iommu.yaml
- +++ b/Documentation/devicetree/bindings/iommu/allwinner,sun50i-h6-iommu.yaml
- @@ -17,7 +17,9 @@ properties:
- The content of the cell is the master ID.
-
- compatible:
- - const: allwinner,sun50i-h6-iommu
- + enum:
- + - allwinner,sun20i-d1-iommu
- + - allwinner,sun50i-h6-iommu
-
- reg:
- maxItems: 1
- @@ -37,7 +39,17 @@ required:
- - reg
- - interrupts
- - clocks
- - - resets
- +
- +if:
- + properties:
- + compatible:
- + contains:
- + enum:
- + - allwinner,sun50i-h6-iommu
- +
- +then:
- + required:
- + - resets
-
- additionalProperties: false
-
|