Skip to contentSkip to conversation

dt-bindings: vendor-prefixes: Document ifm electronic gmbh

PATCH Superseded Marek Vasut 2 participants 8 messages Dec 29, 2025 – Dec 30, 2025

Subsystems (2)

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/4 dt-bindings: vendor-prefixes: Document ifm electronic gmbh

ifm is a manufacturer of industrial sensors, control technology and automation solutions. Document their vendor prefix, which is already used for ifm,ac14xx and other powerpc devices.

---
Cc: Christian Eggers <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Markus Heidelberg <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
V2: Add AB from Rob

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index b7c6c528e0185..70d99ac01aa34 100644
@@ -755,6 +755,8 @@ patternProperties:
     description: IEI Integration Corp.
   "^ifi,.*":
     description: Ingenieurburo Fur Ic-Technologie (I/F/I)
+  "^ifm,.*":
+    description: ifm electronic gmbh
   "^ilitek,.*":
     description: ILI Technology Corporation (ILITEK)
   "^imagis,.*":
Signature · 1 line
2.51.0
#1 lore raw

PATCH v2 2/4 dt-bindings: arm: fsl: Document ifm VHIP4 EvalBoard v1 and v2

Document ifm i.MX8MN VHIP4 EvalBoard v1 and v2 reference design binding. This system exists in two generations, v1 and v2, which share a lot of commonality. The boards come with either single gigabit ethernet or an KSZ8794 fast-ethernet switch, boot from eMMC, and offer CAN interfaces via Microchip MCP25xx SPI CAN controllers, UART, and USB host. The GPU is not available in the SoC populated on these devices.

---
Cc: Christian Eggers <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Markus Heidelberg <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
V2: Add AB from Rob

---
 Documentation/devicetree/bindings/arm/fsl.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +9 -0
index 68a2d5fecc43b..4d0aee780bcb2 100644
@@ -1071,6 +1071,15 @@ properties:
               - gw,imx8mn-gw7902          # i.MX8MM Gateworks Board
           - const: fsl,imx8mn
 
+      - description: ifm i.MX8MN VHIP4 based boards
+        items:
+          - enum:
+              - ifm,imx8mn-vhip4-evalboard-v1
+              - ifm,imx8mn-vhip4-evalboard-v2
+          - const: ifm,imx8mn-vhip4-evalboard
+          - const: ifm,imx8mn-vhip4
+          - const: fsl,imx8mn
+
       - description: Variscite VAR-SOM-MX8MN based boards
         items:
           - enum:
Signature · 1 line
2.51.0
#2 lore raw

PATCH v2 3/4 arm64: dts: imx8mn: Add SNVS LPGPR

In reply to Marek Vasut

Add SNVS LPGPR bindings to MX8M Nano, the LPGPR is used to store boot counter.

---
Cc: Christian Eggers <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Markus Heidelberg <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
V2: New patch

---
 arch/arm64/boot/dts/freescale/imx8mn.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/freescale/imx8mn.dtsi +5 -0
index b98b3d0ddf25a..3199bc0966b03 100644
@@ -628,6 +628,11 @@ snvs_pwrkey: snvs-powerkey {
 					wakeup-source;
 					status = "disabled";
 				};
+
+				snvs_lpgpr: snvs-lpgpr {
+					compatible = "fsl,imx8mn-snvs-lpgpr",
+						     "fsl,imx7d-snvs-lpgpr";
+				};
 			};
 
 			clk: clock-controller@30380000 {
Signature · 1 line
2.51.0
#3 lore raw

PATCH v2 4/4 arm64: dts: imx8mn: Add ifm VHIP4 EvalBoard v1 and v2

In reply to Marek Vasut

From: Fedor Ross <[email protected]>

Add support for ifm i.MX8MN VHIP4 EvalBoard v1 and v2 reference design. This system exists in two generations, v1 and v2, which share a lot of commonality. The boards come with either single gigabit ethernet or an KSZ8794 fast-ethernet switch, boot from eMMC, and offer CAN interfaces via Microchip MCP25xx SPI CAN controllers, UART, and USB host. The GPU is not available in the SoC populated on these devices.

---
Cc: Christian Eggers <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Markus Heidelberg <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
V2: - Drop snvs-lpgpr node in favor of separate patch to imx8mn.dtsi
- Sort properties and update newlines according to V1 feedback

---
 arch/arm64/boot/dts/freescale/Makefile        |  19 +
 .../imx8mn-vhip4-evalboard-common.dtsi        | 398 ++++++++++++++++++
 ...imx8mn-vhip4-evalboard-ksz8794-common.dtsi |  99 +++++
 ...mn-vhip4-evalboard-v1-overlay-ksz8794.dtso |  24 ++
 ...mn-vhip4-evalboard-v1-overlay-ksz9031.dtso |  49 +++
 .../freescale/imx8mn-vhip4-evalboard-v1.dts   | 260 ++++++++++++
 ...n-vhip4-evalboard-v2-overlay-adin1300.dtso |  61 +++
 ...mn-vhip4-evalboard-v2-overlay-ksz8794.dtso |  24 ++
 .../freescale/imx8mn-vhip4-evalboard-v2.dts   | 221 ++++++++++
 9 files changed, 1155 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-common.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-ksz8794-common.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v1-overlay-ksz8794.dtso
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v1-overlay-ksz9031.dtso
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v1.dts
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v2-overlay-adin1300.dtso
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v2-overlay-ksz8794.dtso
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v2.dts
arch/arm64/boot/dts/freescale/Makefile +19 -0
index f30d3fd724d0c..01b2ec5ad81ff 100644
@@ -191,6 +191,25 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mn-tqma8mqnl-mba8mx.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mn-var-som-symphony.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mn-venice-gw7902.dtb
 
+imx8mn-vhip4-evalboard-v1-overlay-ksz8794-dtbs := imx8mn-vhip4-evalboard-v1.dtb \
+						  imx8mn-vhip4-evalboard-v1-overlay-ksz8794.dtbo
+imx8mn-vhip4-evalboard-v1-overlay-ksz9031-dtbs := imx8mn-vhip4-evalboard-v1.dtb \
+						  imx8mn-vhip4-evalboard-v1-overlay-ksz9031.dtbo
+imx8mn-vhip4-evalboard-v2-overlay-ksz8794-dtbs := imx8mn-vhip4-evalboard-v2.dtb \
+						  imx8mn-vhip4-evalboard-v2-overlay-ksz8794.dtbo
+imx8mn-vhip4-evalboard-v2-overlay-adin1300-dtbs := imx8mn-vhip4-evalboard-v2.dtb \
+						   imx8mn-vhip4-evalboard-v2-overlay-adin1300.dtbo
+dtb-$(CONFIG_ARCH_MXC) += imx8mn-vhip4-evalboard-v1.dtb \
+			  imx8mn-vhip4-evalboard-v1-overlay-ksz8794.dtb \
+			  imx8mn-vhip4-evalboard-v1-overlay-ksz8794.dtbo \
+			  imx8mn-vhip4-evalboard-v1-overlay-ksz9031.dtb \
+			  imx8mn-vhip4-evalboard-v1-overlay-ksz9031.dtbo \
+			  imx8mn-vhip4-evalboard-v2.dtb \
+			  imx8mn-vhip4-evalboard-v2-overlay-adin1300.dtb \
+			  imx8mn-vhip4-evalboard-v2-overlay-adin1300.dtbo \
+			  imx8mn-vhip4-evalboard-v2-overlay-ksz8794.dtb \
+			  imx8mn-vhip4-evalboard-v2-overlay-ksz8794.dtbo
+
 imx8mn-tqma8mqnl-mba8mx-lvds-tm070jvhg33-dtbs += imx8mn-tqma8mqnl-mba8mx.dtb imx8mn-tqma8mqnl-mba8mx-lvds-tm070jvhg33.dtbo
 imx8mn-tqma8mqnl-mba8mx-usbotg-dtbs += imx8mn-tqma8mqnl-mba8mx.dtb imx8mn-tqma8mqnl-mba8mx-usbotg.dtbo
 dtb-$(CONFIG_ARCH_MXC) += imx8mn-tqma8mqnl-mba8mx-lvds-tm070jvhg33.dtb
arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-common.dtsi new file +398 -0

398 lines not on this page · raw message

arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-ksz8794-common.dtsi new file +99 -0

99 lines not on this page · raw message

arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v1-overlay-ksz8794.dtso new file +24 -0
new file mode 100644
index 0000000000000..20eb427f3dd66
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (C) 2021 Marek Vasut
+ */
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/gpio/gpio.h>
+
+#include "imx8mn-pinfunc.h"
+
+&pinctrl_ecspi1 {
+	fsl,pins = <
+		MX8MN_IOMUXC_ECSPI1_SCLK_ECSPI1_SCLK		0x10
+		MX8MN_IOMUXC_ECSPI1_MOSI_ECSPI1_MOSI		0x10
+		MX8MN_IOMUXC_ECSPI1_MISO_ECSPI1_MISO		0x90
+		/* KS8794 nCS */
+		MX8MN_IOMUXC_I2C4_SDA_GPIO5_IO21		0x150
+		/* ANV32C81 nCS */
+		MX8MN_IOMUXC_ECSPI1_SS0_GPIO5_IO9		0x150
+	>;
+};
+
+#include "imx8mn-vhip4-evalboard-ksz8794-common.dtsi"
arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v1-overlay-ksz9031.dtso new file +49 -0

49 lines not on this page · raw message

arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v1.dts new file +260 -0

260 lines not on this page · raw message

arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v2-overlay-adin1300.dtso new file +61 -0

61 lines not on this page · raw message

arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v2-overlay-ksz8794.dtso new file +24 -0
new file mode 100644
index 0000000000000..ab1304ebd965e
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (C) 2021 Marek Vasut
+ */
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/gpio/gpio.h>
+
+#include "imx8mn-pinfunc.h"
+
+&pinctrl_ecspi1 {
+	fsl,pins = <
+		MX8MN_IOMUXC_ECSPI1_SCLK_ECSPI1_SCLK		0x10
+		MX8MN_IOMUXC_ECSPI1_MOSI_ECSPI1_MOSI		0x10
+		MX8MN_IOMUXC_ECSPI1_MISO_ECSPI1_MISO		0x90
+		/* KS8794 nCS */
+		MX8MN_IOMUXC_GPIO1_IO11_GPIO1_IO11		0x150
+		/* ANV32C81 nCS */
+		MX8MN_IOMUXC_ECSPI1_SS0_GPIO5_IO9		0x150
+	>;
+};
+
+#include "imx8mn-vhip4-evalboard-ksz8794-common.dtsi"
arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v2.dts new file +221 -0

221 lines not on this page · raw message

Signature · 1 line
2.51.0
#4 lore raw

Re: [PATCH v2 4/4] arm64: dts: imx8mn: Add ifm VHIP4 EvalBoard v1 and v2

Review

Quoted 2 lines

+&fec1 {

(quoted diff) +1 -0
+	fsl,magic-packet;

Upps, i probably cut out too much context. This FEC is connected to the Ethernet switch.

WoL for a port connected to a switch? Have you tested this? Normally you would have WoL on each port of the switch, and not on the conduit interface.

Review

Quoted 2 lines

+&fec1 {

(quoted diff) +1 -0
+	fsl,magic-packet;

Have you tested WoL?

Review

Quoted 2 lines

+&fec1 {

(quoted diff) +1 -0
+	fsl,magic-packet;

WoL again?

Andrew

#5 lore raw

Re: [PATCH v2 4/4] arm64: dts: imx8mn: Add ifm VHIP4 EvalBoard v1 and v2

Quoted 14 lines · Andrew Lunn

Review

Quoted 2 lines

+&fec1 {

(quoted diff) +1 -0
+	fsl,magic-packet;

Upps, i probably cut out too much context. This FEC is connected to the Ethernet switch.

WoL for a port connected to a switch? Have you tested this? Normally you would have WoL on each port of the switch, and not on the conduit interface.

Review

Quoted 2 lines

+&fec1 {

(quoted diff) +1 -0
+	fsl,magic-packet;

Have you tested WoL?

Quoted 4 lines

Review

Quoted 2 lines

+&fec1 {

(quoted diff) +1 -0
+	fsl,magic-packet;

WoL again?

I don't think WOL is used on this device at all. Would you suggest removing the fsl,magic-packet properties ?

#6 lore raw

Re: [PATCH v2 4/4] arm64: dts: imx8mn: Add ifm VHIP4 EvalBoard v1 and v2

Quoted 15 lines · Marek Vasut
Quoted 14 lines · Andrew Lunn

Review

Quoted 2 lines

+&fec1 {

(quoted diff) +1 -0
+	fsl,magic-packet;

Upps, i probably cut out too much context. This FEC is connected to the Ethernet switch.

WoL for a port connected to a switch? Have you tested this? Normally you would have WoL on each port of the switch, and not on the conduit interface.

Review

Quoted 2 lines

+&fec1 {

(quoted diff) +1 -0
+	fsl,magic-packet;

Have you tested WoL?

Quoted 6 lines
Quoted 4 lines

Review

Quoted 2 lines

+&fec1 {

(quoted diff) +1 -0
+	fsl,magic-packet;

WoL again?

I don't think WOL is used on this device at all. Would you suggest removing the fsl,magic-packet properties ?

Yes.

Andrew

#7 lore raw

Re: [PATCH v2 4/4] arm64: dts: imx8mn: Add ifm VHIP4 EvalBoard v1 and v2

Quoted 16 lines · Andrew Lunn
Quoted 15 lines · Marek Vasut
Quoted 14 lines · Andrew Lunn

Review

Quoted 2 lines

+&fec1 {

(quoted diff) +1 -0
+	fsl,magic-packet;

Upps, i probably cut out too much context. This FEC is connected to the Ethernet switch.

WoL for a port connected to a switch? Have you tested this? Normally you would have WoL on each port of the switch, and not on the conduit interface.

Review

Quoted 2 lines

+&fec1 {

(quoted diff) +1 -0
+	fsl,magic-packet;

Have you tested WoL?

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

Review

Quoted 2 lines

+&fec1 {

(quoted diff) +1 -0
+	fsl,magic-packet;

WoL again?

I don't think WOL is used on this device at all. Would you suggest removing the fsl,magic-packet properties ?

Yes.

Fixed in V3, thanks.