[FS#1055] Youku YK1: No ethernet devices

LEDE Bugs lede-bugs at lists.infradead.org
Sun Oct 15 05:11:56 PDT 2017


The following task has a new comment added:

FS#1055 - Youku YK1: No ethernet devices
User who did this - Mathias Kresin (mkresin)

----------
Your board has definitely not external phy. Means the EPHY is used for sure.

I guess I found the answer to our question in the MT7620 Datasheet (google for it). First of all the EPHY pins are names EPHY_LED pins and they can be set to the following functions:


EPHY_LED pin share scheme

Pin Name            | EPHY function | JTAG function | GPIO function
--------------------+---------------+---------------+--------------
EPHY_LED4_N_JTRST_N | EPHY_LED4_N   | JTAG_RST_N    | GPIO#44
EPHY_LED3_N_JTCLK   | EPHY_LED3_N   | JTAG_CLK      | GPIO#43
EPHY_LED2_N_JTMS    | EPHY_LED2_N   | JTAG_TMS      | GPIO#42
EPHY_LED1_N_JTDI    | EPHY_LED1_N   | JTAG_TDI      | GPIO#41
EPHY_LED0_N_JTDO    | EPHY_LED0_N   | JTAG_TDO      | GPIO#40


Judging from the function name, I assume the pins in EPHY function are only used to control LEDs attached to the SoC and not required at all to get the EPHY working. Since your board doesn't have these LEDs, it is fine to set the pins to the GPIO function.

If you touch the 01_leds file to add the wan led trigger, drop the power led from the youku-yk1 section. The LED is already controlled and switched to on by diag.sh. If it doesn't work, as expected, the LED is most likely GPIO_ACTIVE_HIGH instead of GPIO_ACTIVE_LOW.
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1055#comment3607



More information about the lede-bugs mailing list