blob: 8db32384a4866e56094aa96e86ac8765ccdf519c [file] [log] [blame]
Lendacky, Thomas7c123b62014-06-05 09:15:00 -05001* AMD 10GbE PHY driver (amd-xgbe-phy)
2
3Required 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)
Lendacky, Thomasc3152d42015-01-16 12:47:00 -060010- 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.
Lendacky, Thomas7c123b62014-06-05 09:15:00 -050013
Lendacky, Thomasf0476042014-07-29 08:57:25 -050014Optional properties:
15- amd,speed-set: Speed capabilities of the device
16 0 - 1GbE and 10GbE (default)
17 1 - 2.5GbE and 10GbE
18
Lendacky, Thomas8fdb1a092015-01-16 12:47:21 -060019The following optional properties are represented by an array with each
20value corresponding to a particular speed. The first array value represents
21the setting for the 1GbE speed, the second value for the 2.5GbE speed and
22the third value for the 10GbE speed. All three values are required if the
23property 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
Tom Lendacky74ad7522015-02-24 10:47:49 -060030- amd,serdes-dfe-tap-config: DFE taps available to run
31- amd,serdes-dfe-tap-enable: DFE taps to enable
Lendacky, Thomas8fdb1a092015-01-16 12:47:21 -060032
Lendacky, Thomas7c123b62014-06-05 09:15:00 -050033Example:
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>;
Lendacky, Thomasc3152d42015-01-16 12:47:00 -060039 interrupt-parent = <&gic>;
40 interrupts = <0 323 4>;
Lendacky, Thomasf0476042014-07-29 08:57:25 -050041 amd,speed-set = <0>;
Lendacky, Thomas8fdb1a092015-01-16 12:47:21 -060042 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>;
Tom Lendacky74ad7522015-02-24 10:47:49 -060046 amd,serdes-dfe-tap-config = <3>, <3>, <1>;
47 amd,serdes-dfe-tap-enable = <0>, <0>, <127>;
Lendacky, Thomas7c123b62014-06-05 09:15:00 -050048 };