]> www.infradead.org Git - users/dwmw2/linux.git/commit
ARM: dts: at91: sama5d3: fix maximum peripheral clock rates
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 10 Jan 2020 17:20:06 +0000 (18:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2020 21:53:02 +0000 (16:53 -0500)
commitb8a3688da99e18ec9fa57256c9ef1dc568f886ce
tree8d94644edbe513e8ecba3d1e1d473d167a8f1cae
parent053af2587e7f04ab082038c54d5b7f98b601dc2f
ARM: dts: at91: sama5d3: fix maximum peripheral clock rates

commit ee0aa926ddb0bd8ba59e33e3803b3b5804e3f5da upstream.

Currently the maximum rate for peripheral clock is calculated based on a
typical 133MHz MCK. The maximum frequency is defined in the datasheet as a
ratio to MCK. Some sama5d3 platforms are using a 166MHz MCK. Update the
device trees to match the maximum rate based on 166MHz.

Reported-by: Karl Rudbæk Olsen <karl@micro-technic.com>
Fixes: d2e8190b7916 ("ARM: at91/dt: define sama5d3 clocks")
Link: https://lore.kernel.org/r/20200110172007.1253659-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/sama5d3.dtsi
arch/arm/boot/dts/sama5d3_can.dtsi
arch/arm/boot/dts/sama5d3_uart.dtsi