18c2ecf20Sopenharmony_ciMediatek Gigabit Switch
28c2ecf20Sopenharmony_ci=======================
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciThe mediatek gigabit switch can be found on Mediatek SoCs (mt7620, mt7621).
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciRequired properties:
78c2ecf20Sopenharmony_ci- compatible: Should be "mediatek,mt7620-gsw" or "mediatek,mt7621-gsw"
88c2ecf20Sopenharmony_ci- reg: Address and length of the register set for the device
98c2ecf20Sopenharmony_ci- interrupts: Should contain the gigabit switches interrupt
108c2ecf20Sopenharmony_ci- resets: Should contain the gigabit switches resets
118c2ecf20Sopenharmony_ci- reset-names: Should contain the reset names "gsw"
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciExample:
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_cigsw@10110000 {
168c2ecf20Sopenharmony_ci	compatible = "ralink,mt7620-gsw";
178c2ecf20Sopenharmony_ci	reg = <0x10110000 8000>;
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci	resets = <&rstctrl 23>;
208c2ecf20Sopenharmony_ci	reset-names = "gsw";
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci	interrupt-parent = <&intc>;
238c2ecf20Sopenharmony_ci	interrupts = <17>;
248c2ecf20Sopenharmony_ci};
25