1 * Microsemi - vsc8531 Giga bit ethernet phy 1 * Microsemi - vsc8531 Giga bit ethernet phy 2 2 >> 3 Required properties: >> 4 - compatible : Should contain phy id as "ethernet-phy-idAAAA.BBBB" >> 5 The PHY device uses the binding described in >> 6 Documentation/devicetree/bindings/net/phy.txt >> 7 3 Optional properties: 8 Optional properties: 4 - vsc8531,vddmac : The vddmac in mV. Al 9 - vsc8531,vddmac : The vddmac in mV. Allowed values is listed 5 in the first row of 10 in the first row of Table 1 (below). 6 This property is onl 11 This property is only used in combination 7 with the 'edge-slowd 12 with the 'edge-slowdown' property. 8 Default value is 330 13 Default value is 3300. 9 - vsc8531,edge-slowdown : % the edge should be 14 - vsc8531,edge-slowdown : % the edge should be slowed down relative to 10 the fastest possible 15 the fastest possible edge time. 11 Edge rate sets the d 16 Edge rate sets the drive strength of the MAC 12 interface output sig 17 interface output signals. Changing the 13 drive strength will 18 drive strength will affect the edge rate of 14 the output signal. 19 the output signal. The goal of this setting 15 is to help reduce el 20 is to help reduce electrical emission (EMI) 16 by being able to rep 21 by being able to reprogram drive strength 17 and in effect slow d 22 and in effect slow down the edge rate if 18 desired. 23 desired. 19 To adjust the edge-s 24 To adjust the edge-slowdown, the 'vddmac' 20 must be specified. T 25 must be specified. Table 1 lists the 21 supported edge-slowd 26 supported edge-slowdown values for a given 22 'vddmac'. 27 'vddmac'. 23 Default value is 0%. 28 Default value is 0%. 24 Ref: Table:1 - Edge 29 Ref: Table:1 - Edge rate change (below). 25 - vsc8531,led-[N]-mode : LED mode. Specify ho !! 30 - vsc8531,led-0-mode : LED mode. Specify how the LED[0] should behave. 26 N depends on the num !! 31 Allowed values are define in 27 PHY. << 28 Allowed values are d << 29 "include/dt-bindings 32 "include/dt-bindings/net/mscc-phy-vsc8531.h". 30 Default values are V !! 33 Default value is VSC8531_LINK_1000_ACTIVITY (1). 31 VSC8531_LINK_100_ACT !! 34 - vsc8531,led-1-mode : LED mode. Specify how the LED[1] should behave. 32 VSC8531_LINK_ACTIVIT !! 35 Allowed values are define in 33 VSC8531_DUPLEX_COLLI !! 36 "include/dt-bindings/net/mscc-phy-vsc8531.h". 34 - load-save-gpios : GPIO used for the lo !! 37 Default value is VSC8531_LINK_100_ACTIVITY (2). 35 hardware clock (PHC) << 36 << 37 38 38 Table: 1 - Edge rate change 39 Table: 1 - Edge rate change 39 ---------------------------------------------- 40 ----------------------------------------------------------------| 40 | Edge Rate Change (VDDMAC) 41 | Edge Rate Change (VDDMAC) | 41 | 42 | | 42 | 3300 mV 2500 mV 1800 mV 43 | 3300 mV 2500 mV 1800 mV 1500 mV | 43 |--------------------------------------------- 44 |---------------------------------------------------------------| 44 | 0% 0% 0% 45 | 0% 0% 0% 0% | 45 | (Fastest) (recommended) 46 | (Fastest) (recommended) (recommended) | 46 |--------------------------------------------- 47 |---------------------------------------------------------------| 47 | 2% 3% 5% 48 | 2% 3% 5% 6% | 48 |--------------------------------------------- 49 |---------------------------------------------------------------| 49 | 4% 6% 9% 50 | 4% 6% 9% 14% | 50 |--------------------------------------------- 51 |---------------------------------------------------------------| 51 | 7% 10% 16% 52 | 7% 10% 16% 21% | 52 |(recommended) (recommended) 53 |(recommended) (recommended) | 53 |--------------------------------------------- 54 |---------------------------------------------------------------| 54 | 10% 14% 23% 55 | 10% 14% 23% 29% | 55 |--------------------------------------------- 56 |---------------------------------------------------------------| 56 | 17% 23% 35% 57 | 17% 23% 35% 42% | 57 |--------------------------------------------- 58 |---------------------------------------------------------------| 58 | 29% 37% 52% 59 | 29% 37% 52% 58% | 59 |--------------------------------------------- 60 |---------------------------------------------------------------| 60 | 53% 63% 76% 61 | 53% 63% 76% 77% | 61 | (slowest) 62 | (slowest) | 62 |--------------------------------------------- 63 |---------------------------------------------------------------| 63 64 64 Example: 65 Example: 65 66 66 vsc8531_0: ethernet-phy@0 { 67 vsc8531_0: ethernet-phy@0 { 67 compatible = "ethernet-phy-id0 68 compatible = "ethernet-phy-id0007.0570"; 68 vsc8531,vddmac = <330 69 vsc8531,vddmac = <3300>; 69 vsc8531,edge-slowdown = <7>; 70 vsc8531,edge-slowdown = <7>; 70 vsc8531,led-0-mode = <VSC !! 71 vsc8531,led-0-mode = <LINK_1000_ACTIVITY>; 71 vsc8531,led-1-mode = <VSC !! 72 vsc8531,led-1-mode = <LINK_100_ACTIVITY>; 72 load-save-gpios = <&gp << 73 }; 73 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.