target/rtd129x: fix LAN led

(cherry picked from commit 307560cbecbb48ac2a9405c6f1a96b08eba13805)
This commit is contained in:
jjm2473 2021-12-02 11:09:24 +08:00
parent cf76212ccc
commit e3cede8b03
2 changed files with 2 additions and 0 deletions

View File

@ -379,6 +379,7 @@
mac0_phy_id = <2>; /* PHY ID 2 for RGMII, 3 for SGMII */
mac4_phy_id = <4>;
mac5_phy_id = <1>;
// phy_8211f_led_mode = <0x6C11>; /* 0x6C11: LED2 both link and active, 0xAE11: LED2 link, LED1 active */
led_mode = <1>; /* 0~3: SCAN_0~3, 4~6: DIRECT 0~2 */
gpio_link_led_enable = <0>; /* 0:disable, 1:enable */
gpios = <&rtk_iso_gpio 27 1 0>; /* Link LED, output, default low */

View File

@ -179,6 +179,7 @@
offload_enable = <1>;
mac0_enable = <0>;
led_mode = <4>;
phy_8211f_led_mode = <0x6C11>; /* 0x6C11: LED2 both link and active, 0xAE11: LED2 link, LED1 active */
gpio_link_led_enable = <1>;
led-gpios = <&rtk_iso_gpio 29 RTK_GPIO_DIROUT GPIO_ACTIVE_LOW>;
status = "okay";