[PATCH net-next v3 2/3] dt-bindings: net: wiznet,w5100: add link-gpios

Arthur Crépin Leblond <[email protected]>
Newsgroups gmane.linux.drivers.devicetree,gmane.linux.network,gmane.linux.kernel
Message-ID <[email protected]>
Add the link-gpios property which describes an optional GPIO line that
can be wired to the LINKLED pin of the w5500 as an interrupt to detect
link status changes.

Signed-off-by: Arthur Crépin Leblond <[email protected]>
---
 Documentation/devicetree/bindings/net/wiznet,w5100.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/wiznet,w5100.yaml b/Documentation/devicetree/bindings/net/wiznet,w5100.yaml
index 641c9ddbde9e..cebf437ad3c4 100644
--- a/Documentation/devicetree/bindings/net/wiznet,w5100.yaml
+++ b/Documentation/devicetree/bindings/net/wiznet,w5100.yaml
@@ -35,6 +35,12 @@ properties:
       however, board designs may need to limit this value.
     maximum: 80000000
 
+  link-gpios:
+    description:
+      An optional GPIO line that can be wired to the LINKLED pin of the w5500
+      as an interrupt to detect link status changes.
+    maxItems: 1
+
 required:
   - compatible
   - reg
@@ -60,6 +66,7 @@ examples:
             pinctrl-0 = <&eth1_pins>;
             interrupt-parent = <&gpio>;
             interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
+            link-gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
             spi-max-frequency = <30000000>;
             local-mac-address = [ a0 b0 c0 d0 e0 f0 ];
         };

-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.