mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
99fcc90270
This is an automatically generated commit. When doing `git bisect`, consider `git bisect --skip`. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
47 lines
1.1 KiB
Diff
47 lines
1.1 KiB
Diff
From 031deed1d755fc9f1e4908ef70969e1458203421 Mon Sep 17 00:00:00 2001
|
|
From: Samuel Holland <samuel@sholland.org>
|
|
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 <samuel@sholland.org>
|
|
---
|
|
.../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
|
|
|