xref: /freebsd-src/sys/contrib/device-tree/Bindings/net/lpc-eth.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* NXP LPC32xx SoC Ethernet Controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: Should be "nxp,lpc-eth"
5*c66ec88fSEmmanuel Vadot- reg: Address and length of the register set for the device
6*c66ec88fSEmmanuel Vadot- interrupts: Should contain ethernet controller interrupt
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotOptional properties:
9*c66ec88fSEmmanuel Vadot- phy-mode: See ethernet.txt file in the same directory. If the property is
10*c66ec88fSEmmanuel Vadot  absent, "rmii" is assumed.
11*c66ec88fSEmmanuel Vadot- use-iram: Use LPC32xx internal SRAM (IRAM) for DMA buffering
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotOptional subnodes:
14*c66ec88fSEmmanuel Vadot- mdio : specifies the mdio bus, used as a container for phy nodes according to
15*c66ec88fSEmmanuel Vadot  phy.txt in the same directory
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExample:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot	mac: ethernet@31060000 {
21*c66ec88fSEmmanuel Vadot		compatible = "nxp,lpc-eth";
22*c66ec88fSEmmanuel Vadot		reg = <0x31060000 0x1000>;
23*c66ec88fSEmmanuel Vadot		interrupt-parent = <&mic>;
24*c66ec88fSEmmanuel Vadot		interrupts = <29 0>;
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot		phy-mode = "rmii";
27*c66ec88fSEmmanuel Vadot		use-iram;
28*c66ec88fSEmmanuel Vadot	};
29