AnsweredAssumed Answered

i.MX6s custom board : linux doen't discover phy

Question asked by jbd64 on Dec 21, 2015

Hi everyone,


We designed a custom board based on i.MX6solo with a phy MICREL KSZ9021 connected on ENET with RGMII.

U-boot discovers the phy at address 7 (which is the correct address), but linux can't discover it.

In attachments below, see the log file of u-boot and linux.

Here is the device tree code we are using :


pinctrl_enet: enetgrp {      fsl,pins = <           MX6QDL_PAD_KEY_COL1__ENET_MDIO          0x1b0b0           MX6QDL_PAD_ENET_MDC__ENET_MDC           0x1b0b0           MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0           MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0 0x1b0b0           MX6QDL_PAD_RGMII_RD0__RGMII_RD0         0x1b0b0           MX6QDL_PAD_RGMII_RD1__RGMII_RD1         0x1b0b0           MX6QDL_PAD_RGMII_RD2__RGMII_RD2         0x1b0b0           MX6QDL_PAD_RGMII_RD3__RGMII_RD3         0x1b0b0           MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0           MX6QDL_PAD_RGMII_RXC__RGMII_RXC         0x1b0b0           MX6QDL_PAD_RGMII_TD0__RGMII_TD0         0x1b0b0           MX6QDL_PAD_RGMII_TD1__RGMII_TD1         0x1b0b0           MX6QDL_PAD_RGMII_TD2__RGMII_TD2         0x1b0b0           MX6QDL_PAD_RGMII_TD3__RGMII_TD3         0x1b0b0           MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b0b0           MX6QDL_PAD_RGMII_TXC__RGMII_TXC         0x1b0b0           MX6QDL_PAD_SD2_CLK__GPIO1_IO10          0x1b0b0 //Phy Reset           MX6QDL_PAD_GPIO_0__GPIO1_IO00           0x1b0b0 //Phy Int      >; }; @ &fec {     pinctrl-names = "default";     pinctrl-0 = <&pinctrl_enet>;     phy-mode = "rgmii";     phy-reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;     status = "okay"; };


Any idea where does the problem provide ?

Thanks a lot.


Original Attachment has been moved to:

Original Attachment has been moved to: