1 From ab4dda7a8cb7e55ea3d92fd5e249cf6f5396028c Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Thu, 11 Mar 2021 13:35:20 +0100
4 Subject: [PATCH] dt-bindings: net: bcm4908-enet: add optional TX interrupt
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 I discovered that hardware actually supports two interrupts, one per DMA
12 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
13 Signed-off-by: David S. Miller <davem@davemloft.net>
15 .../bindings/net/brcm,bcm4908-enet.yaml | 17 +++++++++++++----
16 1 file changed, 13 insertions(+), 4 deletions(-)
18 --- a/Documentation/devicetree/bindings/net/brcm,bcm4908-enet.yaml
19 +++ b/Documentation/devicetree/bindings/net/brcm,bcm4908-enet.yaml
20 @@ -22,10 +22,18 @@ properties:
24 - description: RX interrupt
28 + - description: RX interrupt
29 + - description: TX interrupt
41 @@ -43,6 +51,7 @@ examples:
42 compatible = "brcm,bcm4908-enet";
43 reg = <0x80002000 0x1000>;
45 - interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
46 - interrupt-names = "rx";
47 + interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
48 + <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
49 + interrupt-names = "rx", "tx";