| .. | .. |
|---|
| 1 | 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 | | - |
|---|
| 8 | 3 | Optional properties: |
|---|
| 9 | 4 | - vsc8531,vddmac : The vddmac in mV. Allowed values is listed |
|---|
| 10 | 5 | in the first row of Table 1 (below). |
|---|
| .. | .. |
|---|
| 27 | 22 | 'vddmac'. |
|---|
| 28 | 23 | Default value is 0%. |
|---|
| 29 | 24 | Ref: Table:1 - Edge rate change (below). |
|---|
| 30 | | -- vsc8531,led-0-mode : LED mode. Specify how the LED[0] should behave. |
|---|
| 31 | | - Allowed values are define in |
|---|
| 25 | +- vsc8531,led-[N]-mode : LED mode. Specify how the LED[N] should behave. |
|---|
| 26 | + N depends on the number of LEDs supported by a |
|---|
| 27 | + PHY. |
|---|
| 28 | + Allowed values are defined in |
|---|
| 32 | 29 | "include/dt-bindings/net/mscc-phy-vsc8531.h". |
|---|
| 33 | | - Default value is VSC8531_LINK_1000_ACTIVITY (1). |
|---|
| 34 | | -- vsc8531,led-1-mode : LED mode. Specify how the LED[1] should behave. |
|---|
| 35 | | - Allowed values are define in |
|---|
| 36 | | - "include/dt-bindings/net/mscc-phy-vsc8531.h". |
|---|
| 37 | | - Default value is VSC8531_LINK_100_ACTIVITY (2). |
|---|
| 30 | + Default values are VSC8531_LINK_1000_ACTIVITY (1), |
|---|
| 31 | + VSC8531_LINK_100_ACTIVITY (2), |
|---|
| 32 | + VSC8531_LINK_ACTIVITY (0) and |
|---|
| 33 | + VSC8531_DUPLEX_COLLISION (8). |
|---|
| 34 | +- load-save-gpios : GPIO used for the load/save operation of the PTP |
|---|
| 35 | + hardware clock (PHC). |
|---|
| 36 | + |
|---|
| 38 | 37 | |
|---|
| 39 | 38 | Table: 1 - Edge rate change |
|---|
| 40 | 39 | ----------------------------------------------------------------| |
|---|
| .. | .. |
|---|
| 70 | 69 | vsc8531,edge-slowdown = <7>; |
|---|
| 71 | 70 | vsc8531,led-0-mode = <LINK_1000_ACTIVITY>; |
|---|
| 72 | 71 | vsc8531,led-1-mode = <LINK_100_ACTIVITY>; |
|---|
| 72 | + load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>; |
|---|
| 73 | 73 | }; |
|---|