ipq40xx: fix invalid GPIO numbers since kernel 6.6
[openwrt/staging/xback.git] / target / linux / mediatek / files-6.6 / arch / arm64 / boot / dts / mediatek / mt7988a-rfb-eth2-aqr.dtso
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 /*
3 * Copyright (C) 2022 MediaTek Inc.
4 * Author: Sam.Shih <sam.shih@mediatek.com>
5 */
6
7 /dts-v1/;
8 /plugin/;
9
10 #include <dt-bindings/gpio/gpio.h>
11
12 / {
13 compatible = "mediatek,mt7988a-rfb", "mediatek,mt7988a";
14
15 fragment@0 {
16 target = <&mdio_bus>;
17 __overlay__ {
18 #address-cells = <1>;
19 #size-cells = <0>;
20
21 /* external Aquantia AQR113C */
22 phy8: ethernet-phy@8 {
23 reg = <8>;
24 compatible = "ethernet-phy-ieee802.3-c45";
25 firmware-name = "AQR-G4_v5.7.0-AQR_EVB_Generic_X3410_StdCfg_MDISwap_USX_ID46316_VER2140.cld";
26 reset-gpios = <&pio 71 GPIO_ACTIVE_LOW>;
27 reset-assert-us = <100000>;
28 reset-deassert-us = <221000>;
29 };
30 };
31 };
32
33 fragment@1 {
34 target = <&gmac2>;
35 __overlay__ {
36 phy-mode = "usxgmii";
37 phy-connection-type = "usxgmii";
38 phy = <&phy8>;
39 status = "okay";
40 };
41 };
42 };