Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mediatek: minor fixes for openembed som7981 #12598

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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