xref: /freebsd/sys/contrib/device-tree/Bindings/net/micrel.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1Micrel PHY properties.
2
3These properties cover the base properties Micrel PHYs.
4
5Optional properties:
6
7 - micrel,led-mode : LED mode value to set for PHYs with configurable LEDs.
8
9	Configure the LED mode with single value. The list of PHYs and the
10	bits that are currently supported:
11
12	KSZ8001: register 0x1e, bits 15..14
13	KSZ8041: register 0x1e, bits 15..14
14	KSZ8021: register 0x1f, bits 5..4
15	KSZ8031: register 0x1f, bits 5..4
16	KSZ8051: register 0x1f, bits 5..4
17	KSZ8081: register 0x1f, bits 5..4
18	KSZ8091: register 0x1f, bits 5..4
19
20	See the respective PHY datasheet for the mode values.
21
22 - micrel,rmii-reference-clock-select-25-mhz: RMII Reference Clock Select
23						bit selects 25 MHz mode
24
25	Setting the RMII Reference Clock Select bit enables 25 MHz rather
26	than 50 MHz clock mode.
27
28	Note that this option in only needed for certain PHY revisions with a
29	non-standard, inverted function of this configuration bit.
30	Specifically, a clock reference ("rmii-ref" below) is always needed to
31	actually select a mode.
32
33 - clocks, clock-names: contains clocks according to the common clock bindings.
34
35	supported clocks:
36	- KSZ8021, KSZ8031, KSZ8081, KSZ8091: "rmii-ref": The RMII reference
37	  input clock. Used to determine the XI input clock.
38
39 - micrel,fiber-mode: If present the PHY is configured to operate in fiber mode
40
41	Some PHYs, such as the KSZ8041FTL variant, support fiber mode, enabled
42	by the FXEN boot strapping pin. It can't be determined from the PHY
43	registers whether the PHY is in fiber mode, so this boolean device tree
44	property can be used to describe it.
45
46	In fiber mode, auto-negotiation is disabled and the PHY can only work in
47	100base-fx (full and half duplex) modes.
48