Lendacky, Thomas | 7c123b6 | 2014-06-05 09:15:00 -0500 | [diff] [blame] | 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) |
Lendacky, Thomas | c3152d4 | 2015-01-16 12:47:00 -0600 | [diff] [blame] | 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. |
Lendacky, Thomas | 7c123b6 | 2014-06-05 09:15:00 -0500 | [diff] [blame] | 13 | |
Lendacky, Thomas | f047604 | 2014-07-29 08:57:25 -0500 | [diff] [blame] | 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 | |
Lendacky, Thomas | 8fdb1a09 | 2015-01-16 12:47:21 -0600 | [diff] [blame] | 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 |
Tom Lendacky | 74ad752 | 2015-02-24 10:47:49 -0600 | [diff] [blame] | 30 | - amd,serdes-dfe-tap-config: DFE taps available to run |
| 31 | - amd,serdes-dfe-tap-enable: DFE taps to enable |
Lendacky, Thomas | 8fdb1a09 | 2015-01-16 12:47:21 -0600 | [diff] [blame] | 32 | |
Lendacky, Thomas | 7c123b6 | 2014-06-05 09:15:00 -0500 | [diff] [blame] | 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>; |
Lendacky, Thomas | c3152d4 | 2015-01-16 12:47:00 -0600 | [diff] [blame] | 39 | interrupt-parent = <&gic>; |
| 40 | interrupts = <0 323 4>; |
Lendacky, Thomas | f047604 | 2014-07-29 08:57:25 -0500 | [diff] [blame] | 41 | amd,speed-set = <0>; |
Lendacky, Thomas | 8fdb1a09 | 2015-01-16 12:47:21 -0600 | [diff] [blame] | 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>; |
Tom Lendacky | 74ad752 | 2015-02-24 10:47:49 -0600 | [diff] [blame] | 46 | amd,serdes-dfe-tap-config = <3>, <3>, <1>; |
| 47 | amd,serdes-dfe-tap-enable = <0>, <0>, <127>; |
Lendacky, Thomas | 7c123b6 | 2014-06-05 09:15:00 -0500 | [diff] [blame] | 48 | }; |