summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net/ralink,rt3050-esw.txt
blob: 2e79bd376c56224dea9747bdf9e8ad52da9f4087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Ralink Fast Ethernet Embedded Switch
====================================

The ralink fast ethernet embedded switch can be found on Ralink and Mediatek
SoCs (RT3x5x, RT5350, MT76x8).

Required properties:
- compatible: Should be "ralink,rt3050-esw"
- reg: Address and length of the register set for the device
- interrupt-parent: Should be the phandle for the interrupt controller
  that services interrupts for this device
- interrupts: Should contain the embedded switches interrupt
- resets: Should contain the embedded switches resets
- reset-names: Should contain the reset names "esw"

Optional properties:
- ralink,portmap: can be used to choose if the default switch setup is
  llllw or wllll
- ralink,led_polarity: override the active high/low settings of the leds

Example:

esw@10110000 {
	compatible = "ralink,rt3050-esw";
	reg = <0x10110000 8000>;

	resets = <&rstctrl 23>;
	reset-names = "esw";

	interrupt-parent = <&intc>;
	interrupts = <17>;
};