]>
Commit | Line | Data |
---|---|---|
7c123b6a LT |
1 | * AMD 10GbE PHY driver (amd-xgbe-phy) |
2 | ||
3 | Required properties: | |
4 | - compatible: Should be "amd,xgbe-phy-seattle-v1a" and | |
5 | "ethernet-phy-ieee802.3-c45" | |
6 | - reg: Address and length of the register sets for the device | |
7 | - SerDes Rx/Tx registers | |
8 | - SerDes integration registers (1/2) | |
9 | - SerDes integration registers (2/2) | |
c3152d47 LT |
10 | - interrupt-parent: Should be the phandle for the interrupt controller |
11 | that services interrupts for this device | |
12 | - interrupts: Should contain the amd-xgbe-phy interrupt. | |
7c123b6a | 13 | |
f047604a LT |
14 | Optional properties: |
15 | - amd,speed-set: Speed capabilities of the device | |
16 | 0 - 1GbE and 10GbE (default) | |
17 | 1 - 2.5GbE and 10GbE | |
18 | ||
8fdb1a09 LT |
19 | The following optional properties are represented by an array with each |
20 | value corresponding to a particular speed. The first array value represents | |
21 | the setting for the 1GbE speed, the second value for the 2.5GbE speed and | |
22 | the third value for the 10GbE speed. All three values are required if the | |
23 | property is used. | |
24 | - amd,serdes-blwc: Baseline wandering correction enablement | |
25 | 0 - Off | |
26 | 1 - On | |
27 | - amd,serdes-cdr-rate: CDR rate speed selection | |
28 | - amd,serdes-pq-skew: PQ (data sampling) skew | |
29 | - amd,serdes-tx-amp: TX amplitude boost | |
74ad7524 TL |
30 | - amd,serdes-dfe-tap-config: DFE taps available to run |
31 | - amd,serdes-dfe-tap-enable: DFE taps to enable | |
8fdb1a09 | 32 | |
7c123b6a LT |
33 | Example: |
34 | xgbe_phy@e1240800 { | |
35 | compatible = "amd,xgbe-phy-seattle-v1a", "ethernet-phy-ieee802.3-c45"; | |
36 | reg = <0 0xe1240800 0 0x00400>, | |
37 | <0 0xe1250000 0 0x00060>, | |
38 | <0 0xe1250080 0 0x00004>; | |
c3152d47 LT |
39 | interrupt-parent = <&gic>; |
40 | interrupts = <0 323 4>; | |
f047604a | 41 | amd,speed-set = <0>; |
8fdb1a09 LT |
42 | amd,serdes-blwc = <1>, <1>, <0>; |
43 | amd,serdes-cdr-rate = <2>, <2>, <7>; | |
44 | amd,serdes-pq-skew = <10>, <10>, <30>; | |
45 | amd,serdes-tx-amp = <15>, <15>, <10>; | |
74ad7524 TL |
46 | amd,serdes-dfe-tap-config = <3>, <3>, <1>; |
47 | amd,serdes-dfe-tap-enable = <0>, <0>, <127>; | |
7c123b6a | 48 | }; |