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