Our custom board has a KSZ8081RNA with connected crystal. REF_CLK from the PHY outputs the clock signal which is used as input on the imx6ul. Thus, the clock direction is the opposite as on the development board.
On the imx6ul, pin enet1_tx_clk should behave as an input and not as an output.
In u-boot it was fairly simple to get this setup working: do not call function setup_fec.
But how do I manage this in linux? via the dts?
I'm using a 4.4 mainline kernel, but this problem makes no difference compared to the nxp fork.