aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt48
1 files changed, 48 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt b/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt
new file mode 100644
index 000000000000..270ea4efff13
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt
@@ -0,0 +1,48 @@
1* Socionext AVE ethernet controller
2
3This describes the devicetree bindings for AVE ethernet controller
4implemented on Socionext UniPhier SoCs.
5
6Required properties:
7 - compatible: Should be
8 - "socionext,uniphier-pro4-ave4" : for Pro4 SoC
9 - "socionext,uniphier-pxs2-ave4" : for PXs2 SoC
10 - "socionext,uniphier-ld11-ave4" : for LD11 SoC
11 - "socionext,uniphier-ld20-ave4" : for LD20 SoC
12 - reg: Address where registers are mapped and size of region.
13 - interrupts: Should contain the MAC interrupt.
14 - phy-mode: See ethernet.txt in the same directory. Allow to choose
15 "rgmii", "rmii", or "mii" according to the PHY.
16 - phy-handle: Should point to the external phy device.
17 See ethernet.txt file in the same directory.
18 - clocks: A phandle to the clock for the MAC.
19
20Optional properties:
21 - resets: A phandle to the reset control for the MAC.
22 - local-mac-address: See ethernet.txt in the same directory.
23
24Required subnode:
25 - mdio: A container for child nodes representing phy nodes.
26 See phy.txt in the same directory.
27
28Example:
29
30 ether: ethernet@65000000 {
31 compatible = "socionext,uniphier-ld20-ave4";
32 reg = <0x65000000 0x8500>;
33 interrupts = <0 66 4>;
34 phy-mode = "rgmii";
35 phy-handle = <&ethphy>;
36 clocks = <&sys_clk 6>;
37 resets = <&sys_rst 6>;
38 local-mac-address = [00 00 00 00 00 00];
39
40 mdio {
41 #address-cells = <1>;
42 #size-cells = <0>;
43
44 ethphy: ethphy@1 {
45 reg = <1>;
46 };
47 };
48 };