]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/net/amd-xgbe-phy.txt
kdb: Fix handling of kallsyms_symbol_next() return value
[karo-tx-linux.git] / Documentation / devicetree / bindings / net / amd-xgbe-phy.txt
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)
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.
13
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
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
31 Example:
32         xgbe_phy@e1240800 {
33                 compatible = "amd,xgbe-phy-seattle-v1a", "ethernet-phy-ieee802.3-c45";
34                 reg = <0 0xe1240800 0 0x00400>,
35                       <0 0xe1250000 0 0x00060>,
36                       <0 0xe1250080 0 0x00004>;
37                 interrupt-parent = <&gic>;
38                 interrupts = <0 323 4>;
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>;
44         };