mediatek: minor fixes for openembed som7981 ()

Signed-off-by: Tianling Shen <i@cnsztl.eu.org>
This commit is contained in:
Tianling Shen 2024-10-25 21:20:26 +08:00 committed by GitHub
parent 972664bd05
commit 02c320a0cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 10 deletions
target/linux/mediatek
dts
filogic/base-files/etc/board.d

View File

@ -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>;
};
@ -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>;
};
};
@ -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";
};
};

View File

@ -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"
;;