xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ralink,rt3050-esw.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunRalink Fast Ethernet Embedded Switch
2*4882a593Smuzhiyun====================================
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunThe ralink fast ethernet embedded switch can be found on Ralink and Mediatek
5*4882a593SmuzhiyunSoCs (RT3x5x, RT5350, MT76x8).
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunRequired properties:
8*4882a593Smuzhiyun- compatible: Should be "ralink,rt3050-esw"
9*4882a593Smuzhiyun- reg: Address and length of the register set for the device
10*4882a593Smuzhiyun- interrupts: Should contain the embedded switches interrupt
11*4882a593Smuzhiyun- resets: Should contain the embedded switches resets
12*4882a593Smuzhiyun- reset-names: Should contain the reset names "esw"
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunOptional properties:
15*4882a593Smuzhiyun- ralink,portmap: can be used to choose if the default switch setup is
16*4882a593Smuzhiyun  llllw or wllll
17*4882a593Smuzhiyun- ralink,led_polarity: override the active high/low settings of the leds
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunExample:
20*4882a593Smuzhiyun
21*4882a593Smuzhiyunesw@10110000 {
22*4882a593Smuzhiyun	compatible = "ralink,rt3050-esw";
23*4882a593Smuzhiyun	reg = <0x10110000 8000>;
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun	resets = <&rstctrl 23>;
26*4882a593Smuzhiyun	reset-names = "esw";
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun	interrupt-parent = <&intc>;
29*4882a593Smuzhiyun	interrupts = <17>;
30*4882a593Smuzhiyun};
31