mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-08 13:44:01 +08:00
2c69dae840
The Ethernet controller is also an mdio controller, to be able to parse children (phys for example), and mdio node must be present. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
29 lines
727 B
Plaintext
29 lines
727 B
Plaintext
* NXP LPC32xx SoC Ethernet Controller
|
|
|
|
Required properties:
|
|
- compatible: Should be "nxp,lpc-eth"
|
|
- reg: Address and length of the register set for the device
|
|
- interrupts: Should contain ethernet controller interrupt
|
|
|
|
Optional properties:
|
|
- phy-mode: See ethernet.txt file in the same directory. If the property is
|
|
absent, "rmii" is assumed.
|
|
- use-iram: Use LPC32xx internal SRAM (IRAM) for DMA buffering
|
|
|
|
Optional subnodes:
|
|
- mdio : specifies the mdio bus, used as a container for phy nodes according to
|
|
phy.txt in the same directory
|
|
|
|
|
|
Example:
|
|
|
|
mac: ethernet@31060000 {
|
|
compatible = "nxp,lpc-eth";
|
|
reg = <0x31060000 0x1000>;
|
|
interrupt-parent = <&mic>;
|
|
interrupts = <29 0>;
|
|
|
|
phy-mode = "rmii";
|
|
use-iram;
|
|
};
|