mediatek: copy files-6.1 to files-6.6
[openwrt/staging/981213.git] / target / linux / mediatek / files-6.6 / arch / arm64 / boot / dts / mediatek / mt7981-rfb-mxl-2p5g-phy-eth1.dtso
1 /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */
2 /dts-v1/;
3 /plugin/;
4
5 #include <dt-bindings/gpio/gpio.h>
6
7 / {
8 compatible = "mediatek,mt7981-rfb", "mediatek,mt7981";
9
10 fragment@0 {
11 target = <&gmac1>;
12 __overlay__ {
13 phy-mode = "2500base-x";
14 phy-handle = <&phy5>;
15 };
16 };
17
18 fragment@1 {
19 target = <&mdio_bus>;
20 __overlay__ {
21 reset-gpios = <&pio 14 GPIO_ACTIVE_LOW>;
22 reset-delay-us = <600>;
23 reset-post-delay-us = <20000>;
24
25 phy5: ethernet-phy@5 {
26 reg = <5>;
27 compatible = "ethernet-phy-ieee802.3-c45";
28 phy-mode = "2500base-x";
29 };
30 };
31 };
32 };