1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/marvell,prestera.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Marvell Prestera AlleyCat3 switch
8
9maintainers:
10  - Miquel Raynal <miquel.raynal@bootlin.com>
11
12properties:
13  compatible:
14    items:
15      - enum:
16          - marvell,prestera-98dx3236
17          - marvell,prestera-98dx3336
18          - marvell,prestera-98dx4251
19      - const: marvell,prestera
20
21  reg:
22    maxItems: 1
23
24  interrupts:
25    maxItems: 3
26
27  dfx:
28    description: Reference to the DFX Server bus node.
29    $ref: /schemas/types.yaml#/definitions/phandle
30
31required:
32  - compatible
33  - reg
34  - interrupts
35
36additionalProperties: false
37
38examples:
39  - |
40    packet-processor@0 {
41        compatible = "marvell,prestera-98dx3236", "marvell,prestera";
42        reg = <0 0x4000000>;
43        interrupts = <33>, <34>, <35>;
44        dfx = <&dfx>;
45    };
46