From 6085c4917aa8a1e7b124ef4a56b79041fdf3eda1 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Mon, 21 Oct 2024 15:36:30 +0800 Subject: [PATCH] mediatek: fix phy led and uart pins for openembed som7981 Signed-off-by: Tianling Shen --- target/linux/mediatek/dts/mt7981b-openembed-som7981.dts | 8 ++++---- .../linux/mediatek/filogic/base-files/etc/board.d/01_leds | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/target/linux/mediatek/dts/mt7981b-openembed-som7981.dts b/target/linux/mediatek/dts/mt7981b-openembed-som7981.dts index 64d2fa1834..bb0234d862 100644 --- a/target/linux/mediatek/dts/mt7981b-openembed-som7981.dts +++ b/target/linux/mediatek/dts/mt7981b-openembed-som7981.dts @@ -128,7 +128,7 @@ reset-deassert-us = <68000>; realtek,aldps-enable; realtek,led-link-select = <0x0 0xa7 0xa7>; - realtek,led-act-select = <0x2612>; + realtek,led-act-select = <0x2614>; realtek,led-polarity-select = <0x63>; }; }; @@ -236,14 +236,14 @@ uart1_pins: uart1-pins { mux { - function = "uart1"; - groups = "uart1_1_tx_rx"; + function = "uart"; + groups = "uart1_3"; }; }; uart2_pins: uart2-pins { mux { - function = "uart2"; + function = "uart"; groups = "uart2_0_tx_rx"; }; }; diff --git a/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds b/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds index ae2dc5088f..6f70c4e414 100644 --- a/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds +++ b/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds @@ -73,8 +73,8 @@ netgear,wax220) ucidef_set_led_netdev "wlan5g" "WLAN5G" "blue:wlan5g" "phy1-ap0" ;; openembed,som7981) - ucidef_set_led_netdev "lanact" "LANACT" "green:lan" "eth1" "rx tx" - ucidef_set_led_netdev "lanlink" "LANLINK" "amber:lan" "eth1" "link" + ucidef_set_led_netdev "lanact" "LANACT" "amber:lan" "eth1" "rx tx" + ucidef_set_led_netdev "lanlink" "LANLINK" "green:lan" "eth1" "link" ucidef_set_led_netdev "wlan2g" "WLAN2G" "green:wlan-2ghz" "phy0-ap0" ucidef_set_led_netdev "wlan5g" "WLAN5G" "red:wlan-5ghz" "phy1-ap0" ;;