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

From: Arthur Crepin Leblond

Date: Mon Aug 31 2026 - 08:55:35 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>

---
v6:
- Fix DT error: use minItems
- Remove conditional properties

v5:
- Make the DT interrupts property dynamic from the compatible one
- Fix DT bindings errors

v4:
- Update interrupts in DT bindings

v3:
- Fix DT binding errors

v2:
- Convert device tree binding to YAML
---
Documentation/devicetree/bindings/net/wiznet,w5100.yaml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/wiznet,w5100.yaml b/Documentation/devicetree/bindings/net/wiznet,w5100.yaml
index 601d828bae92..d0717ab45de6 100644
--- a/Documentation/devicetree/bindings/net/wiznet,w5100.yaml
+++ b/Documentation/devicetree/bindings/net/wiznet,w5100.yaml
@@ -24,7 +24,11 @@ properties:
- wiznet,w5500

interrupts:
- maxItems: 1
+ minItems: 1
+ items:
+ - description: Main interrupt (INT pin on the device).
+ - description:
+ Optional interrupt for link status changes (LINKLED pin on w5500).

reg:
maxItems: 1
@@ -58,7 +62,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