Merge tag 'v4.20' into next
[sfrench/cifs-2.6.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 - interrupts: Should contain the embedded switches interrupt
11 - resets: Should contain the embedded switches resets
12 - reset-names: Should contain the reset names "esw"
13
14 Optional properties:
15 - ralink,portmap: can be used to choose if the default switch setup is
16   llllw or wllll
17 - ralink,led_polarity: override the active high/low settings of the leds
18
19 Example:
20
21 esw@10110000 {
22         compatible = "ralink,rt3050-esw";
23         reg = <0x10110000 8000>;
24
25         resets = <&rstctrl 23>;
26         reset-names = "esw";
27
28         interrupt-parent = <&intc>;
29         interrupts = <17>;
30 };