This adds support for the Kontron i.MX8MP OSM-S size system-on-module +
eval board.
CPU: NXP i.MX8MP @ 1600MHz (quad-core A53)
Memory: 4 (up to 8) GByte LPDDR4-RAM
Storage: 32 (up to 128) GByte eMMC + microSD slot
Ethernet: 2x 1 Gbit/s IEEE (1x with TSN)
UART: 1x UART console output on the Mini-B USB Debug Port
(signals are really UART on this Mini-B USB port!!!, there is
an adapter with ftdi available from Kontron)
1x RS232, 1x RS485
USB: 2x USB 2.0 Type-A, 1x USB 3.0 Type-C DRP
Misc: 8 (up to 128) kByte EEPROM (at24), RTC, 2x CAN, HDMI, 1x PCIe
This will create an SD card image for the board.
To use this image you have to bring the board to the recovery boot mode
(normal boot mode is eMMC). At the time of writing, the SoM (or the SoC)
has a bug that the FORCE_RECOVERY signal (switch S1 on the eval board)
doesn't work as long as the eMMC boot0 partition contains data.
Therefore you have to wipe this boot0 partition to be able to boot from
SD card. To do this call the following commands at uboot:
mmc dev 0 1
mmc erase 0 0x2000
After that, the system will try to boot from SD card.
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
39 lines
1.5 KiB
Diff
39 lines
1.5 KiB
Diff
From 130d90114c5255a7a729158da8fd8298a02017f1 Mon Sep 17 00:00:00 2001
|
|
From: Annette Kobou <annette.kobou@kontron.de>
|
|
Date: Mon, 9 Mar 2026 09:57:43 +0100
|
|
Subject: arm64: dts: imx8mp-kontron: Fix boot order for PMIC and RTC
|
|
|
|
The PMIC provides a level-shifter for the I2C lines to the RTC. As the
|
|
level shifter needs to be enabled before the RTC can be accessed, make sure
|
|
that the PMIC driver is probed first.
|
|
|
|
As the PMIC also provides the supply voltage for the RTC through the 3.3V
|
|
regulator, simply express this in the DT to create the required dependency.
|
|
|
|
Avoid sporadic boot hangs that occurred when the RTC was accessed before
|
|
the level-shifter was enabled.
|
|
|
|
Fixes: 946ab10e3f40f ("arm64: dts: Add support for Kontron OSM-S i.MX8MP SoM and BL carrier board")
|
|
Signed-off-by: Annette Kobou <annette.kobou@kontron.de>
|
|
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
|
|
Signed-off-by: Frank Li <Frank.Li@nxp.com>
|
|
---
|
|
arch/arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi | 6 ++++++
|
|
1 file changed, 6 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi
|
|
+++ b/arch/arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi
|
|
@@ -330,6 +330,12 @@
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_rtc>;
|
|
interrupts-extended = <&gpio3 24 IRQ_TYPE_LEVEL_LOW>;
|
|
+ /*
|
|
+ * While specifying the vdd-supply is normally not strictly necessary,
|
|
+ * here it also makes sure that the PMIC driver enables the level-
|
|
+ * shifter for the RTC before the RTC is probed.
|
|
+ */
|
|
+ vdd-supply = <®_vdd_3v3>;
|
|
};
|
|
};
|
|
|