Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 26 additions & 3 deletions Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,35 @@ description:

allOf:
- $ref: dma-controller.yaml#
- if:
properties:
compatible:
contains:
const: zhihe,a210-axi-dma
then:
properties:
dma-channels:
maximum: 16
snps,priority:
maxItems: 16
snps,block-size:
maxItems: 16
else:
properties:
dma-channels:
maximum: 8
snps,priority:
maxItems: 8
snps,block-size:
maxItems: 8

properties:
compatible:
enum:
- snps,axi-dma-1.01a
- intel,kmb-axi-dma
- starfive,jh7110-axi-dma
- zhihe,a210-axi-dma

reg:
minItems: 1
Expand Down Expand Up @@ -56,7 +78,7 @@ properties:

dma-channels:
minimum: 1
maximum: 8
maximum: 16

resets:
minItems: 1
Expand All @@ -80,14 +102,14 @@ properties:
Channel priority specifier associated with the DMA channels.
$ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 1
maxItems: 8
maxItems: 16

snps,block-size:
description: |
Channel block size specifier associated with the DMA channels.
$ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 1
maxItems: 8
maxItems: 16

snps,axi-max-burst-len:
description: |
Expand Down Expand Up @@ -117,6 +139,7 @@ if:
contains:
enum:
- starfive,jh7110-axi-dma
- zhihe,a210-axi-dma
then:
properties:
resets:
Expand Down
4 changes: 4 additions & 0 deletions arch/riscv/boot/dts/zhihe/a210-evb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -527,3 +527,7 @@
};

/delete-node/ &power;

&peri3_gpio {
status = "disabled";
};
Loading
Loading