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.
23 pattern: "^switch@[0-9a-f]+$"
26 const: mscc,vsc7514-switch
30 - description: system target
31 - description: rewriter target
32 - description: qs target
33 - description: PTP target
34 - description: Port0 target
35 - description: Port1 target
36 - description: Port2 target
37 - description: Port3 target
38 - description: Port4 target
39 - description: Port5 target
40 - description: Port6 target
41 - description: Port7 target
42 - description: Port8 target
43 - description: Port9 target
44 - description: Port10 target
45 - description: QSystem target
46 - description: Analyzer target
47 - description: S0 target
48 - description: S1 target
49 - description: S2 target
50 - description: fdma target
79 - description: PTP ready
80 - description: register based extraction
81 - description: frame dma based extraction
99 additionalProperties: false
104 description: Ethernet ports handled by the switch
106 $ref: ethernet-controller.yaml#
108 unevaluatedProperties: false
112 description: Switch port number
140 additionalProperties: false
145 compatible = "mscc,vsc7514-switch";
146 reg = <0x1010000 0x10000>,
167 reg-names = "sys", "rew", "qs", "ptp", "port0", "port1",
168 "port2", "port3", "port4", "port5", "port6",
169 "port7", "port8", "port9", "port10", "qsys",
170 "ana", "s0", "s1", "s2", "fdma";
171 interrupts = <18 21 16>;
172 interrupt-names = "ptp_rdy", "xtr", "fdma";
175 #address-cells = <1>;
180 phy-handle = <&phy0>;
181 phy-mode = "internal";
185 phy-handle = <&phy1>;
186 phy-mode = "internal";