1*01d26589SPhil ElwellMicrochip LAN78xx Gigabit Ethernet controller 2*01d26589SPhil Elwell 3*01d26589SPhil ElwellThe LAN78XX devices are usually configured by programming their OTP or with 4*01d26589SPhil Elwellan external EEPROM, but some platforms (e.g. Raspberry Pi 3 B+) have neither. 5*01d26589SPhil ElwellThe Device Tree properties, if present, override the OTP and EEPROM. 6*01d26589SPhil Elwell 7*01d26589SPhil ElwellRequired properties: 8*01d26589SPhil Elwell- compatible: Should be one of "usb424,7800", "usb424,7801" or "usb424,7850". 9*01d26589SPhil Elwell 10*01d26589SPhil ElwellOptional properties: 11*01d26589SPhil Elwell- local-mac-address: see ethernet.txt 12*01d26589SPhil Elwell- mac-address: see ethernet.txt 13*01d26589SPhil Elwell 14*01d26589SPhil ElwellOptional properties of the embedded PHY: 15*01d26589SPhil Elwell- microchip,led-modes: a 0..4 element vector, with each element configuring 16*01d26589SPhil Elwell the operating mode of an LED. Omitted LEDs are turned off. Allowed values 17*01d26589SPhil Elwell are defined in "include/dt-bindings/net/microchip-lan78xx.h". 18*01d26589SPhil Elwell 19*01d26589SPhil ElwellExample: 20*01d26589SPhil Elwell 21*01d26589SPhil Elwell/* Based on the configuration for a Raspberry Pi 3 B+ */ 22*01d26589SPhil Elwell&usb { 23*01d26589SPhil Elwell usb-port@1 { 24*01d26589SPhil Elwell compatible = "usb424,2514"; 25*01d26589SPhil Elwell reg = <1>; 26*01d26589SPhil Elwell #address-cells = <1>; 27*01d26589SPhil Elwell #size-cells = <0>; 28*01d26589SPhil Elwell 29*01d26589SPhil Elwell usb-port@1 { 30*01d26589SPhil Elwell compatible = "usb424,2514"; 31*01d26589SPhil Elwell reg = <1>; 32*01d26589SPhil Elwell #address-cells = <1>; 33*01d26589SPhil Elwell #size-cells = <0>; 34*01d26589SPhil Elwell 35*01d26589SPhil Elwell ethernet: ethernet@1 { 36*01d26589SPhil Elwell compatible = "usb424,7800"; 37*01d26589SPhil Elwell reg = <1>; 38*01d26589SPhil Elwell local-mac-address = [ 00 11 22 33 44 55 ]; 39*01d26589SPhil Elwell 40*01d26589SPhil Elwell mdio { 41*01d26589SPhil Elwell #address-cells = <0x1>; 42*01d26589SPhil Elwell #size-cells = <0x0>; 43*01d26589SPhil Elwell eth_phy: ethernet-phy@1 { 44*01d26589SPhil Elwell reg = <1>; 45*01d26589SPhil Elwell microchip,led-modes = < 46*01d26589SPhil Elwell LAN78XX_LINK_1000_ACTIVITY 47*01d26589SPhil Elwell LAN78XX_LINK_10_100_ACTIVITY 48*01d26589SPhil Elwell >; 49*01d26589SPhil Elwell }; 50*01d26589SPhil Elwell }; 51*01d26589SPhil Elwell }; 52*01d26589SPhil Elwell }; 53*01d26589SPhil Elwell }; 54*01d26589SPhil Elwell}; 55