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>
47 lines
1.3 KiB
Diff
47 lines
1.3 KiB
Diff
From 384de84ae08b2e71aaf3432f412f97d979f1ac7e Mon Sep 17 00:00:00 2001
|
|
From: Frieder Schrempf <frieder.schrempf@kontron.de>
|
|
Date: Mon, 21 Jul 2025 12:05:43 +0200
|
|
Subject: arm64: dts: imx8mp-kontron: Fix USB hub reset
|
|
|
|
The latest hardware revision uses GPIO_B_2 as reset for
|
|
the USB hub. Fix this and remove the pinctrl as we already
|
|
have this in the OSM-S devicetree.
|
|
|
|
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
|
|
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
|
|
---
|
|
arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dts | 10 +---------
|
|
1 file changed, 1 insertion(+), 9 deletions(-)
|
|
|
|
--- a/arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dts
|
|
+++ b/arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dts
|
|
@@ -250,8 +250,6 @@
|
|
};
|
|
|
|
&usb_dwc3_1 {
|
|
- pinctrl-names = "default";
|
|
- pinctrl-0 = <&pinctrl_usb_hub>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
dr_mode = "host";
|
|
@@ -260,7 +258,7 @@
|
|
usb-hub@1 {
|
|
compatible = "usb424,2514";
|
|
reg = <1>;
|
|
- reset-gpios = <&gpio3 14 GPIO_ACTIVE_LOW>;
|
|
+ reset-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
@@ -317,10 +315,4 @@
|
|
MX8MP_IOMUXC_ECSPI1_MISO__GPIO5_IO08 0x46 /* CAN_ADR1 */
|
|
>;
|
|
};
|
|
-
|
|
- pinctrl_usb_hub: usbhubgrp {
|
|
- fsl,pins = <
|
|
- MX8MP_IOMUXC_NAND_DQS__GPIO3_IO14 0x46
|
|
- >;
|
|
- };
|
|
};
|