mediatek: bpi-r4: add support for 2.5GE PoE variant
[openwrt/openwrt.git] / target / linux / mediatek / files-6.6 / arch / arm64 / boot / dts / mediatek / mt7988a-bananapi-bpi-r4-poe.dts
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 #include "mt7988a-bananapi-bpi-r4.dtsi"
8
9 / {
10 model = "Bananapi BPI-R4 2.5GE PoE";
11 compatible = "bananapi,bpi-r4-poe",
12 "mediatek,mt7988a";
13 };
14
15 &gmac1 {
16 phy-mode = "internal";
17 phy-connection-type = "internal";
18 phy = <&int_2p5g_phy>;
19 status = "okay";
20 };
21
22 &int_2p5g_phy {
23 pinctrl-names = "i2p5gbe-led";
24 pinctrl-0 = <&i2p5gbe_led0_pins>;
25 };