forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt
....@@ -1,10 +1,5 @@
11 * Microsemi - vsc8531 Giga bit ethernet phy
22
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
-
83 Optional properties:
94 - vsc8531,vddmac : The vddmac in mV. Allowed values is listed
105 in the first row of Table 1 (below).
....@@ -27,14 +22,18 @@
2722 'vddmac'.
2823 Default value is 0%.
2924 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
3229 "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
+
3837
3938 Table: 1 - Edge rate change
4039 ----------------------------------------------------------------|
....@@ -70,4 +69,5 @@
7069 vsc8531,edge-slowdown = <7>;
7170 vsc8531,led-0-mode = <LINK_1000_ACTIVITY>;
7271 vsc8531,led-1-mode = <LINK_100_ACTIVITY>;
72
+ load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
7373 };