Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.14 61 lines 1.6 kB view raw
1Ralink Frame Engine Ethernet controller 2======================================= 3 4The Ralink frame engine ethernet controller can be found on Ralink and 5Mediatek SoCs (RT288x, RT3x5x, RT366x, RT388x, rt5350, mt7620, mt7621, mt76x8). 6 7Depending on the SoC, there is a number of ports connected to the CPU port 8directly and/or via a (gigabit-)switch. 9 10* Ethernet controller node 11 12Required properties: 13- compatible: Should be one of "ralink,rt2880-eth", "ralink,rt3050-eth", 14 "ralink,rt3050-eth", "ralink,rt3883-eth", "ralink,rt5350-eth", 15 "mediatek,mt7620-eth", "mediatek,mt7621-eth" 16- reg: Address and length of the register set for the device 17- interrupt-parent: Should be the phandle for the interrupt controller 18 that services interrupts for this device 19- interrupts: Should contain the frame engines interrupt 20- resets: Should contain the frame engines resets 21- reset-names: Should contain the reset names "fe". If a switch is present 22 "esw" is also required. 23 24 25* Ethernet port node 26 27Required properties: 28- compatible: Should be "ralink,eth-port" 29- reg: The number of the physical port 30- phy-handle: reference to the node describing the phy 31 32Example: 33 34mdio-bus { 35 ... 36 phy0: ethernet-phy@0 { 37 phy-mode = "mii"; 38 reg = <0>; 39 }; 40}; 41 42ethernet@400000 { 43 compatible = "ralink,rt2880-eth"; 44 reg = <0x00400000 10000>; 45 46 #address-cells = <1>; 47 #size-cells = <0>; 48 49 resets = <&rstctrl 18>; 50 reset-names = "fe"; 51 52 interrupt-parent = <&cpuintc>; 53 interrupts = <5>; 54 55 port@0 { 56 compatible = "ralink,eth-port"; 57 reg = <0>; 58 phy-handle = <&phy0>; 59 }; 60 61};