1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/net/dsa/nxp,sja1105.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP SJA1105 Automotive Ethernet Switch Family
10 The SJA1105 SPI interface requires a CS-to-CLK time (t2 in UM10944.pdf) of at
11 least one half of t_CLK. At an SPI frequency of 1MHz, this means a minimum
12 cs_sck_delay of 500ns. Ensuring that this SPI timing requirement is observed
13 depends on the SPI bus master driver.
16 - Vladimir Oltean <vladimir.oltean@nxp.com>
38 # Optional container node for the 2 internal MDIO buses of the SJA1110
39 # (one for the internal 100base-T1 PHYs and the other for the single
40 # 100base-TX PHY). The "reg" property does not have physical significance.
41 # The PHY addresses to port correspondence is as follows: for 100base-T1,
42 # port 5 has PHY 1, port 6 has PHY 2 etc, while for 100base-TX, port 1 has
46 additionalProperties: false
56 $ref: /schemas/net/mdio.yaml#
57 unevaluatedProperties: false
63 - nxp,sja1110-base-t1-mdio
64 - nxp,sja1110-base-tx-mdio
77 "^(ethernet-)?ports$":
78 additionalProperties: true
80 "^(ethernet-)?port@[0-9]$":
94 $ref: "#/$defs/internal-delay-ps"
96 $ref: "#/$defs/internal-delay-ps"
105 Disable tunable delay lines using 0 ps, or enable them and select
106 the phase between 1640 ps (73.8 degree shift at 1Gbps) and 2260 ps
107 (101.7 degree shift) in increments of 0.9 degrees (20 ps).
109 [0, 1640, 1660, 1680, 1700, 1720, 1740, 1760, 1780, 1800, 1820, 1840,
110 1860, 1880, 1900, 1920, 1940, 1960, 1980, 2000, 2020, 2040, 2060, 2080,
111 2100, 2120, 2140, 2160, 2180, 2200, 2220, 2240, 2260]
114 - $ref: dsa.yaml#/$defs/ethernet-ports
115 - $ref: /schemas/spi/spi-peripheral-props.yaml#
137 unevaluatedProperties: false
142 #address-cells = <1>;
147 compatible = "nxp,sja1105t";
151 #address-cells = <1>;
155 phy-handle = <&rgmii_phy6>;
156 phy-mode = "rgmii-id";
157 rx-internal-delay-ps = <0>;
158 tx-internal-delay-ps = <0>;
163 phy-handle = <&rgmii_phy3>;
164 phy-mode = "rgmii-id";
165 rx-internal-delay-ps = <0>;
166 tx-internal-delay-ps = <0>;
171 phy-handle = <&rgmii_phy4>;
172 phy-mode = "rgmii-id";
173 rx-internal-delay-ps = <0>;
174 tx-internal-delay-ps = <0>;
179 phy-handle = <&rgmii_phy4>;
180 phy-mode = "rgmii-id";
181 rx-internal-delay-ps = <0>;
182 tx-internal-delay-ps = <0>;
189 rx-internal-delay-ps = <0>;
190 tx-internal-delay-ps = <0>;