1 Mediatek MT7530 Ethernet switch
2 ================================
6 - compatible: may be compatible = "mediatek,mt7530"
7 or compatible = "mediatek,mt7621"
8 - #address-cells: Must be 1.
9 - #size-cells: Must be 0.
10 - mediatek,mcm: Boolean; if defined, indicates that either MT7530 is the part
11 on multi-chip module belong to MT7623A has or the remotely standalone
12 chip as the function MT7623N reference board provided for.
14 If compatible mediatek,mt7530 is set then the following properties are required
16 - core-supply: Phandle to the regulator node necessary for the core power.
17 - io-supply: Phandle to the regulator node necessary for the I/O power.
18 See Documentation/devicetree/bindings/regulator/mt6323-regulator.txt
19 for details for the regulator setup on these boards.
21 If the property mediatek,mcm isn't defined, following property is required
23 - reset-gpios: Should be a gpio specifier for a reset line.
25 Else, following properties are required
27 - resets : Phandle pointing to the system reset controller with
28 line index for the ethsys.
29 - reset-names : Should be set to "mcm".
31 Required properties for the child nodes within ports container:
33 - reg: Port address described must be 6 for CPU port and from 0 to 5 for
35 - phy-mode: String, must be either "trgmii" or "rgmii" for port labeled
38 See Documentation/devicetree/bindings/net/dsa/dsa.txt for a list of additional
39 required, optional properties and how the integrated switch subnodes must
46 compatible = "mediatek,mt7530";
51 core-supply = <&mt6323_vpa_reg>;
52 io-supply = <&mt6323_vemc3v3_reg>;
53 reset-gpios = <&pio 33 0>;