arm64: dts: imx8mq: assign PCIe clocks
authorLucas Stach <l.stach@pengutronix.de>
Fri, 7 May 2021 22:12:13 +0000 (00:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jul 2021 12:36:15 +0000 (14:36 +0200)
commit6c099d595fd79ac3b4ef3d57a73767ed1c9339a1
tree67943146f1518f4b7cdc3b7b88e2478e1d25a588
parent24c41aa9d01b0f23fd2a024218da41c27845dd42
arm64: dts: imx8mq: assign PCIe clocks

[ Upstream commit 15a5261e4d052bf85c7fba24dbe0e9a7c8c05925 ]

This fixes multiple issues with the current non-existent PCIe clock setup:

The controller can run at up to 250MHz, so use a parent that provides this
clock.

The PHY needs an exact 100MHz reference clock to function if the PCIe
refclock is not fed in via the refclock pads. While this mode is not
supported (yet) in the driver it doesn't hurt to make sure we are
providing a clock with the right rate.

The AUX clock is specified to have a maximum clock rate of 10MHz. So
the current setup, which drives it straight from the 25MHz oscillator is
actually overclocking the AUX input.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq.dtsi