commit | a2613e69d77e124efb4e8dc064de3b90eaad6a84 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Fri Jul 01 18:29:37 2022 +0800 |
committer | developer <developer@mediatek.com> | Mon Jul 04 18:50:47 2022 +0800 |
tree | 64bf6ed89231312069fae7e3d38a367fe39020de | |
parent | 209e52d3cdb2b6692002a04f6210f8a48c72d0b9 [diff] [blame] |
[][[Panther][AX8400][MT7986A][MT7976][ePA][WiFi]The 2.5G wan interface didn't show any link up/down log when cable plug/unplug] [Description] Add a external interrupt handler for GPY211 single phy chip. This interrupt handler will display link up/down message and notify kernel when receiving link status change interrupt. Note1: This patch will disable UART2 on the 2500WAN RFB, since single phy external interrupt occupied UART2_RXD and UART2_TXD. Note2: The interrupt handler will not notify kernel on the 2500WAN GSW RFB. [Release-log] NA Change-Id: Ibbecb437049f02a4ce479fee2cb035b7c17dac66 Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6194248
diff --git a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a-2500wan-gsw-spim-nand-rfb.dts b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a-2500wan-gsw-spim-nand-rfb.dts index 457c351..4c4f987 100644 --- a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a-2500wan-gsw-spim-nand-rfb.dts +++ b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a-2500wan-gsw-spim-nand-rfb.dts
@@ -57,7 +57,7 @@ &uart2 { pinctrl-names = "default"; pinctrl-0 = <&uart2_pins>; - status = "okay"; + status = "disabled"; }; &i2c0 { @@ -91,6 +91,8 @@ speed = <2500>; full-duplex; pause; + link-gpio = <&pio 47 0>; + phy-handle = <&phy5>; }; }; @@ -103,6 +105,8 @@ speed = <2500>; full-duplex; pause; + link-gpio = <&pio 46 0>; + phy-handle = <&phy6>; }; };