Skip to contentSkip to conversation

arm64: support Engicam i.Core MX8M Plus FE C.TOUCH 2.0 board

PATCH Applied Dario Binacchi 3 participants 9 messages Oct 30 – Nov 23

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover arm64: support Engicam i.Core MX8M Plus FE C.TOUCH 2.0 board

This series adds initial support for the Engicam i.Core MX8M Plus Fast Ethernet C.TOUCH 2.0 board, based on the i.Core MX8M Plus Fast Ethernet SoM.

The support includes device tree descriptions for the SoM and for the C.TOUCH 2.0 carrier board, together with an overlay for the 10.1" LVDS display (C.TOUCH 2.0 10.1" Open Frame).

Dario Binacchi (5):
arm64: dts: imx8mp-icore-mx8mp: enable the watchdog
dt-bindings: arm: fsl: support Engicam i.Core MX8M Plus FE C.TOUCH 2.0
board
arm64: dts: freescale: support Engicam i.Core MX8M Plus FE SoM
arm64: dts: freescale: support Engicam i.Core MX8M Plus FE C.TOUCH 2.0
board
arm64: dts: freescale: add Engicam C.TOUCH 2.0 LVDS display overlay

 .../devicetree/bindings/arm/fsl.yaml          |   7 +
 arch/arm64/boot/dts/freescale/Makefile        |   8 +
 ...ctouch2-overlay-am-1280800w8tzqw-t00h.dtso |  53 ++++++
 .../freescale/imx8mp-icore-mx8mp-ctouch2.dtsi | 166 ++++++++++++++++++
 .../imx8mp-icore-mx8mp-fe-ctouch2.dts         |  17 ++
 .../dts/freescale/imx8mp-icore-mx8mp-fe.dtsi  |  62 +++++++
 .../dts/freescale/imx8mp-icore-mx8mp.dtsi     |  13 ++
 7 files changed, 326 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-overlay-am-1280800w8tzqw-t00h.dtso
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-fe-ctouch2.dts
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-fe.dtsi

---
base-commit: d89e1d186ec9271bf78e62771779e9fc03bf0fc3
branch: engicam-imx8mp-icore-fe-ctouch2

Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/5 arm64: dts: imx8mp-icore-mx8mp: enable the watchdog

Enable the watchdog, asserting WDOG_B on timeout. On the SoM the signal is connected to the PMIC, which resets the whole board.

Tested on the i.Core MX8M Plus Fast Ethernet variant.

---

 .../boot/dts/freescale/imx8mp-icore-mx8mp.dtsi      | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp.dtsi +13 -0
index affcc20b20c7..33066247cd2c 100644
@@ -122,6 +122,13 @@ &usdhc3 {
 	status = "okay";
 };
 
+&wdog1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_wdog>;
+	fsl,ext-reset-output;
+	status = "okay";
+};
+
 &iomuxc {
 	pinctrl_i2c1: i2c1grp {
 		fsl,pins = <
@@ -183,4 +190,10 @@ MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7	0x1d6
 			MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE	0x196
 		>;
 	};
+
+	pinctrl_wdog: wdoggrp {
+		fsl,pins = <
+			MX8MP_IOMUXC_GPIO1_IO02__WDOG1_WDOG_B	0xc6
+		>;
+	};
 };
Signature · 1 line
2.43.0
#2 lore raw

PATCH 2/5 dt-bindings: arm: fsl: support Engicam i.Core MX8M Plus FE C.TOUCH 2.0 board

In reply to Dario Binacchi

Add devicetree bindings for Engicam i.Core MX8M Plus Fast Ethernet C.TOUCH 2.0 board based on the Engicam i.Core MX8M Plus Fast Ethernet SoM (System-on-Module).

Unlike the i.Core MX8M Plus SoM, the Fast Ethernet variant embeds an RMII 10/100 Ethernet PHY, so a dedicated SoM compatible is added.

The use of an enum for a single element is justified by the future addition of other boards based on the same SoM.

---

 Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +7 -0
index c8290a83205b..5835c25bca90 100644
@@ -1222,6 +1222,13 @@ properties:
           - const: engicam,icore-mx8mp             # i.MX8MP Engicam i.Core MX8M Plus SoM
           - const: fsl,imx8mp
 
+      - description: Engicam i.Core MX8M Plus Fast Ethernet SoM based boards
+        items:
+          - enum:
+              - engicam,icore-mx8mp-fe-ctouch2     # i.MX8MP Engicam i.Core MX8M Plus FE C.TOUCH 2.0 Board
+          - const: engicam,icore-mx8mp-fe          # i.MX8MP Engicam i.Core MX8M Plus FE SoM
+          - const: fsl,imx8mp
+
       - description: Ka-Ro TX8P-ML81 SoM based boards
         items:
           - enum:
Signature · 1 line
2.43.0
Acked-by on v1 2/5
#3 lore raw

Re: [PATCH 2/5] dt-bindings: arm: fsl: support Engicam i.Core MX8M Plus FE C.TOUCH 2.0 board

Quoted 7 lines · Dario Binacchi

Add devicetree bindings for Engicam i.Core MX8M Plus Fast Ethernet C.TOUCH 2.0 board based on the Engicam i.Core MX8M Plus Fast Ethernet SoM (System-on-Module).

Unlike the i.Core MX8M Plus SoM, the Fast Ethernet variant embeds an RMII 10/100 Ethernet PHY, so a dedicated SoM compatible is added.

Quoted 8 lines

The use of an enum for a single element is justified by the future addition of other boards based on the same SoM.

---

 Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

Best regards,
Krzysztof

#4 lore raw

PATCH 3/5 arm64: dts: freescale: support Engicam i.Core MX8M Plus FE SoM

In reply to Dario Binacchi

Support Engicam i.Core MX8M Plus Fast Ethernet SoM, a variant of the i.Core MX8M Plus SoM which embeds a SMSC LAN8710 10/100 Ethernet PHY connected to the EQOS controller in RMII mode.

---

 .../dts/freescale/imx8mp-icore-mx8mp-fe.dtsi  | 62 +++++++++++++++++++
 1 file changed, 62 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-fe.dtsi
arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-fe.dtsi new file +62 -0
new file mode 100644
index 000000000000..1341de0ba4b5
@@ -0,0 +1,62 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (C) 2026 Amarula Solutions, Dario Binacchi <[email protected]>
+ * Copyright (C) 2026 Engicam srl
+ */
+
+#include "imx8mp-icore-mx8mp.dtsi"
+
+/ {
+	compatible = "engicam,icore-mx8mp-fe", "fsl,imx8mp";
+};
+
+&eqos {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_eqos>;
+	phy-handle = <&ethphy0>;
+	phy-mode = "rmii";
+	snps,force_thresh_dma_mode;
+	snps,rmii_refclk_ext;
+	status = "okay";
+
+	mdio {
+		compatible = "snps,dwmac-mdio";
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		ethphy0: ethernet-phy@0 {	/* SMSC LAN8710 */
+			compatible = "ethernet-phy-ieee802.3-c22";
+			reg = <0>;
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_ethphy0>;
+			reset-gpios = <&gpio1 29 GPIO_ACTIVE_LOW>;
+			reset-assert-us = <500>;
+			reset-deassert-us = <500>;
+			smsc,disable-energy-detect;
+		};
+	};
+};
+
+&iomuxc {
+	pinctrl_eqos: eqosgrp {
+		fsl,pins = <
+			MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC				0x3
+			MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO				0x3
+			MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL			0x12
+			MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0			0x12
+			MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1			0x12
+			/* RMII reference clock input, provided by the SoM */
+			MX8MP_IOMUXC_ENET_TD2__CCM_ENET_QOS_CLOCK_GENERATE_REF_CLK	0x12
+			MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL			0x1d0
+			MX8MP_IOMUXC_ENET_RXC__ENET_QOS_RX_ER				0x91
+			MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0			0x1d0
+			MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1			0x1d0
+		>;
+	};
+
+	pinctrl_ethphy0: ethphy0grp {
+		fsl,pins = <
+			MX8MP_IOMUXC_ENET_RD3__GPIO1_IO29	0x16
+		>;
+	};
+};
Signature · 1 line
2.43.0
#5 lore raw

PATCH 4/5 arm64: dts: freescale: support Engicam i.Core MX8M Plus FE C.TOUCH 2.0 board

In reply to Dario Binacchi

Support Engicam i.Core MX8M Plus Fast Ethernet C.TOUCH 2.0 board with:

- 10/100 Ethernet
- CAN
- RTC
- USB host, through an on-board hub
- USB OTG, device only
- Micro SD card connector
- LVDS display connector

The C.TOUCH 2.0 carrier board is described in a separate dtsi, so that it can be shared with the other i.Core MX8M Plus SoMs.

---

 arch/arm64/boot/dts/freescale/Makefile        |   1 +
 .../freescale/imx8mp-icore-mx8mp-ctouch2.dtsi | 166 ++++++++++++++++++
 .../imx8mp-icore-mx8mp-fe-ctouch2.dts         |  17 ++
 3 files changed, 184 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-fe-ctouch2.dts
arch/arm64/boot/dts/freescale/Makefile +1 -0
index a80cccf34eb5..bf324cdec879 100644
@@ -655,6 +655,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mp-hummingboard-pulse.dtb
 DTC_FLAGS_imx8mp-hummingboard-ripple := -@
 dtb-$(CONFIG_ARCH_MXC) += imx8mp-hummingboard-ripple.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mp-icore-mx8mp-edimm2.2.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx8mp-icore-mx8mp-fe-ctouch2.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mp-iota2-lumpy.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mp-kontron-bl-osm-s.dtb
 
arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2.dtsi new file +166 -0

166 lines not on this page · raw message

arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-fe-ctouch2.dts new file +17 -0
new file mode 100644
index 000000000000..c4271cffca9a
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (C) 2026 Amarula Solutions, Dario Binacchi <[email protected]>
+ * Copyright (C) 2026 Engicam srl
+ */
+
+/dts-v1/;
+
+#include "imx8mp.dtsi"
+#include "imx8mp-icore-mx8mp-fe.dtsi"
+#include "imx8mp-icore-mx8mp-ctouch2.dtsi"
+
+/ {
+	model = "Engicam i.Core MX8M Plus Fast Ethernet C.TOUCH 2.0";
+	compatible = "engicam,icore-mx8mp-fe-ctouch2", "engicam,icore-mx8mp-fe",
+		     "fsl,imx8mp";
+};
Signature · 1 line
2.43.0
#6 lore raw

PATCH 5/5 arm64: dts: freescale: add Engicam C.TOUCH 2.0 LVDS display overlay

In reply to Dario Binacchi

Add an overlay for the C.TOUCH 2.0 carrier board fitted with the AM-1280800W8TZQW-T00H 10.1" 1280x800 LVDS panel (C.TOUCH 2.0 10.1" Open Frame). Its touchscreen is connected over USB, so there is no touchscreen node.

---

 arch/arm64/boot/dts/freescale/Makefile        |  7 +++
 ...ctouch2-overlay-am-1280800w8tzqw-t00h.dtso | 53 +++++++++++++++++++
 2 files changed, 60 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-overlay-am-1280800w8tzqw-t00h.dtso
arch/arm64/boot/dts/freescale/Makefile +7 -0
index bf324cdec879..a3dce3310fac 100644
@@ -656,6 +656,13 @@ DTC_FLAGS_imx8mp-hummingboard-ripple := -@
 dtb-$(CONFIG_ARCH_MXC) += imx8mp-hummingboard-ripple.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mp-icore-mx8mp-edimm2.2.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mp-icore-mx8mp-fe-ctouch2.dtb
+
+imx8mp-icore-mx8mp-fe-ctouch2-overlay-am-1280800w8tzqw-t00h-dtbs := \
+	imx8mp-icore-mx8mp-fe-ctouch2.dtb \
+	imx8mp-icore-mx8mp-ctouch2-overlay-am-1280800w8tzqw-t00h.dtbo
+dtb-$(CONFIG_ARCH_MXC) += imx8mp-icore-mx8mp-ctouch2-overlay-am-1280800w8tzqw-t00h.dtbo \
+	imx8mp-icore-mx8mp-fe-ctouch2-overlay-am-1280800w8tzqw-t00h.dtb
+
 dtb-$(CONFIG_ARCH_MXC) += imx8mp-iota2-lumpy.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mp-kontron-bl-osm-s.dtb
 
arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-overlay-am-1280800w8tzqw-t00h.dtso new file +53 -0

53 lines not on this page · raw message

Signature · 1 line
2.43.0
#7 lore raw
In reply to Dario Binacchi

Hi Frank,

Gentle ping on this series. Patch 2/5 has Krzysztof's Acked-by, and the series still applies cleanly on next-20261119.

Thanks and regards,
Dario

Quoted 39 lines · Dario Binacchi

This series adds initial support for the Engicam i.Core MX8M Plus Fast Ethernet C.TOUCH 2.0 board, based on the i.Core MX8M Plus Fast Ethernet SoM.

The support includes device tree descriptions for the SoM and for the C.TOUCH 2.0 carrier board, together with an overlay for the 10.1" LVDS display (C.TOUCH 2.0 10.1" Open Frame).

Dario Binacchi (5):
arm64: dts: imx8mp-icore-mx8mp: enable the watchdog
dt-bindings: arm: fsl: support Engicam i.Core MX8M Plus FE C.TOUCH 2.0
board
arm64: dts: freescale: support Engicam i.Core MX8M Plus FE SoM
arm64: dts: freescale: support Engicam i.Core MX8M Plus FE C.TOUCH 2.0
board
arm64: dts: freescale: add Engicam C.TOUCH 2.0 LVDS display overlay

 .../devicetree/bindings/arm/fsl.yaml          |   7 +
 arch/arm64/boot/dts/freescale/Makefile        |   8 +
 ...ctouch2-overlay-am-1280800w8tzqw-t00h.dtso |  53 ++++++
 .../freescale/imx8mp-icore-mx8mp-ctouch2.dtsi | 166 ++++++++++++++++++
 .../imx8mp-icore-mx8mp-fe-ctouch2.dts         |  17 ++
 .../dts/freescale/imx8mp-icore-mx8mp-fe.dtsi  |  62 +++++++
 .../dts/freescale/imx8mp-icore-mx8mp.dtsi     |  13 ++
 7 files changed, 326 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-overlay-am-1280800w8tzqw-t00h.dtso
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-fe-ctouch2.dts
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-fe.dtsi

---
base-commit: d89e1d186ec9271bf78e62771779e9fc03bf0fc3
branch: engicam-imx8mp-icore-fe-ctouch2

--
2.43.0

Signature · 9 lines
Dario Binacchi
Senior Embedded Software Engineer
M. +39 328 0625246
[email protected]
―――――――――――――――
Amarula Solutions SRL
 Via Felice Cavallotti 25D, 41012 Carpi, MO, IT
[email protected]
www.amarulasolutions.com
#8 lore raw
In reply to Dario Binacchi

From: Frank Li <[email protected]>

Quoted 9 lines · Dario Binacchi

This series adds initial support for the Engicam i.Core MX8M Plus Fast Ethernet C.TOUCH 2.0 board, based on the i.Core MX8M Plus Fast Ethernet SoM.

The support includes device tree descriptions for the SoM and for the C.TOUCH 2.0 carrier board, together with an overlay for the 10.1" LVDS display (C.TOUCH 2.0 10.1" Open Frame).

[...]

Applied, thanks!

[1/5] arm64: dts: imx8mp-icore-mx8mp: enable the watchdog

      commit: f28b6d3dc72d4091bc68e39c195c962b8833f34f
[2/5] dt-bindings: arm: fsl: support Engicam i.Core MX8M Plus FE C.TOUCH 2.0 board
      commit: 859f7c51c7c6092bbb4855550ddff3e95b5b69a3
[3/5] arm64: dts: freescale: support Engicam i.Core MX8M Plus FE SoM
      commit: 06e9ff6252cdf646f61c9e0aa2c0700259aedd2b
[4/5] arm64: dts: freescale: support Engicam i.Core MX8M Plus FE C.TOUCH 2.0 board
      commit: 22af6825efb8c1986860828a2937aa42a0c0ae65
[5/5] arm64: dts: freescale: add Engicam C.TOUCH 2.0 LVDS display overlay
      commit: 65f8b4684f2bb651f3e5168da9b237a31fed25b5

Best regards,

Signature · 1 line
Frank Li <[email protected]>