mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
4070e2a64c
This target adds support for the StarFive JH7100 and JH7110 SoCs, based on 6.1, as well as a couple boards equipped with these. Specifications: SoCs: JH7100: - StarFive JH7100 dual-core RISC-V (U74, RC64GC) - additional monitoring (S7) and control (E24) cores - 2Mb L2 cache JH7110: - StarFive JH7110 quad-core RISC-V (U74, RV64GC) - additional monitoring (S7) and control (E24) cores - 2Mb L2 cache Boards: VisionFive1: - JH7100 @ 1GHz - Memory: 8Gb LPDDR4 - 4x USB3.0 - 1x GBit ethernet - AMPak 6236 wifi / bluetooth - audio - powered via USB-C VisionFive2: - JH7110 @ 1.5GHz - Memory: 2/4/8Gb DDR4 - 2x Gbit ethernet - 2x USB3.0 / 2x USB2.0 - eMMC / SDIO - various multimedia input/outputs (MIPI CSI, HDMI, audio) - M.2 key M slot - PoE support - powered via USB-C 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>
63 lines
1.5 KiB
Diff
63 lines
1.5 KiB
Diff
From c2f59eeeee68bb66a3db8555474fe94e73b65b02 Mon Sep 17 00:00:00 2001
|
|
From: Walker Chen <walker.chen@starfivetech.com>
|
|
Date: Wed, 22 Mar 2023 17:48:17 +0800
|
|
Subject: [PATCH 111/122] dt-bindings: dma: snps,dw-axi-dmac: constrain the
|
|
items of resets for JH7110 dma
|
|
|
|
The DMA controller needs two reset items to work properly on JH7110 SoC,
|
|
so there is need to constrain the items' value to 2, other platforms
|
|
have 1 reset item at most.
|
|
|
|
Reviewed-by: Rob Herring <robh@kernel.org>
|
|
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
---
|
|
.../bindings/dma/snps,dw-axi-dmac.yaml | 23 ++++++++++++++++++-
|
|
1 file changed, 22 insertions(+), 1 deletion(-)
|
|
|
|
--- a/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml
|
|
+++ b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml
|
|
@@ -21,6 +21,7 @@ properties:
|
|
enum:
|
|
- snps,axi-dma-1.01a
|
|
- intel,kmb-axi-dma
|
|
+ - starfive,jh7110-axi-dma
|
|
|
|
reg:
|
|
minItems: 1
|
|
@@ -59,7 +60,8 @@ properties:
|
|
maximum: 8
|
|
|
|
resets:
|
|
- maxItems: 1
|
|
+ minItems: 1
|
|
+ maxItems: 2
|
|
|
|
snps,dma-masters:
|
|
description: |
|
|
@@ -110,6 +112,25 @@ required:
|
|
- snps,priority
|
|
- snps,block-size
|
|
|
|
+if:
|
|
+ properties:
|
|
+ compatible:
|
|
+ contains:
|
|
+ enum:
|
|
+ - starfive,jh7110-axi-dma
|
|
+then:
|
|
+ properties:
|
|
+ resets:
|
|
+ minItems: 2
|
|
+ items:
|
|
+ - description: AXI reset line
|
|
+ - description: AHB reset line
|
|
+ - description: module reset
|
|
+else:
|
|
+ properties:
|
|
+ resets:
|
|
+ maxItems: 1
|
|
+
|
|
additionalProperties: false
|
|
|
|
examples:
|