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