dt-binding: net/phy: fix interrupts description
[linux-2.6-block.git] / Documentation / devicetree / bindings / net / phy.txt
CommitLineData
b053dc5a
KG
1PHY nodes
2
3Required properties:
4
c27d88e1 5 - interrupts : interrupt specifier for the sole interrupt.
b053dc5a
KG
6 - interrupt-parent : the phandle for the interrupt controller that
7 services interrupts for this device.
8 - reg : The ID number for the phy, usually a small integer
b053dc5a 9
6bd47ac2
DD
10Optional Properties:
11
12- compatible: Compatible list, may contain
13 "ethernet-phy-ieee802.3-c22" or "ethernet-phy-ieee802.3-c45" for
14 PHYs that implement IEEE802.3 clause 22 or IEEE802.3 clause 45
15 specifications. If neither of these are specified, the default is to
e4bf797a 16 assume clause 22.
6bd47ac2 17
7630ea4b
MB
18 If the PHY reports an incorrect ID (or none at all) then the
19 "compatible" list may contain an entry with the correct PHY ID in the
20 form: "ethernet-phy-idAAAA.BBBB" where
f00e756e
JG
21 AAAA - The value of the 16 bit Phy Identifier 1 register as
22 4 hex digits. This is the chip vendor OUI bits 3:18
23 BBBB - The value of the 16 bit Phy Identifier 2 register as
24 4 hex digits. This is the chip vendor OUI bits 19:24,
25 followed by 10 bits of a vendor specific ID.
26
e4bf797a
AL
27 The compatible list should not contain other values than those
28 listed here.
29
c88c7d32
JH
30- max-speed: Maximum PHY supported speed (10, 100, 1000...)
31
ab6016e0
FF
32- broken-turn-around: If set, indicates the PHY device does not correctly
33 release the turn around line low at the end of a MDIO transaction.
34
3b9feb60
JM
35- enet-phy-lane-swap: If set, indicates the PHY will swap the TX/RX lanes to
36 compensate for the board being designed with the lanes swapped.
37
252ae533
LM
38- enet-phy-lane-no-swap: If set, indicates that PHY will disable swap of the
39 TX/RX lanes. This property allows the PHY to work correcly after e.g. wrong
40 bootstrap configuration caused by issues in PCB layout design.
41
308d3165 42- eee-broken-100tx:
43- eee-broken-1000t:
44- eee-broken-10gt:
45- eee-broken-1000kx:
46- eee-broken-10gkx4:
47- eee-broken-10gkr:
48 Mark the corresponding energy efficient ethernet mode as broken and
49 request the ethernet to stop advertising it.
3b9feb60 50
b053dc5a
KG
51Example:
52
53ethernet-phy@0 {
f00e756e 54 compatible = "ethernet-phy-id0141.0e90", "ethernet-phy-ieee802.3-c22";
c27d88e1
BS
55 interrupt-parent = <&PIC>;
56 interrupts = <35 IRQ_TYPE_EDGE_RISING>;
b053dc5a 57 reg = <0>;
b053dc5a 58};