Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Ralink Fast Ethernet Embedded Switch
2====================================
3
4The ralink fast ethernet embedded switch can be found on Ralink and Mediatek
5SoCs (RT3x5x, RT5350, MT76x8).
6
7Required 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
16Optional 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
21Example:
22
23esw@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};