mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
99545b4bb1
This target adds support for the Allwinner D1 RISC-V based SoCs. - RISC-V single-core T-Head C906 (RV64GCV) - Tensilica HiFi4 DSP - DDR2/DDR3 support - 10/100/1000M ethernet - usual peripherals like USB2, SPI, I2C, PWM, etc. Four boards are supported: - Dongshan Nezha STU - 512Mb RAM - ethernet - LicheePi RV Dock - 512Mb RAM - wireless-only (RTL8723DS) - MangoPi MQ-Pro - 512Mb RAM - there are pads available for an SPI flash - wireless-only (RTL8723DS) - Nezha D1 - 512Mb/1Gb/2Gb RAM - 256Mb NAND flash - ethernet, wireless Installation: Standard SD-card installation via dd-ing the generated image to an SD-card of at least 256Mb. 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
|
|
|