Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Mediatek Gigabit Switch
2=======================
3
4The mediatek gigabit switch can be found on Mediatek SoCs (mt7620, mt7621).
5
6Required properties:
7- compatible: Should be "mediatek,mt7620-gsw" or "mediatek,mt7621-gsw"
8- reg: Address and length of the register set for the device
9- interrupt-parent: Should be the phandle for the interrupt controller
10 that services interrupts for this device
11- interrupts: Should contain the gigabit switches interrupt
12- resets: Should contain the gigabit switches resets
13- reset-names: Should contain the reset names "gsw"
14
15Example:
16
17gsw@10110000 {
18 compatible = "ralink,mt7620-gsw";
19 reg = <0x10110000 8000>;
20
21 resets = <&rstctrl 23>;
22 reset-names = "gsw";
23
24 interrupt-parent = <&intc>;
25 interrupts = <17>;
26};