1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/net/mscc,vsc7514-switch.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip VSC7514 Ethernet switch controller
10 - Vladimir Oltean <vladimir.oltean@nxp.com>
11 - Claudiu Manoil <claudiu.manoil@nxp.com>
12 - Alexandre Belloni <alexandre.belloni@bootlin.com>
15 Bindings for the Microchip VSC7514 switch driver
17 The VSC7514 switch driver handles up to 11 ports and can inject/extract
18 packets using CPU. Additionally, PTP is supported as well as FDMA for faster
19 packet extraction/injection.
25 const: mscc,vsc7514-switch
27 $ref: ethernet-switch.yaml#/$defs/ethernet-ports
40 const: mscc,vsc7512-switch
42 $ref: /schemas/net/dsa/dsa.yaml#/$defs/ethernet-ports
58 - description: system target
59 - description: rewriter target
60 - description: qs target
61 - description: PTP target
62 - description: Port0 target
63 - description: Port1 target
64 - description: Port2 target
65 - description: Port3 target
66 - description: Port4 target
67 - description: Port5 target
68 - description: Port6 target
69 - description: Port7 target
70 - description: Port8 target
71 - description: Port9 target
72 - description: Port10 target
73 - description: QSystem target
74 - description: Analyzer target
75 - description: S0 target
76 - description: S1 target
77 - description: S2 target
78 - description: fdma target
108 - description: PTP ready
109 - description: register based extraction
110 - description: frame dma based extraction
125 unevaluatedProperties: false
128 # VSC7514 (Switchdev)
131 compatible = "mscc,vsc7514-switch";
132 reg = <0x1010000 0x10000>,
153 reg-names = "sys", "rew", "qs", "ptp", "port0", "port1",
154 "port2", "port3", "port4", "port5", "port6",
155 "port7", "port8", "port9", "port10", "qsys",
156 "ana", "s0", "s1", "s2", "fdma";
157 interrupts = <18 21 16>;
158 interrupt-names = "ptp_rdy", "xtr", "fdma";
161 #address-cells = <1>;
166 phy-handle = <&phy0>;
167 phy-mode = "internal";
171 phy-handle = <&phy1>;
172 phy-mode = "internal";
179 compatible = "mscc,vsc7512-switch";
180 reg = <0x71010000 0x10000>,
181 <0x71030000 0x10000>,
183 <0x710e0000 0x10000>,
195 <0x71800000 0x80000>,
196 <0x71880000 0x10000>,
197 <0x71040000 0x10000>,
198 <0x71050000 0x10000>,
199 <0x71060000 0x10000>;
200 reg-names = "sys", "rew", "qs", "ptp", "port0", "port1",
201 "port2", "port3", "port4", "port5", "port6",
202 "port7", "port8", "port9", "port10", "qsys",
203 "ana", "s0", "s1", "s2";
206 #address-cells = <1>;
211 ethernet = <&mac_sw>;
212 phy-handle = <&phy0>;
213 phy-mode = "internal";
217 phy-handle = <&phy1>;
218 phy-mode = "internal";