[PATCH net-next v5 2/3] dt-bindings: net: wiznet,w5100: add link status interrupt

From: Arthur Crepin Leblond

Date: Thu Aug 13 2026 - 05:08:23 EST


Add an optional link status interrupt which can be connected to the
LINKLED pin on the device to detect link status changes.

Signed-off-by: Arthur Crepin Leblond <arthur@xxxxxxxxxxxxx>
---
.../devicetree/bindings/net/wiznet,w5100.yaml | 34 ++++++++++++++++++----
1 file changed, 29 insertions(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/wiznet,w5100.yaml b/Documentation/devicetree/bindings/net/wiznet,w5100.yaml
index 217f301db182..81f4382eb96c 100644
--- a/Documentation/devicetree/bindings/net/wiznet,w5100.yaml
+++ b/Documentation/devicetree/bindings/net/wiznet,w5100.yaml
@@ -15,6 +15,33 @@ description: |
allOf:
- $ref: /schemas/net/ethernet-controller.yaml#
- $ref: /schemas/spi/spi-peripheral-props.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - wiznet,w5500
+ then:
+ properties:
+ interrupts:
+ minItems: 1
+ items:
+ - description: Main interrupt (INT pin on the device).
+ - description:
+ Optional interrupt for link status changes (LINKLED pin on
+ w5500).
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - wiznet,w5100
+ - wiznet,w5200
+ then:
+ properties:
+ interrupts:
+ items:
+ - description: Main interrupt (INT pin on the device).

properties:
compatible:
@@ -23,10 +50,6 @@ properties:
- wiznet,w5200
- wiznet,w5500

- interrupts:
- items:
- - description: Main interrupt (INT pin on the device).
-
reg:
maxItems: 1

@@ -59,7 +82,8 @@ examples:
pinctrl-names = "default";
pinctrl-0 = <&eth1_pins>;
interrupt-parent = <&gpio>;
- interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
+ interrupts = <25 IRQ_TYPE_EDGE_FALLING>,
+ <24 IRQ_TYPE_EDGE_BOTH>;
spi-max-frequency = <30000000>;
local-mac-address = [ a0 b0 c0 d0 e0 f0 ];
};

--
2.55.0