1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*5def4c47SEmmanuel Vadot%YAML 1.2 3*5def4c47SEmmanuel Vadot--- 4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/net/dsa/arrow,xrs700x.yaml# 5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5def4c47SEmmanuel Vadot 7*5def4c47SEmmanuel Vadottitle: Arrow SpeedChips XRS7000 Series Switch Device Tree Bindings 8*5def4c47SEmmanuel Vadot 9*5def4c47SEmmanuel VadotallOf: 10*5def4c47SEmmanuel Vadot - $ref: dsa.yaml# 11*5def4c47SEmmanuel Vadot 12*5def4c47SEmmanuel Vadotmaintainers: 13*5def4c47SEmmanuel Vadot - George McCollister <george.mccollister@gmail.com> 14*5def4c47SEmmanuel Vadot 15*5def4c47SEmmanuel Vadotdescription: 16*5def4c47SEmmanuel Vadot The Arrow SpeedChips XRS7000 Series of single chip gigabit Ethernet switches 17*5def4c47SEmmanuel Vadot are designed for critical networking applications. They have up to three 18*5def4c47SEmmanuel Vadot RGMII ports and one RMII port and are managed via i2c or mdio. 19*5def4c47SEmmanuel Vadot 20*5def4c47SEmmanuel Vadotproperties: 21*5def4c47SEmmanuel Vadot compatible: 22*5def4c47SEmmanuel Vadot oneOf: 23*5def4c47SEmmanuel Vadot - enum: 24*5def4c47SEmmanuel Vadot - arrow,xrs7003e 25*5def4c47SEmmanuel Vadot - arrow,xrs7003f 26*5def4c47SEmmanuel Vadot - arrow,xrs7004e 27*5def4c47SEmmanuel Vadot - arrow,xrs7004f 28*5def4c47SEmmanuel Vadot 29*5def4c47SEmmanuel Vadot reg: 30*5def4c47SEmmanuel Vadot maxItems: 1 31*5def4c47SEmmanuel Vadot 32*5def4c47SEmmanuel Vadotrequired: 33*5def4c47SEmmanuel Vadot - compatible 34*5def4c47SEmmanuel Vadot - reg 35*5def4c47SEmmanuel Vadot 36*5def4c47SEmmanuel VadotunevaluatedProperties: false 37*5def4c47SEmmanuel Vadot 38*5def4c47SEmmanuel Vadotexamples: 39*5def4c47SEmmanuel Vadot - | 40*5def4c47SEmmanuel Vadot i2c { 41*5def4c47SEmmanuel Vadot #address-cells = <1>; 42*5def4c47SEmmanuel Vadot #size-cells = <0>; 43*5def4c47SEmmanuel Vadot switch@8 { 44*5def4c47SEmmanuel Vadot compatible = "arrow,xrs7004e"; 45*5def4c47SEmmanuel Vadot reg = <0x8>; 46*5def4c47SEmmanuel Vadot 47*5def4c47SEmmanuel Vadot ethernet-ports { 48*5def4c47SEmmanuel Vadot #address-cells = <1>; 49*5def4c47SEmmanuel Vadot #size-cells = <0>; 50*5def4c47SEmmanuel Vadot ethernet-port@1 { 51*5def4c47SEmmanuel Vadot reg = <1>; 52*5def4c47SEmmanuel Vadot label = "lan0"; 53*5def4c47SEmmanuel Vadot phy-handle = <&swphy0>; 54*5def4c47SEmmanuel Vadot phy-mode = "rgmii-id"; 55*5def4c47SEmmanuel Vadot }; 56*5def4c47SEmmanuel Vadot ethernet-port@2 { 57*5def4c47SEmmanuel Vadot reg = <2>; 58*5def4c47SEmmanuel Vadot label = "lan1"; 59*5def4c47SEmmanuel Vadot phy-handle = <&swphy1>; 60*5def4c47SEmmanuel Vadot phy-mode = "rgmii-id"; 61*5def4c47SEmmanuel Vadot }; 62*5def4c47SEmmanuel Vadot ethernet-port@3 { 63*5def4c47SEmmanuel Vadot reg = <3>; 64*5def4c47SEmmanuel Vadot label = "cpu"; 65*5def4c47SEmmanuel Vadot ethernet = <&fec1>; 66*5def4c47SEmmanuel Vadot fixed-link { 67*5def4c47SEmmanuel Vadot speed = <1000>; 68*5def4c47SEmmanuel Vadot full-duplex; 69*5def4c47SEmmanuel Vadot }; 70*5def4c47SEmmanuel Vadot }; 71*5def4c47SEmmanuel Vadot }; 72*5def4c47SEmmanuel Vadot }; 73*5def4c47SEmmanuel Vadot }; 74