[PATCH 2/2] arm64: dts: imx8mn: Expand EEPROM description on ifm VHIP4 EvalBoard
Marek Vasut
marex at nabladev.com
Mon Aug 10 14:34:39 PDT 2026
Describe the EEPROM write protect GPIOs and labels on VHIP4 EvalBoard.
Signed-off-by: Marek Vasut <marex at nabladev.com>
---
Cc: Bartosz Golaszewski <brgl at kernel.org>
Cc: Catalin Marinas <catalin.marinas at arm.com>
Cc: Conor Dooley <conor+dt at kernel.org>
Cc: Fabio Estevam <festevam at gmail.com>
Cc: Fedor Ross <fedor.ross at ifm.com>
Cc: Frank Li <Frank.Li at nxp.com>
Cc: Krzysztof Kozlowski <krzk+dt at kernel.org>
Cc: Linus Walleij <linus.walleij at linaro.org>
Cc: Mark Rutland <mark.rutland at arm.com>
Cc: Rob Herring <robh at kernel.org>
Cc: Will Deacon <will at kernel.org>
Cc: devicetree at vger.kernel.org
Cc: imx at lists.linux.dev
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
---
.../imx8mn-vhip4-evalboard-common.dtsi | 3 +-
.../freescale/imx8mn-vhip4-evalboard-v1.dts | 8 ++++++
.../freescale/imx8mn-vhip4-evalboard-v2.dts | 28 ++++++++++++++++---
3 files changed, 34 insertions(+), 5 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-common.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-common.dtsi
index aaf9761703aaf..73b1ed2632a39 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-common.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-common.dtsi
@@ -142,8 +142,9 @@ &i2c1 {
pinctrl-0 = <&pinctrl_i2c1>;
pinctrl-1 = <&pinctrl_i2c1_gpio>;
- eeprom at 51 {
+ cfg_eeprom: eeprom at 51 {
compatible = "atmel,24c128";
+ label = "ifm-deviceinfo";
reg = <0x51>;
};
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v1.dts b/arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v1.dts
index a8f7c226a61f8..98dd241a9d5ce 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v1.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v1.dts
@@ -13,6 +13,11 @@ / {
"ifm,imx8mn-vhip4", "fsl,imx8mn";
};
+&cfg_eeprom {
+ /* Shared with logging EEPROM on v1 hardware */
+ wp-gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>;
+};
+
&ifm_led {
pinctrl-1 = <&pinctrl_gpio_led_v1>;
@@ -90,7 +95,10 @@ temperature-sensor at 48 {
eeprom at 50 {
compatible = "atmel,24c128";
+ label = "ifm-logging";
reg = <0x50>;
+ /* Shared with configuration EEPROM on v1 hardware */
+ wp-gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>;
};
};
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v2.dts b/arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v2.dts
index 43fd4d0041ef3..04fa43b12d2b5 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v2.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mn-vhip4-evalboard-v2.dts
@@ -20,6 +20,12 @@ multi-led {
};
};
+&cfg_eeprom {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_cfgeeprom>;
+ wp-gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>;
+};
+
&ifm_led {
pinctrl-1 = <&pinctrl_gpio_led_v2>;
@@ -87,7 +93,11 @@ temperature-sensor at 48 {
eeprom at 54 {
compatible = "atmel,24c128";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_logeeprom>;
+ label = "ifm-logging";
reg = <0x54>;
+ wp-gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>;
};
};
@@ -103,6 +113,13 @@ &ifm_pmic {
};
&iomuxc {
+ pinctrl_cfgeeprom: cfgeeprom-grp {
+ fsl,pins = <
+ /* CFG_EEPROM_WP */
+ MX8MN_IOMUXC_SD1_STROBE_GPIO2_IO11 0x140
+ >;
+ };
+
pinctrl_ecspi1_cs: ecspi1-cs-grp {
fsl,pins = <
/* KS8794 nCS */
@@ -143,12 +160,8 @@ pinctrl_i2c1_gpio: i2c1-gpio-grp {
fsl,pins = <
MX8MN_IOMUXC_SD1_DATA4_GPIO2_IO6 0x56
MX8MN_IOMUXC_SD1_DATA5_GPIO2_IO7 0xd6
- /* CFG_EEPROM_WP */
- MX8MN_IOMUXC_SD1_STROBE_GPIO2_IO11 0x140
/* RTC_nIRQ */
MX8MN_IOMUXC_SPDIF_EXT_CLK_GPIO5_IO5 0x116
- /* LOG_EE_WP */
- MX8MN_IOMUXC_SPDIF_TX_GPIO5_IO3 0x140
>;
};
@@ -166,6 +179,13 @@ MX8MN_IOMUXC_I2C3_SDA_GPIO5_IO19 0xd6
>;
};
+ pinctrl_logeeprom: logeeprom-grp {
+ fsl,pins = <
+ /* LOG_EE_WP */
+ MX8MN_IOMUXC_SPDIF_TX_GPIO5_IO3 0x140
+ >;
+ };
+
pinctrl_mcp2518: mcp2518-grp {
fsl,pins = <
/* CAN0_CLKO */
--
2.53.0
More information about the linux-arm-kernel
mailing list