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 Device Tree Bindings
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 - const: allwinner,sun50i-a64-emac
43 $ref: /schemas/types.yaml#/definitions/phandle
45 Phandle to the device containing the EMAC or GMAC clock
62 - $ref: "snps,dwmac.yaml#"
68 - allwinner,sun8i-a83t-emac
69 - allwinner,sun8i-h3-emac
70 - allwinner,sun8i-v3s-emac
71 - allwinner,sun50i-a64-emac
75 allwinner,tx-delay-ps:
81 External RGMII PHY TX clock delay chain value in ps.
83 allwinner,rx-delay-ps:
89 External RGMII PHY TX clock delay chain value in ps.
96 - allwinner,sun8i-r40-gmac
100 allwinner,rx-delay-ps:
106 External RGMII PHY TX clock delay chain value in ps.
113 - allwinner,sun8i-h3-emac
114 - allwinner,sun8i-v3s-emac
118 allwinner,leds-active-low:
119 $ref: /schemas/types.yaml#/definitions/flag
121 EPHY LEDs are active low.
125 unevaluatedProperties: false
129 const: allwinner,sun8i-h3-mdio-mux
132 $ref: /schemas/types.yaml#/definitions/phandle
134 Phandle to EMAC MDIO.
144 unevaluatedProperties: false
145 description: Internal MDIO Bus
149 const: allwinner,sun8i-h3-mdio-internal
155 "^ethernet-phy@[0-9a-f]$":
174 unevaluatedProperties: false
175 description: External MDIO Bus (H3 only)
186 unevaluatedProperties: false
191 compatible = "allwinner,sun8i-h3-emac";
193 reg = <0x01c0b000 0x104>;
194 interrupts = <0 82 1>;
195 interrupt-names = "macirq";
197 reset-names = "stmmaceth";
199 clock-names = "stmmaceth";
201 phy-handle = <&int_mii_phy>;
203 allwinner,leds-active-low;
206 #address-cells = <1>;
208 compatible = "snps,dwmac-mdio";
212 compatible = "allwinner,sun8i-h3-mdio-mux";
213 #address-cells = <1>;
216 mdio-parent-bus = <&mdio1>;
218 int_mii_phy: mdio@1 {
219 compatible = "allwinner,sun8i-h3-mdio-internal";
221 #address-cells = <1>;
234 #address-cells = <1>;
242 compatible = "allwinner,sun8i-h3-emac";
244 reg = <0x01c0b000 0x104>;
245 interrupts = <0 82 1>;
246 interrupt-names = "macirq";
248 reset-names = "stmmaceth";
250 clock-names = "stmmaceth";
252 phy-handle = <&ext_rgmii_phy>;
254 allwinner,leds-active-low;
257 #address-cells = <1>;
259 compatible = "snps,dwmac-mdio";
263 compatible = "allwinner,sun8i-h3-mdio-mux";
264 #address-cells = <1>;
266 mdio-parent-bus = <&mdio2>;
269 compatible = "allwinner,sun8i-h3-mdio-internal";
271 #address-cells = <1>;
283 #address-cells = <1>;
286 ext_rgmii_phy: ethernet-phy@1 {
295 compatible = "allwinner,sun8i-a83t-emac";
297 reg = <0x01c0b000 0x104>;
298 interrupts = <0 82 1>;
299 interrupt-names = "macirq";
301 reset-names = "stmmaceth";
303 clock-names = "stmmaceth";
304 phy-handle = <&ext_rgmii_phy1>;
308 compatible = "snps,dwmac-mdio";
309 #address-cells = <1>;
312 ext_rgmii_phy1: ethernet-phy@1 {