AnsweredAssumed Answered

IMX6Q RMII interface KSZ8895RQXCA

Question asked by Lee Lin on May 21, 2018
Latest reply on Jun 3, 2018 by zhencai zhang

IMX6Q使用RMII接口与交换机KSZ8895RQXCA相连时,使用GPIO_16作为ENET_REF_CLK。如何配置MX6QDL_PAD_GPIO_16__ENET_REF_CLK的工作模式为输出50Mhz。使用默认的配置时输出的是125Mhz,参考“Hardware Development Guide for i.MX 6Quad, 6Dual, 6DualLite,6Solo Families of Applications Processors”文档中的“11.4.1 Using the GPIO_16 pin to generate the reference clock”,需要将“ Bits 1–0 of CCM_ANALOG_PLL_ENETn control the frequency fed to the Ethernet MAC and should be set to 01b to obtain 50 MHZ”, 如何在设备树中配置CCM_ANALOG_PLL_ENETn 寄存器?使用的内核版本是linux4.1.15,附件为“Hardware Development Guide for i.MX 6Quad, 6Dual, 6DualLite,6Solo Families of Applications Processors”文档。

Attachments

Outcomes