mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-18 07:23:59 +00:00
mediatek: minor fixes for openembed som7981 (#12598)
Signed-off-by: Tianling Shen <i@cnsztl.eu.org>
This commit is contained in:
parent
972664bd05
commit
02c320a0cf
target/linux/mediatek
@ -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";
|
||||
};
|
||||
};
|
||||
|
@ -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"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user