Skip to content

Commit 7473430

Browse files
khayash1davem330
authored andcommitted
dt-bindings: net: ave: add syscon-phy-mode property to configure phy-mode setting
Add "socionext,syscon-phy-mode" property to specify system controller that configures the settings about phy-mode. Signed-off-by: Kunihiko Hayashi <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 6b9227d commit 7473430

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Required properties:
1313
- reg: Address where registers are mapped and size of region.
1414
- interrupts: Should contain the MAC interrupt.
1515
- phy-mode: See ethernet.txt in the same directory. Allow to choose
16-
"rgmii", "rmii", or "mii" according to the PHY.
16+
"rgmii", "rmii", "mii", or "internal" according to the PHY.
17+
The acceptable mode is SoC-dependent.
1718
- phy-handle: Should point to the external phy device.
1819
See ethernet.txt file in the same directory.
1920
- clocks: A phandle to the clock for the MAC.
@@ -27,6 +28,8 @@ Required properties:
2728
- reset-names: Should contain
2829
- "ether", "gio" for Pro4 SoC
2930
- "ether" for others
31+
- socionext,syscon-phy-mode: A phandle to syscon with one argument
32+
that configures phy mode. The argument is the ID of MAC instance.
3033

3134
Optional properties:
3235
- local-mac-address: See ethernet.txt in the same directory.
@@ -47,6 +50,7 @@ Example:
4750
clocks = <&sys_clk 6>;
4851
reset-names = "ether";
4952
resets = <&sys_rst 6>;
53+
socionext,syscon-phy-mode = <&soc_glue 0>;
5054
local-mac-address = [00 00 00 00 00 00];
5155

5256
mdio {

0 commit comments

Comments
 (0)