diff options
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2015-01-16 13:47:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-16 22:24:21 -0500 |
commit | 8fdb1a09e1568062f6c434e3e828630950b7e16a (patch) | |
tree | 3f96c0132ba381392ad55f6385a36e71567c0061 /Documentation/devicetree | |
parent | 82a19035d000c8b4fd7d6f61b614f63dec75d389 (diff) |
amd-xgbe-phy: Allow certain PHY settings to be set by UEFI
Certain PHY settings need to be configurable by UEFI depending on the
platform being used. Add new device tree / ACPI properties that, if
present, will override the pre-determined values currently used.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/net/amd-xgbe-phy.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/amd-xgbe-phy.txt b/Documentation/devicetree/bindings/net/amd-xgbe-phy.txt index d54fe1af0325..33df3932168e 100644 --- a/Documentation/devicetree/bindings/net/amd-xgbe-phy.txt +++ b/Documentation/devicetree/bindings/net/amd-xgbe-phy.txt | |||
@@ -16,6 +16,18 @@ Optional properties: | |||
16 | 0 - 1GbE and 10GbE (default) | 16 | 0 - 1GbE and 10GbE (default) |
17 | 1 - 2.5GbE and 10GbE | 17 | 1 - 2.5GbE and 10GbE |
18 | 18 | ||
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 | ||
30 | |||
19 | Example: | 31 | Example: |
20 | xgbe_phy@e1240800 { | 32 | xgbe_phy@e1240800 { |
21 | compatible = "amd,xgbe-phy-seattle-v1a", "ethernet-phy-ieee802.3-c45"; | 33 | compatible = "amd,xgbe-phy-seattle-v1a", "ethernet-phy-ieee802.3-c45"; |
@@ -25,4 +37,8 @@ Example: | |||
25 | interrupt-parent = <&gic>; | 37 | interrupt-parent = <&gic>; |
26 | interrupts = <0 323 4>; | 38 | interrupts = <0 323 4>; |
27 | amd,speed-set = <0>; | 39 | amd,speed-set = <0>; |
40 | amd,serdes-blwc = <1>, <1>, <0>; | ||
41 | amd,serdes-cdr-rate = <2>, <2>, <7>; | ||
42 | amd,serdes-pq-skew = <10>, <10>, <30>; | ||
43 | amd,serdes-tx-amp = <15>, <15>, <10>; | ||
28 | }; | 44 | }; |