18204c2b0SGeorge McCollister# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28204c2b0SGeorge McCollister%YAML 1.2
38204c2b0SGeorge McCollister---
48204c2b0SGeorge McCollister$id: http://devicetree.org/schemas/net/dsa/arrow,xrs700x.yaml#
58204c2b0SGeorge McCollister$schema: http://devicetree.org/meta-schemas/core.yaml#
68204c2b0SGeorge McCollister
7*a612130cSKrzysztof Kozlowskititle: Arrow SpeedChips XRS7000 Series Switch
88204c2b0SGeorge McCollister
98204c2b0SGeorge McCollisterallOf:
108204c2b0SGeorge McCollister  - $ref: dsa.yaml#
118204c2b0SGeorge McCollister
128204c2b0SGeorge McCollistermaintainers:
138204c2b0SGeorge McCollister  - George McCollister <george.mccollister@gmail.com>
148204c2b0SGeorge McCollister
158204c2b0SGeorge McCollisterdescription:
168204c2b0SGeorge McCollister  The Arrow SpeedChips XRS7000 Series of single chip gigabit Ethernet switches
178204c2b0SGeorge McCollister  are designed for critical networking applications. They have up to three
188204c2b0SGeorge McCollister  RGMII ports and one RMII port and are managed via i2c or mdio.
198204c2b0SGeorge McCollister
208204c2b0SGeorge McCollisterproperties:
218204c2b0SGeorge McCollister  compatible:
228204c2b0SGeorge McCollister    oneOf:
238204c2b0SGeorge McCollister      - enum:
248204c2b0SGeorge McCollister          - arrow,xrs7003e
258204c2b0SGeorge McCollister          - arrow,xrs7003f
268204c2b0SGeorge McCollister          - arrow,xrs7004e
278204c2b0SGeorge McCollister          - arrow,xrs7004f
288204c2b0SGeorge McCollister
298204c2b0SGeorge McCollister  reg:
308204c2b0SGeorge McCollister    maxItems: 1
318204c2b0SGeorge McCollister
328204c2b0SGeorge McCollisterrequired:
338204c2b0SGeorge McCollister  - compatible
348204c2b0SGeorge McCollister  - reg
358204c2b0SGeorge McCollister
368204c2b0SGeorge McCollisterunevaluatedProperties: false
378204c2b0SGeorge McCollister
388204c2b0SGeorge McCollisterexamples:
398204c2b0SGeorge McCollister  - |
408204c2b0SGeorge McCollister    i2c {
418204c2b0SGeorge McCollister        #address-cells = <1>;
428204c2b0SGeorge McCollister        #size-cells = <0>;
438204c2b0SGeorge McCollister        switch@8 {
448204c2b0SGeorge McCollister            compatible = "arrow,xrs7004e";
458204c2b0SGeorge McCollister            reg = <0x8>;
468204c2b0SGeorge McCollister
478204c2b0SGeorge McCollister            ethernet-ports {
488204c2b0SGeorge McCollister                #address-cells = <1>;
498204c2b0SGeorge McCollister                #size-cells = <0>;
508204c2b0SGeorge McCollister                ethernet-port@1 {
518204c2b0SGeorge McCollister                    reg = <1>;
528204c2b0SGeorge McCollister                    label = "lan0";
538204c2b0SGeorge McCollister                    phy-handle = <&swphy0>;
548204c2b0SGeorge McCollister                    phy-mode = "rgmii-id";
558204c2b0SGeorge McCollister                };
568204c2b0SGeorge McCollister                ethernet-port@2 {
578204c2b0SGeorge McCollister                    reg = <2>;
588204c2b0SGeorge McCollister                    label = "lan1";
598204c2b0SGeorge McCollister                    phy-handle = <&swphy1>;
608204c2b0SGeorge McCollister                    phy-mode = "rgmii-id";
618204c2b0SGeorge McCollister                };
628204c2b0SGeorge McCollister                ethernet-port@3 {
638204c2b0SGeorge McCollister                    reg = <3>;
648204c2b0SGeorge McCollister                    ethernet = <&fec1>;
65b2376760SVladimir Oltean                    phy-mode = "rgmii-id";
66b2376760SVladimir Oltean
678204c2b0SGeorge McCollister                    fixed-link {
688204c2b0SGeorge McCollister                        speed = <1000>;
698204c2b0SGeorge McCollister                        full-duplex;
708204c2b0SGeorge McCollister                    };
718204c2b0SGeorge McCollister                };
728204c2b0SGeorge McCollister            };
738204c2b0SGeorge McCollister        };
748204c2b0SGeorge McCollister    };
75