Commit a0e55dcd authored by Robert Hancock's avatar Robert Hancock Committed by David S. Miller

dt-bindings: net: xilinx_axienet: Document additional clocks

Update DT bindings to describe all of the clocks that the axienet
driver will now be able to make use of.
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarRobert Hancock <robert.hancock@calian.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 32bc7a2c
...@@ -42,11 +42,23 @@ Optional properties: ...@@ -42,11 +42,23 @@ Optional properties:
support both 1000BaseX and SGMII modes. If set, the phy-mode support both 1000BaseX and SGMII modes. If set, the phy-mode
should be set to match the mode selected on core reset (i.e. should be set to match the mode selected on core reset (i.e.
by the basex_or_sgmii core input line). by the basex_or_sgmii core input line).
- clocks : AXI bus clock for the device. Refer to common clock bindings. - clock-names: Tuple listing input clock names. Possible clocks:
Used to calculate MDIO clock divisor. If not specified, it is s_axi_lite_clk: Clock for AXI register slave interface
auto-detected from the CPU clock (but only on platforms where axis_clk: AXI4-Stream clock for TXD RXD TXC and RXS interfaces
this is possible). New device trees should specify this - the ref_clk: Ethernet reference clock, used by signal delay
auto detection is only for backward compatibility. primitives and transceivers
mgt_clk: MGT reference clock (used by optional internal
PCS/PMA PHY)
Note that if s_axi_lite_clk is not specified by name, the
first clock of any name is used for this. If that is also not
specified, the clock rate is auto-detected from the CPU clock
(but only on platforms where this is possible). New device
trees should specify all applicable clocks by name - the
fallbacks to an unnamed clock or to CPU clock are only for
backward compatibility.
- clocks: Phandles to input clocks matching clock-names. Refer to common
clock bindings.
- axistream-connected: Reference to another node which contains the resources - axistream-connected: Reference to another node which contains the resources
for the AXI DMA controller used by this device. for the AXI DMA controller used by this device.
If this is specified, the DMA-related resources from that If this is specified, the DMA-related resources from that
...@@ -62,7 +74,8 @@ Example: ...@@ -62,7 +74,8 @@ Example:
device_type = "network"; device_type = "network";
interrupt-parent = <&microblaze_0_axi_intc>; interrupt-parent = <&microblaze_0_axi_intc>;
interrupts = <2 0 1>; interrupts = <2 0 1>;
clocks = <&axi_clk>; clock-names = "s_axi_lite_clk", "axis_clk", "ref_clk", "mgt_clk";
clocks = <&axi_clk>, <&axi_clk>, <&pl_enet_ref_clk>, <&mgt_clk>;
phy-mode = "mii"; phy-mode = "mii";
reg = <0x40c00000 0x40000 0x50c00000 0x40000>; reg = <0x40c00000 0x40000 0x50c00000 0x40000>;
xlnx,rxcsum = <0x2>; xlnx,rxcsum = <0x2>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment