xref: /freebsd/sys/contrib/device-tree/Bindings/net/dsa/arrow,xrs700x.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/net/dsa/arrow,xrs700x.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Arrow SpeedChips XRS7000 Series Switch
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel VadotallOf:
10*cb7aa33aSEmmanuel Vadot  - $ref: dsa.yaml#/$defs/ethernet-ports
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotmaintainers:
135def4c47SEmmanuel Vadot  - George McCollister <george.mccollister@gmail.com>
145def4c47SEmmanuel Vadot
155def4c47SEmmanuel Vadotdescription:
165def4c47SEmmanuel Vadot  The Arrow SpeedChips XRS7000 Series of single chip gigabit Ethernet switches
175def4c47SEmmanuel Vadot  are designed for critical networking applications. They have up to three
185def4c47SEmmanuel Vadot  RGMII ports and one RMII port and are managed via i2c or mdio.
195def4c47SEmmanuel Vadot
205def4c47SEmmanuel Vadotproperties:
215def4c47SEmmanuel Vadot  compatible:
225def4c47SEmmanuel Vadot    oneOf:
235def4c47SEmmanuel Vadot      - enum:
245def4c47SEmmanuel Vadot          - arrow,xrs7003e
255def4c47SEmmanuel Vadot          - arrow,xrs7003f
265def4c47SEmmanuel Vadot          - arrow,xrs7004e
275def4c47SEmmanuel Vadot          - arrow,xrs7004f
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel Vadot  reg:
305def4c47SEmmanuel Vadot    maxItems: 1
315def4c47SEmmanuel Vadot
325def4c47SEmmanuel Vadotrequired:
335def4c47SEmmanuel Vadot  - compatible
345def4c47SEmmanuel Vadot  - reg
355def4c47SEmmanuel Vadot
365def4c47SEmmanuel VadotunevaluatedProperties: false
375def4c47SEmmanuel Vadot
385def4c47SEmmanuel Vadotexamples:
395def4c47SEmmanuel Vadot  - |
405def4c47SEmmanuel Vadot    i2c {
415def4c47SEmmanuel Vadot        #address-cells = <1>;
425def4c47SEmmanuel Vadot        #size-cells = <0>;
435def4c47SEmmanuel Vadot        switch@8 {
445def4c47SEmmanuel Vadot            compatible = "arrow,xrs7004e";
455def4c47SEmmanuel Vadot            reg = <0x8>;
465def4c47SEmmanuel Vadot
475def4c47SEmmanuel Vadot            ethernet-ports {
485def4c47SEmmanuel Vadot                #address-cells = <1>;
495def4c47SEmmanuel Vadot                #size-cells = <0>;
505def4c47SEmmanuel Vadot                ethernet-port@1 {
515def4c47SEmmanuel Vadot                    reg = <1>;
525def4c47SEmmanuel Vadot                    label = "lan0";
535def4c47SEmmanuel Vadot                    phy-handle = <&swphy0>;
545def4c47SEmmanuel Vadot                    phy-mode = "rgmii-id";
555def4c47SEmmanuel Vadot                };
565def4c47SEmmanuel Vadot                ethernet-port@2 {
575def4c47SEmmanuel Vadot                    reg = <2>;
585def4c47SEmmanuel Vadot                    label = "lan1";
595def4c47SEmmanuel Vadot                    phy-handle = <&swphy1>;
605def4c47SEmmanuel Vadot                    phy-mode = "rgmii-id";
615def4c47SEmmanuel Vadot                };
625def4c47SEmmanuel Vadot                ethernet-port@3 {
635def4c47SEmmanuel Vadot                    reg = <3>;
645def4c47SEmmanuel Vadot                    ethernet = <&fec1>;
657ef62cebSEmmanuel Vadot                    phy-mode = "rgmii-id";
667ef62cebSEmmanuel Vadot
675def4c47SEmmanuel Vadot                    fixed-link {
685def4c47SEmmanuel Vadot                        speed = <1000>;
695def4c47SEmmanuel Vadot                        full-duplex;
705def4c47SEmmanuel Vadot                    };
715def4c47SEmmanuel Vadot                };
725def4c47SEmmanuel Vadot            };
735def4c47SEmmanuel Vadot        };
745def4c47SEmmanuel Vadot    };
75