dt-binding: net/phy: fix interrupts description
[linux-2.6-block.git] / Documentation / devicetree / bindings / net / phy.txt
... / ...
CommitLineData
1PHY nodes
2
3Required properties:
4
5 - interrupts : interrupt specifier for the sole interrupt.
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
9
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
16 assume clause 22.
17
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
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
27 The compatible list should not contain other values than those
28 listed here.
29
30- max-speed: Maximum PHY supported speed (10, 100, 1000...)
31
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
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
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
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.
50
51Example:
52
53ethernet-phy@0 {
54 compatible = "ethernet-phy-id0141.0e90", "ethernet-phy-ieee802.3-c22";
55 interrupt-parent = <&PIC>;
56 interrupts = <35 IRQ_TYPE_EDGE_RISING>;
57 reg = <0>;
58};