Hello,
I am working on a custom hardware design that has two Ethernet PHY devices connected to the EMAC. Interface RGMII1 (pins K17, K16, etc) is connected to a AR8031 PHY using RGMII and this appears to be working OK as interface eth0.
There is a second 10/100 PHY (KSZ8041) connected to the GPMC_Ax pins in MII mode which is defined in the device tree as:
cpsw_default: cpsw_default { pinctrl-single,pins = < ... /* Slave 2 - connected to Micrel KSZ8041NL PHY. */ 0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a0.gmii2_txen */ 0x44 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a1.gmii2_rxdv */ 0x48 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a2.gmii2_txd3 */ 0x4c (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a3.gmii2_txd2 */ 0x50 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a4.gmii2_txd1 */ 0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* gpmc_a5.gmii2_txd0 */ 0x58 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a6.gmii2_txclk */ 0x5c (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a7.gmii2_rxclk */ 0x60 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a8.gmii2_rxd3 */ 0x64 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a9.gmii2_rxd2 */ 0x68 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a10.gmii2_rxd1 */ 0x6c (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_a11.gmii2_rxd0 */ 0x70 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_wait0.gmii2_crs */ 0x74 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_wpn.gmii2.rxer */ 0x78 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_be1n_mux0.gmii2.col */
This interface appears to Linux as eth1 but I can't get any data to pass through the interface?
Have I missed something obvious?
Thanks,
Andy.