Skip to content
  • Peter Griffin's avatar
    ARM: STi: DT: Properly define sti-ethclk & stmmaceth for stih415/6 · 9796853e
    Peter Griffin authored
    
    
    This patch fixes two problems: -
    
    1) The device tree isn't currently providing sti-ethclk which is
    required by the dwmac glue code to correctly configure the ethernet
    PHY clock speed.
    
    This means depending on what the bootloader/jtag has
    configured this clock to, and what switch/hub the board is plugged
    into you most likely will NOT successfully negotiate a ethernet link.
    
    2) The stmmaceth clock was associated with the wrong clock. It was
    referencing the PHY clock rather than the interconnect clock which
    clocks the IP.
    
    This patch also brings us closer to not having to boot the upstream
    kernel with the clk_ignore_unused parameter.
    
    Acked-by: default avatarLee Jones <lee.jones@linaro.org>
    Signed-off-by: default avatarPeter Griffin <peter.griffin@linaro.org>
    Signed-off-by: default avatarMaxime Coquelin <maxime.coquelin@st.com>
    9796853e