diff options
Diffstat (limited to 'kernel/Documentation/devicetree/bindings/net/fixed-link.txt')
-rw-r--r-- | kernel/Documentation/devicetree/bindings/net/fixed-link.txt | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/kernel/Documentation/devicetree/bindings/net/fixed-link.txt b/kernel/Documentation/devicetree/bindings/net/fixed-link.txt index 82bf7e0f4..ec5d889fe 100644 --- a/kernel/Documentation/devicetree/bindings/net/fixed-link.txt +++ b/kernel/Documentation/devicetree/bindings/net/fixed-link.txt @@ -17,6 +17,8 @@ properties: enabled. * 'asym-pause' (boolean, optional), to indicate that asym_pause should be enabled. +* 'link-gpios' ('gpio-list', optional), to indicate if a gpio can be read + to determine if the link is up. Old, deprecated 'fixed-link' binding: @@ -30,7 +32,7 @@ Old, deprecated 'fixed-link' binding: - e: asymmetric pause configuration: 0 for no asymmetric pause, 1 for asymmetric pause -Example: +Examples: ethernet@0 { ... @@ -40,3 +42,13 @@ ethernet@0 { }; ... }; + +ethernet@1 { + ... + fixed-link { + speed = <1000>; + pause; + link-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; + }; + ... +}; |