dt-bindings: net: snps,dwmac: per channel irq

Add dt-bindings for per channel irq.

Signed-off-by: Rohan G Thomas <rohan.g.thomas@intel.com>
Signed-off-by: Swee Leong Ching <leong.ching.swee@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
pull/477/merge
Swee Leong Ching 2024-01-05 15:09:22 +08:00 committed by David S. Miller
parent 769ab26db4
commit 67d47c8ada
1 changed files with 17 additions and 7 deletions

View File

@ -103,17 +103,27 @@ properties:
interrupts:
minItems: 1
items:
- description: Combined signal for various interrupt events
- description: The interrupt to manage the remote wake-up packet detection
- description: The interrupt that occurs when Rx exits the LPI state
maxItems: 19
interrupt-names:
minItems: 1
maxItems: 19
items:
- const: macirq
- enum: [eth_wake_irq, eth_lpi]
- const: eth_lpi
oneOf:
- description: Combined signal for various interrupt events
const: macirq
- description: The interrupt to manage the remote wake-up packet detection
const: eth_wake_irq
- description: The interrupt that occurs when Rx exits the LPI state
const: eth_lpi
- description: DMA Tx per-channel interrupt
pattern: '^dma_tx[0-7]?$'
- description: DMA Rx per-channel interrupt
pattern: '^dma_rx[0-7]?$'
allOf:
- contains:
const: macirq
clocks:
minItems: 1