summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net
diff options
context:
space:
mode:
authorFugang Duan <fugang.duan@nxp.com>2019-07-09 15:06:39 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-12-02 18:04:31 +0800
commit5345bb1ed019f6718f7ab96ca26675da44792d31 (patch)
treeb42e51d931bafc71ea119226628f72f8bf398cad /Documentation/devicetree/bindings/net
parent875d2d2988190a9f33de5d2536a9a05099cabd31 (diff)
dt-bindings: fec: update the clocks and new properties
Update the required and optinal clocks, and add properties for new features. Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
-rw-r--r--Documentation/devicetree/bindings/net/fsl-fec.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/fsl-fec.txt b/Documentation/devicetree/bindings/net/fsl-fec.txt
index 5b88fae0307d..59e449ba2557 100644
--- a/Documentation/devicetree/bindings/net/fsl-fec.txt
+++ b/Documentation/devicetree/bindings/net/fsl-fec.txt
@@ -5,6 +5,19 @@ Required properties:
- reg : Address and length of the register set for the device
- interrupts : Should contain fec interrupt
- phy-mode : See ethernet.txt file in the same directory
+- clock-name: Should be the names of the clocks
+ - "ipg", for MAC ipg_clk_s, ipg_clk_mac_s that are for register accessing
+ - "ahb", for MAC ipg_clk, ipg_clk_mac that are bus clock
+ - "ptp"(option), for IEEE1588 timer clock that requires the clock
+ - "enet_clk_ref"(option), for MAC transmit/receiver reference clock like
+ RGMII TXC clock or RMII reference clock. It depends on board design,
+ the clock is required if RGMII TXC and RMII reference clock source from
+ SOC internal PLL.
+ - "enet_out"(option), output clock for external device, like supply clock
+ for PHY. The clock is required if PHY clock source from SOC.
+ - "enet_2x_txclk"(option), for RGMII sampleing clock which fixed at 250Mhz.
+ The clock is required if SOC RGMII enable clock delay.
+- clocks: Phandles to input clocks.
Optional properties:
- phy-supply : regulator that powers the Ethernet PHY.
@@ -35,6 +48,11 @@ Optional properties:
For imx6sx, "int0" handles all 3 queues and ENET_MII. "pps" is for the pulse
per second interrupt associated with 1588 precision time protocol(PTP).
+- fsl,wakeup_irq : The property defines the wakeup irq index in enet irq source.
+- stop-mode : If present, indicates soc need to set gpr bit to request stop mode.
+- mii-exclusive: If present, each MAC has their exclusive MDIO bus in current board
+ design, otherwise multiple MACs share one MDIO bus to reduce Pins utilize.
+
Optional subnodes:
- mdio : specifies the mdio bus in the FEC, used as a container for phy nodes
according to phy.txt in the same directory