Skip to content

Commit 4624093

Browse files
oleremdavem330
authored andcommitted
dt-bindings: net: add qca,ar71xx.txt documentation
Add binding documentation for Atheros/QCA networking IP core used in many routers. Signed-off-by: Oleksij Rempel <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9b3c520 commit 4624093

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
Required properties:
2+
- compatible: Should be "qca,<soc>-eth". Currently support compatibles are:
3+
qca,ar7100-eth - Atheros AR7100
4+
qca,ar7240-eth - Atheros AR7240
5+
qca,ar7241-eth - Atheros AR7241
6+
qca,ar7242-eth - Atheros AR7242
7+
qca,ar9130-eth - Atheros AR9130
8+
qca,ar9330-eth - Atheros AR9330
9+
qca,ar9340-eth - Atheros AR9340
10+
qca,qca9530-eth - Qualcomm Atheros QCA9530
11+
qca,qca9550-eth - Qualcomm Atheros QCA9550
12+
qca,qca9560-eth - Qualcomm Atheros QCA9560
13+
14+
- reg : Address and length of the register set for the device
15+
- interrupts : Should contain eth interrupt
16+
- phy-mode : See ethernet.txt file in the same directory
17+
- clocks: the clock used by the core
18+
- clock-names: the names of the clock listed in the clocks property. These are
19+
"eth" and "mdio".
20+
- resets: Should contain phandles to the reset signals
21+
- reset-names: Should contain the names of reset signal listed in the resets
22+
property. These are "mac" and "mdio"
23+
24+
Optional properties:
25+
- phy-handle : phandle to the PHY device connected to this device.
26+
- fixed-link : Assume a fixed link. See fixed-link.txt in the same directory.
27+
Use instead of phy-handle.
28+
29+
Optional subnodes:
30+
- mdio : specifies the mdio bus, used as a container for phy nodes
31+
according to phy.txt in the same directory
32+
33+
Example:
34+
35+
ethernet@1a000000 {
36+
compatible = "qca,ar9330-eth";
37+
reg = <0x1a000000 0x200>;
38+
interrupts = <5>;
39+
resets = <&rst 13>, <&rst 23>;
40+
reset-names = "mac", "mdio";
41+
clocks = <&pll ATH79_CLK_AHB>, <&pll ATH79_CLK_MDIO>;
42+
clock-names = "eth", "mdio";
43+
44+
phy-mode = "gmii";
45+
};

0 commit comments

Comments
 (0)