xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/mediatek,mt7620-gsw.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunMediatek Gigabit Switch
2*4882a593Smuzhiyun=======================
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunThe mediatek gigabit switch can be found on Mediatek SoCs (mt7620, mt7621).
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunRequired properties:
7*4882a593Smuzhiyun- compatible: Should be "mediatek,mt7620-gsw" or "mediatek,mt7621-gsw"
8*4882a593Smuzhiyun- reg: Address and length of the register set for the device
9*4882a593Smuzhiyun- interrupts: Should contain the gigabit switches interrupt
10*4882a593Smuzhiyun- resets: Should contain the gigabit switches resets
11*4882a593Smuzhiyun- reset-names: Should contain the reset names "gsw"
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunExample:
14*4882a593Smuzhiyun
15*4882a593Smuzhiyungsw@10110000 {
16*4882a593Smuzhiyun	compatible = "ralink,mt7620-gsw";
17*4882a593Smuzhiyun	reg = <0x10110000 8000>;
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun	resets = <&rstctrl 23>;
20*4882a593Smuzhiyun	reset-names = "gsw";
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun	interrupt-parent = <&intc>;
23*4882a593Smuzhiyun	interrupts = <17>;
24*4882a593Smuzhiyun};
25