Merge tag 'for_linus-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / net / socionext,uniphier-ave4.txt
1 * Socionext AVE ethernet controller
2
3 This describes the devicetree bindings for AVE ethernet controller
4 implemented on Socionext UniPhier SoCs.
5
6 Required 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         - "socionext,uniphier-pxs3-ave4" : for PXs3 SoC
13  - reg: Address where registers are mapped and size of region.
14  - interrupts: Should contain the MAC interrupt.
15  - phy-mode: See ethernet.txt in the same directory. Allow to choose
16         "rgmii", "rmii", or "mii" according to the PHY.
17  - phy-handle: Should point to the external phy device.
18         See ethernet.txt file in the same directory.
19  - clocks: A phandle to the clock for the MAC.
20
21 Optional properties:
22  - resets: A phandle to the reset control for the MAC.
23  - local-mac-address: See ethernet.txt in the same directory.
24
25 Required subnode:
26  - mdio: A container for child nodes representing phy nodes.
27          See phy.txt in the same directory.
28
29 Example:
30
31         ether: ethernet@65000000 {
32                 compatible = "socionext,uniphier-ld20-ave4";
33                 reg = <0x65000000 0x8500>;
34                 interrupts = <0 66 4>;
35                 phy-mode = "rgmii";
36                 phy-handle = <&ethphy>;
37                 clocks = <&sys_clk 6>;
38                 resets = <&sys_rst 6>;
39                 local-mac-address = [00 00 00 00 00 00];
40
41                 mdio {
42                         #address-cells = <1>;
43                         #size-cells = <0>;
44
45                         ethphy: ethphy@1 {
46                                 reg = <1>;
47                         };
48                 };
49         };