Skip to content

Commit

Permalink
mediatek: minor fixes for openembed som7981 (#12598)
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
1715173329 authored Oct 25, 2024
1 parent 972664b commit 02c320a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions target/linux/mediatek/dts/mt7981b-openembed-som7981.dts
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@
compatible = "gpio-leds";

led-0 {
label = "amber:lan";
label = "green:lan";
gpios = <&pio 8 GPIO_ACTIVE_LOW>;
};

led-1 {
label = "green:lan";
label = "amber:lan";
gpios = <&pio 13 GPIO_ACTIVE_LOW>;
};

Expand Down Expand Up @@ -120,11 +120,11 @@
compatible = "ethernet-phy-ieee802.3-c45";
phy-mode = "2500base-x";
reset-gpios = <&pio 14 GPIO_ACTIVE_LOW>;
reset-assert-us = <10000>;
reset-deassert-us = <50000>;
reset-assert-us = <15000>;
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>;
};
};
Expand Down Expand Up @@ -231,14 +231,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";
};
};
Expand Down
4 changes: 2 additions & 2 deletions target/linux/mediatek/filogic/base-files/etc/board.d/01_leds
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ nokia,ea0326gmp)
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
;;
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:wlan2g" "wlan0"
ucidef_set_led_netdev "wlan5g" "WLAN5G" "red:wlan5g" "wlan1"
;;
Expand Down

0 comments on commit 02c320a

Please sign in to comment.