commit | 941468f7065b0a24f58894d251d704c1313a3e71 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Mon Apr 10 15:21:02 2023 +0800 |
committer | developer <developer@mediatek.com> | Mon Apr 10 17:17:07 2023 +0800 |
tree | 1f26415c879cccaac7752456bb41c5bd476fca1f | |
parent | 510f5ed53b9de893845c837c6c643162aee994ae [diff] [blame] |
[][kernel][mt7988][eth][phy: mediatek-ge: Change LED pinmux after setting correct polarity] [Description] Change LED pinmux after setting correct polarity. We set four internal phys' polarity first and then switch pinmux. Or LED will blink unexpectedly. [Release-log] N/A Change-Id: Ie7d209745c3fb565a14a99767c8ac6c69e8b5750 Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7352621
diff --git a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988a-dsa-10g-emmc.dts b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988a-dsa-10g-emmc.dts index 4c1ae3d..bbfa4dc 100644 --- a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988a-dsa-10g-emmc.dts +++ b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988a-dsa-10g-emmc.dts
@@ -173,7 +173,7 @@ ð { pinctrl-names = "default"; - pinctrl-0 = <&mdio0_pins>, <&gbe_led0_pins>; + pinctrl-0 = <&mdio0_pins>; status = "okay"; gmac0: mac@0 { @@ -279,6 +279,8 @@ compatible = "mediatek,dsa-slave-mdio"; #address-cells = <1>; #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&gbe_led0_pins>; sphy0: switch_phy0@0 { compatible = "ethernet-phy-id03a2.9481";