]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: imx: verdin-imx8mm: Set CAN oscillator frequency based on model
authorMarek Vasut <marex@denx.de>
Tue, 25 Jun 2024 08:26:15 +0000 (10:26 +0200)
committerFabio Estevam <festevam@gmail.com>
Sat, 6 Jul 2024 12:24:05 +0000 (09:24 -0300)
commitdcb1b7b6449e82a79b06e31af052628c3d58dc70
treef291d1aca6695153f4a95097fa3fc25fc755a315
parentfd46ea0e701920eb205c2bce9d527bf0dec10b59
ARM: imx: verdin-imx8mm: Set CAN oscillator frequency based on model

The older i.MX8M Mini Verdin SoMs may came with 20 MHz SPI CAN controller
oscillator, the newer SoMs always use 40 MHz oscillator. Handle both by
overriding the oscillator frequency just before booting the kernel.

These are the known variants with 20 MHz oscillator:
- 0055, V1.1A, V1.1B, V1.1C and V1.1D, use a 20MHz oscillator
- 0059, V1.1A and V1.1B, use a 20MHz oscillator

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
board/toradex/verdin-imx8mm/verdin-imx8mm.c