]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: STi: DT: Properly define sti-ethclk & stmmaceth for stih415/6
authorPeter Griffin <peter.griffin@linaro.org>
Mon, 16 Jun 2014 09:23:00 +0000 (11:23 +0200)
committerMaxime Coquelin <maxime.coquelin@st.com>
Tue, 17 Jun 2014 14:55:17 +0000 (16:55 +0200)
commiteec160003865b72ed923dec49d7314b094e4ecdf
tree66aa57d3740335c1c70f637707eaba00116dd9a1
parent081ef54181a1ff0d2c7e189052277797ff8dd0dd
ARM: STi: DT: Properly define sti-ethclk & stmmaceth for stih415/6

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: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
arch/arm/boot/dts/stih415.dtsi
arch/arm/boot/dts/stih416.dtsi
include/dt-bindings/clock/stih415-clks.h
include/dt-bindings/clock/stih416-clks.h