Merge branch 'for-linus-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/mason...
[deliverable/linux.git] / Documentation / devicetree / bindings / net / ralink,rt2880-net.txt
1 Ralink Frame Engine Ethernet controller
2 =======================================
3
4 The Ralink frame engine ethernet controller can be found on Ralink and
5 Mediatek SoCs (RT288x, RT3x5x, RT366x, RT388x, rt5350, mt7620, mt7621, mt76x8).
6
7 Depending on the SoC, there is a number of ports connected to the CPU port
8 directly and/or via a (gigabit-)switch.
9
10 * Ethernet controller node
11
12 Required properties:
13 - compatible: Should be one of "ralink,rt2880-eth", "ralink,rt3050-eth",
14 "ralink,rt3050-eth", "ralink,rt3883-eth", "ralink,rt5350-eth",
15 "mediatek,mt7620-eth", "mediatek,mt7621-eth"
16 - reg: Address and length of the register set for the device
17 - interrupt-parent: Should be the phandle for the interrupt controller
18 that services interrupts for this device
19 - interrupts: Should contain the frame engines interrupt
20 - resets: Should contain the frame engines resets
21 - reset-names: Should contain the reset names "fe". If a switch is present
22 "esw" is also required.
23
24
25 * Ethernet port node
26
27 Required properties:
28 - compatible: Should be "ralink,eth-port"
29 - reg: The number of the physical port
30 - phy-handle: reference to the node describing the phy
31
32 Example:
33
34 mdio-bus {
35 ...
36 phy0: ethernet-phy@0 {
37 phy-mode = "mii";
38 reg = <0>;
39 };
40 };
41
42 ethernet@400000 {
43 compatible = "ralink,rt2880-eth";
44 reg = <0x00400000 10000>;
45
46 #address-cells = <1>;
47 #size-cells = <0>;
48
49 resets = <&rstctrl 18>;
50 reset-names = "fe";
51
52 interrupt-parent = <&cpuintc>;
53 interrupts = <5>;
54
55 port@0 {
56 compatible = "ralink,eth-port";
57 reg = <0>;
58 phy-handle = <&phy0>;
59 };
60
61 };
This page took 0.065634 seconds and 5 git commands to generate.