Hello,
I am trying to set up second PHY on an am335x board, in order to able a second ETH interface (ETH2).
Once Operating System has initialized, i execute a script (i am testing the pinmux on Operating System at this moment):
echo 0x23 > /debugfs/omap_mux/gpmc_a11 #rmii2_rxd0/Input/PullDown/Mode3
echo 0x23 > /debugfs/omap_mux/gpmc_a10 #rmii2_rxd1/Input/PullDown/Mode3
echo 0x23 > /debugfs/omap_mux/gpmc_wpn #rmii2_rxer/Input/PullDown/Mode3
echo 0x23 > /debugfs/omap_mux/gpmc_wait0 #rmii2_crs_dv/Input/PullDown/Mode3
echo 0x03 > /debugfs/omap_mux/gpmc_a5 #rmii2_txd0/Output/Mode3
echo 0x03 > /debugfs/omap_mux/gpmc_a4 #rmii2_txd1/Output/Mode3
echo 0x03 > /debugfs/omap_mux/gpmc_a0 #rmii2_txen/Output/Mode3
echo 0x07 > /debugfs/omap_mux/gpmc_a1 #rmii2_eth_resetn/Output/Mode7
echo 0x21 > /debugfs/omap_mux/mii1_col #rmii2_eth_50Mhz/Input/PullDown/Mode1
echo 0x30 > /debugfs/omap_mux/mdio_data #rmii2_mdio_data/Input/PullUp/Mode0
echo 0x10 > /debugfs/omap_mux/mdio_clk #rmii2_mdio_clk/Input/PullUP/Mode0
At the moment i set up the rmii2_eth_50Mhz ( line "echo 0x21 > /debugfs/omap_mux/mii1_col ") the act/link led on PHY2 starts to blink very fast, and when i try to init the ETH2 appears "PHY not found".
Both PHY1 and PHY2 have an external oscillator.
I don't know what is wrong....
Any idea?
Thank you