1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/net/allwinner,sun8i-a83t-emac.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A83t EMAC
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
16 - const: allwinner,sun8i-a83t-emac
17 - const: allwinner,sun8i-h3-emac
18 - const: allwinner,sun8i-r40-gmac
19 - const: allwinner,sun8i-v3s-emac
20 - const: allwinner,sun50i-a64-emac
23 - allwinner,sun20i-d1-emac
24 - allwinner,sun50i-h6-emac
25 - allwinner,sun50i-h616-emac0
26 - const: allwinner,sun50i-a64-emac
44 description: PHY regulator
47 $ref: /schemas/types.yaml#/definitions/phandle
49 Phandle to the device containing the EMAC or GMAC clock
66 - $ref: snps,dwmac.yaml#
72 - allwinner,sun8i-a83t-emac
73 - allwinner,sun8i-h3-emac
74 - allwinner,sun8i-v3s-emac
75 - allwinner,sun50i-a64-emac
79 allwinner,tx-delay-ps:
85 External RGMII PHY TX clock delay chain value in ps.
87 allwinner,rx-delay-ps:
93 External RGMII PHY TX clock delay chain value in ps.
100 - allwinner,sun8i-r40-gmac
104 allwinner,rx-delay-ps:
110 External RGMII PHY TX clock delay chain value in ps.
117 - allwinner,sun8i-h3-emac
118 - allwinner,sun8i-v3s-emac
122 allwinner,leds-active-low:
123 $ref: /schemas/types.yaml#/definitions/flag
125 EPHY LEDs are active low.
129 unevaluatedProperties: false
133 const: allwinner,sun8i-h3-mdio-mux
136 $ref: /schemas/types.yaml#/definitions/phandle
138 Phandle to EMAC MDIO.
148 unevaluatedProperties: false
149 description: Internal MDIO Bus
153 const: allwinner,sun8i-h3-mdio-internal
159 "^ethernet-phy@[0-9a-f]$":
161 $ref: ethernet-phy.yaml#
162 unevaluatedProperties: false
180 unevaluatedProperties: false
181 description: External MDIO Bus (H3 only)
192 unevaluatedProperties: false
197 compatible = "allwinner,sun8i-h3-emac";
199 reg = <0x01c0b000 0x104>;
200 interrupts = <0 82 1>;
201 interrupt-names = "macirq";
203 reset-names = "stmmaceth";
205 clock-names = "stmmaceth";
207 phy-handle = <&int_mii_phy>;
209 allwinner,leds-active-low;
212 #address-cells = <1>;
214 compatible = "snps,dwmac-mdio";
218 compatible = "allwinner,sun8i-h3-mdio-mux";
219 #address-cells = <1>;
222 mdio-parent-bus = <&mdio1>;
224 int_mii_phy: mdio@1 {
225 compatible = "allwinner,sun8i-h3-mdio-internal";
227 #address-cells = <1>;
240 #address-cells = <1>;
248 compatible = "allwinner,sun8i-h3-emac";
250 reg = <0x01c0b000 0x104>;
251 interrupts = <0 82 1>;
252 interrupt-names = "macirq";
254 reset-names = "stmmaceth";
256 clock-names = "stmmaceth";
258 phy-handle = <&ext_rgmii_phy>;
260 allwinner,leds-active-low;
263 #address-cells = <1>;
265 compatible = "snps,dwmac-mdio";
269 compatible = "allwinner,sun8i-h3-mdio-mux";
270 #address-cells = <1>;
272 mdio-parent-bus = <&mdio2>;
275 compatible = "allwinner,sun8i-h3-mdio-internal";
277 #address-cells = <1>;
289 #address-cells = <1>;
292 ext_rgmii_phy: ethernet-phy@1 {
301 compatible = "allwinner,sun8i-a83t-emac";
303 reg = <0x01c0b000 0x104>;
304 interrupts = <0 82 1>;
305 interrupt-names = "macirq";
307 reset-names = "stmmaceth";
309 clock-names = "stmmaceth";
310 phy-handle = <&ext_rgmii_phy1>;
314 compatible = "snps,dwmac-mdio";
315 #address-cells = <1>;
318 ext_rgmii_phy1: ethernet-phy@1 {