Commit ab4dda7a authored by Rafał Miłecki's avatar Rafał Miłecki Committed by David S. Miller

dt-bindings: net: bcm4908-enet: add optional TX interrupt

I discovered that hardware actually supports two interrupts, one per DMA
channel (RX and TX).
Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 26d2e042
...@@ -22,10 +22,18 @@ properties: ...@@ -22,10 +22,18 @@ properties:
maxItems: 1 maxItems: 1
interrupts: interrupts:
description: RX interrupt minItems: 1
maxItems: 2
items:
- description: RX interrupt
- description: TX interrupt
interrupt-names: interrupt-names:
const: rx minItems: 1
maxItems: 2
items:
- const: rx
- const: tx
required: required:
- reg - reg
...@@ -43,6 +51,7 @@ examples: ...@@ -43,6 +51,7 @@ examples:
compatible = "brcm,bcm4908-enet"; compatible = "brcm,bcm4908-enet";
reg = <0x80002000 0x1000>; reg = <0x80002000 0x1000>;
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
interrupt-names = "rx"; <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "rx", "tx";
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment