Merge tag 'xfs-for-linus-4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git] / Documentation / devicetree / bindings / net / ralink,rt3050-esw.txt
1 Ralink Fast Ethernet Embedded Switch
2 ====================================
3
4 The ralink fast ethernet embedded switch can be found on Ralink and Mediatek
5 SoCs (RT3x5x, RT5350, MT76x8).
6
7 Required properties:
8 - compatible: Should be "ralink,rt3050-esw"
9 - reg: Address and length of the register set for the device
10 - interrupt-parent: Should be the phandle for the interrupt controller
11   that services interrupts for this device
12 - interrupts: Should contain the embedded switches interrupt
13 - resets: Should contain the embedded switches resets
14 - reset-names: Should contain the reset names "esw"
15
16 Optional properties:
17 - ralink,portmap: can be used to choose if the default switch setup is
18   llllw or wllll
19 - ralink,led_polarity: override the active high/low settings of the leds
20
21 Example:
22
23 esw@10110000 {
24         compatible = "ralink,rt3050-esw";
25         reg = <0x10110000 8000>;
26
27         resets = <&rstctrl 23>;
28         reset-names = "esw";
29
30         interrupt-parent = <&intc>;
31         interrupts = <17>;
32 };