Commit | Line | Data |
---|---|---|
b053dc5a KG |
1 | PHY nodes |
2 | ||
3 | Required properties: | |
4 | ||
b053dc5a KG |
5 | - interrupts : <a b> where a is the interrupt number and b is a |
6 | field that represents an encoding of the sense and level | |
7 | information for the interrupt. This should be encoded based on | |
8 | the information in section 2) depending on the type of interrupt | |
9 | controller you have. | |
10 | - interrupt-parent : the phandle for the interrupt controller that | |
11 | services interrupts for this device. | |
12 | - reg : The ID number for the phy, usually a small integer | |
b053dc5a | 13 | |
6bd47ac2 DD |
14 | Optional Properties: |
15 | ||
16 | - compatible: Compatible list, may contain | |
17 | "ethernet-phy-ieee802.3-c22" or "ethernet-phy-ieee802.3-c45" for | |
18 | PHYs that implement IEEE802.3 clause 22 or IEEE802.3 clause 45 | |
19 | specifications. If neither of these are specified, the default is to | |
20 | assume clause 22. The compatible list may also contain other | |
21 | elements. | |
22 | ||
b053dc5a KG |
23 | Example: |
24 | ||
25 | ethernet-phy@0 { | |
6bd47ac2 | 26 | compatible = "ethernet-phy-ieee802.3-c22"; |
b053dc5a KG |
27 | interrupt-parent = <40000>; |
28 | interrupts = <35 1>; | |
29 | reg = <0>; | |
b053dc5a | 30 | }; |