Commit fada43cc authored by Niklas Cassel's avatar Niklas Cassel Committed by David S. Miller

bindings: net: stmmac: add missing note about LPI interrupt

The hardware has a LPI interrupt.
There is already code in the stmmac driver to parse and handle the
interrupt. However, this information was missing from the DT binding.

At the same time, improve the description of the existing interrupts.
Signed-off-by: default avatarNiklas Cassel <niklas.cassel@axis.com>
Acked-By: default avatarJoao Pinto <jpinto@synopsys.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1f504ec9
...@@ -7,9 +7,12 @@ Required properties: ...@@ -7,9 +7,12 @@ Required properties:
- interrupt-parent: Should be the phandle for the interrupt controller - interrupt-parent: Should be the phandle for the interrupt controller
that services interrupts for this device that services interrupts for this device
- interrupts: Should contain the STMMAC interrupts - interrupts: Should contain the STMMAC interrupts
- interrupt-names: Should contain the interrupt names "macirq" - interrupt-names: Should contain a list of interrupt names corresponding to
"eth_wake_irq" if this interrupt is supported in the "interrupts" the interrupts in the interrupts property, if available.
property Valid interrupt names are:
- "macirq" (combined signal for various interrupt events)
- "eth_wake_irq" (the interrupt to manage the remote wake-up packet detection)
- "eth_lpi" (the interrupt that occurs when Tx or Rx enters/exits LPI state)
- phy-mode: See ethernet.txt file in the same directory. - phy-mode: See ethernet.txt file in the same directory.
- snps,reset-gpio gpio number for phy reset. - snps,reset-gpio gpio number for phy reset.
- snps,reset-active-low boolean flag to indicate if phy reset is active low. - snps,reset-active-low boolean flag to indicate if phy reset is active low.
...@@ -152,8 +155,8 @@ Examples: ...@@ -152,8 +155,8 @@ Examples:
compatible = "st,spear600-gmac"; compatible = "st,spear600-gmac";
reg = <0xe0800000 0x8000>; reg = <0xe0800000 0x8000>;
interrupt-parent = <&vic1>; interrupt-parent = <&vic1>;
interrupts = <24 23>; interrupts = <24 23 22>;
interrupt-names = "macirq", "eth_wake_irq"; interrupt-names = "macirq", "eth_wake_irq", "eth_lpi";
mac-address = [000000000000]; /* Filled in by U-Boot */ mac-address = [000000000000]; /* Filled in by U-Boot */
max-frame-size = <3800>; max-frame-size = <3800>;
phy-mode = "gmii"; phy-mode = "gmii";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment