xref: /freebsd/sys/contrib/device-tree/Bindings/net/davicom-dm9000.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotDavicom DM9000 Fast Ethernet controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible = "davicom,dm9000";
5*c66ec88fSEmmanuel Vadot- reg : physical addresses and sizes of registers, must contain 2 entries:
6*c66ec88fSEmmanuel Vadot    first entry : address register,
7*c66ec88fSEmmanuel Vadot    second entry : data register.
8*c66ec88fSEmmanuel Vadot- interrupts : interrupt specifier specific to interrupt controller
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotOptional properties:
11*c66ec88fSEmmanuel Vadot- davicom,no-eeprom : Configuration EEPROM is not available
12*c66ec88fSEmmanuel Vadot- davicom,ext-phy : Use external PHY
13*c66ec88fSEmmanuel Vadot- reset-gpios : phandle of gpio that will be used to reset chip during probe
14*c66ec88fSEmmanuel Vadot- vcc-supply : phandle of regulator that will be used to enable power to chip
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotExample:
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot	ethernet@18000000 {
19*c66ec88fSEmmanuel Vadot		compatible = "davicom,dm9000";
20*c66ec88fSEmmanuel Vadot		reg = <0x18000000 0x2 0x18000004 0x2>;
21*c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpn>;
22*c66ec88fSEmmanuel Vadot		interrupts = <7 4>;
23*c66ec88fSEmmanuel Vadot		local-mac-address = [00 00 de ad be ef];
24*c66ec88fSEmmanuel Vadot		davicom,no-eeprom;
25*c66ec88fSEmmanuel Vadot		reset-gpios = <&gpf 12 GPIO_ACTIVE_LOW>;
26*c66ec88fSEmmanuel Vadot		vcc-supply = <&eth0_power>;
27*c66ec88fSEmmanuel Vadot	};
28