ARM: dts: vf: Iris carrier board for the Colibri VF50 and VF61
v4 cover ARM: dts: vf: Iris carrier board for the Colibri VF50 and VF61
From: Mehmet Fide <[email protected]>
This adds a device tree for the Toradex Iris carrier board carrying the Vybrid Colibri modules, plus two small preparatory patches for the module-level dtsi that the i.MX Colibri variants already had.
Everything was tested on a Colibri VF50 on an Iris V1.1 running 6.18.
Changes in v4:
- gpio-line-names packed four per line (Frank Li)
- keep the EXT_IO pin group applied next to the carrier hog group instead of overwriting pinctrl-0 in the Iris dtsi, verified in pinmux-pins on hardware (Sashiko review)
- enable pwm0/pwm1 like the evaluation board does, so the dts matches the commit message; both chips register on hardware (Sashiko review)
- the compatibles keep their hyphens; Krzysztof asked for hyphens in every newly introduced compatible in the v2 review
Changes in v3, following Krzysztof's review:
- fold the Iris compatibles into the existing -on-eval enum entries
- use hyphens in the newly introduced compatibles
- drop the fixed 5V regulator that only fed the VBUS regulator
- sent as a fresh thread instead of in reply to v2
Changes in v2:
- add the dt-bindings patch for the new compatibles
- describe the USB host VBUS regulator instead of hogging USBH_PEN
Mehmet Fide (4):
ARM: dts: vf-colibri: apply the EXT_IO pin group
ARM: dts: vf-colibri: name the SODIMM gpio lines
dt-bindings: arm: fsl: add the Colibri VF50 and VF61 on Iris
ARM: dts: vf: add Iris carrier board support for Colibri VF50 and VF61
.../devicetree/bindings/arm/fsl.yaml | 12 +- arch/arm/boot/dts/nxp/vf/Makefile | 2 + arch/arm/boot/dts/nxp/vf/vf-colibri-iris.dtsi | 126 ++++++++++++++++++ arch/arm/boot/dts/nxp/vf/vf-colibri.dtsi | 56 ++++++++ .../boot/dts/nxp/vf/vf500-colibri-iris.dts | 14 ++ .../boot/dts/nxp/vf/vf610-colibri-iris.dts | 14 ++ 6 files changed, 220 insertions(+), 4 deletions(-) create mode 100644 arch/arm/boot/dts/nxp/vf/vf-colibri-iris.dtsi create mode 100644 arch/arm/boot/dts/nxp/vf/vf500-colibri-iris.dts create mode 100644 arch/arm/boot/dts/nxp/vf/vf610-colibri-iris.dts
base-commit: 3d6d817622b0a9721e3cc404df3469171582be13
Signature · 1 line
2.54.0
PATCH v4 1/4 ARM: dts: vf-colibri: apply the EXT_IO pin group
From: Mehmet Fide <[email protected]>
pinctrl_gpio_ext describes the three Colibri EXT_IO pins, but no node references it, so the pin controller never applies it and the pads keep whatever mux and bias they came up with. It is the only pin group in the Vybrid Colibri device trees that is defined and never used.
The three pins are GPIOs on gpio2 and belong to no device, so hog the group on that controller. Referencing it from &iomuxc would work too, but the pin controller would then depend on one of its own children, which fw_devlink reports as a dependency cycle.
--- arch/arm/boot/dts/nxp/vf/vf-colibri.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/arm/boot/dts/nxp/vf/vf-colibri.dtsi +9 -0
@@ -170,6 +170,15 @@ &usbphy1 { status = "okay"; }; +&gpio2 { + /* + * EXT_IO_0..2 belong to no device, so hog the pin group here rather + * than on the pin controller, which would depend on its own child. + */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_ext>; +}; + &iomuxc { pinctrl_flexcan0: can0grp { fsl,pins = <
Signature · 1 line
2.54.0
PATCH v4 2/4 ARM: dts: vf-colibri: name the SODIMM gpio lines
In reply to Mehmet FideFrom: Mehmet Fide <[email protected]>
The Colibri modules expose most of their GPIOs on numbered SODIMM pins, and the i.MX ones already carry those numbers as gpio-line-names, so the gpiod tools print SODIMM_43 rather than a bank and an offset. Do the same for the Vybrid modules.
The 99 names come from the pinout table of the Colibri VFxx datasheet (Toradex 101355). Verified on a Colibri VF50, where gpioinfo now names every pin the datasheet lists.
--- arch/arm/boot/dts/nxp/vf/vf-colibri.dtsi | 47 ++++++++++++++++++++++++ 1 file changed, 47 insertions(+)
arch/arm/boot/dts/nxp/vf/vf-colibri.dtsi +47 -0
@@ -170,6 +170,44 @@ &usbphy1 { status = "okay"; }; +&gpio0 { + gpio-line-names = "", "", "SODIMM_89", "", + "", "SODIMM_102", "SODIMM_18", "SODIMM_134", + "SODIMM_16", "SODIMM_14", "SODIMM_23", "", + "", "", "SODIMM_47", "SODIMM_190", + "SODIMM_192", "SODIMM_49", "SODIMM_51", "SODIMM_53", + "SODIMM_37", "SODIMM_29", "", "SODIMM_30", + "SODIMM_20", "SODIMM_24", "SODIMM_21", "SODIMM_19", + "SODIMM_94", "SODIMM_81", "SODIMM_28"; +}; + +&gpio1 { + gpio-line-names = "SODIMM_35", "SODIMM_33", "SODIMM_27", "SODIMM_25", + "SODIMM_196", "SODIMM_194", "SODIMM_63", "SODIMM_55", + "SODIMM_65", "SODIMM_45", "SODIMM_43", "SODIMM_73", + "SODIMM_77", "SODIMM_71", "SODIMM_98", "SODIMM_101", + "SODIMM_103", "SODIMM_79", "SODIMM_97", "", + "", "SODIMM_85", "", "", + "", "", "", "", + "", "", "", "SODIMM_106"; +}; + +&gpio3 { + gpio-line-names = "SODIMM_105", "", "SODIMM_93", "", + "", "", "", "SODIMM_95", + "SODIMM_22", "SODIMM_68", "SODIMM_82", "SODIMM_56", + "SODIMM_131", "SODIMM_44", "SODIMM_144", "SODIMM_146", + "SODIMM_52", "SODIMM_54", "SODIMM_66", "SODIMM_64", + "SODIMM_57", "SODIMM_61", "SODIMM_140", "SODIMM_142", + "SODIMM_80", "SODIMM_46", "SODIMM_62", "SODIMM_48", + "SODIMM_74", "SODIMM_50", "SODIMM_136", "SODIMM_138"; +}; + +&gpio4 { + gpio-line-names = "SODIMM_76", "SODIMM_70", "SODIMM_60", "SODIMM_58", + "SODIMM_78", "SODIMM_72", "SODIMM_96"; +}; + &gpio2 { /* * EXT_IO_0..2 belong to no device, so hog the pin group here rather
@@ -177,6 +215,15 @@ &gpio2 { */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_ext>; + + gpio-line-names = "SODIMM_69", "SODIMM_99", "SODIMM_104", "SODIMM_107", + "SODIMM_127", "SODIMM_184", "SODIMM_186", "", + "", "", "", "", + "", "", "", "SODIMM_38", + "SODIMM_36", "SODIMM_34", "SODIMM_32", "SODIMM_129", + "SODIMM_86", "SODIMM_90", "SODIMM_92", "SODIMM_88", + "SODIMM_133", "SODIMM_135", "SODIMM_188", "SODIMM_75", + "SODIMM_100"; }; &iomuxc {
Signature · 1 line
2.54.0
PATCH v4 3/4 dt-bindings: arm: fsl: add the Colibri VF50 and VF61 on Iris
In reply to Mehmet FideFrom: Mehmet Fide <[email protected]>
The Iris is a small off-the-shelf carrier board for the Colibri family. Extend the evaluation board entries with the compatibles for a Colibri VF50 or VF61 sitting on it.
--- Documentation/devicetree/bindings/arm/fsl.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/arm/fsl.yaml +8 -4
@@ -1705,9 +1705,11 @@ properties: - fsl,vf610 - fsl,vf610m4 - - description: Toradex Colibri VF50 Module on Colibri Evaluation Board + - description: Toradex Colibri VF50 Module on a carrier board items: - - const: toradex,vf500-colibri_vf50-on-eval + - enum: + - toradex,vf500-colibri_vf50-on-eval + - toradex,vf500-colibri-vf50-on-iris - const: toradex,vf500-colibri_vf50 - const: fsl,vf500
@@ -1719,9 +1721,11 @@ properties: - phytec,vf610-cosmic # PHYTEC Cosmic/Cosmic+ Board - const: fsl,vf610 - - description: Toradex Colibri VF61 Module on Colibri Evaluation Board + - description: Toradex Colibri VF61 Module on a carrier board items: - - const: toradex,vf610-colibri_vf61-on-eval + - enum: + - toradex,vf610-colibri_vf61-on-eval + - toradex,vf610-colibri-vf61-on-iris - const: toradex,vf610-colibri_vf61 - const: fsl,vf610
Signature · 1 line
2.54.0
Re: [PATCH v4 3/4] dt-bindings: arm: fsl: add the Colibri VF50 and VF61 on Iris
Quoted 10 lines · Mehmet Fide
From: Mehmet Fide <[email protected]>
The Iris is a small off-the-shelf carrier board for the Colibri family. Extend the evaluation board entries with the compatibles for a Colibri VF50 or VF61 sitting on it.
Signed-off-by Mehmet Fide <[email protected]>--- Documentation/devicetree/bindings/arm/fsl.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
<form letter>
This is an automated instruction, just in case, because many review tags are being ignored. If you know the process, just skip it entirely (please do not feel offended by me posting it here - no bad intentions intended, no patronizing, I just want to avoid wasted efforts). If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions of patchset, under or above your Signed-off-by tag, unless patch changed significantly (e.g. new properties added to the DT bindings). Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here ('b4 trailers -u ...'). However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.
https://elixir.bootlin.com/linux/v6.15/source/Documentation/process/submitting-patches.rst#L591
</form letter>
Best regards,
Krzysztof
PATCH v4 4/4 ARM: dts: vf: add Iris carrier board support for Colibri VF50 and VF61
In reply to Mehmet FideFrom: Mehmet Fide <[email protected]>
The Iris is a small off-the-shelf carrier board for the Colibri family. Describe what the board itself provides: Ethernet, one USB host and one OTG port, the pin header UARTs, i2c with the carrier RTC on it, the PWM pins on the X16 header, SPI and the microSD slot. The host port gets its VBUS through a regulator on SODIMM 129, and the two GPIOs that turn the RS232 transceivers on, SODIMM 102 and 104, are hogged. The touchscreen is an add-on rather than part of the board, so it is left out.
This describes an Iris V1.1. A V2.0 carries the same signals on the same pins; what it adds, and what this does not describe, is the regulator on SODIMM 100 that can cut power to the uSD slot.
Tested on a Colibri VF50 on an Iris V1.1 running 6.18: Ethernet at 100Mbps/Full, a USB dongle enumerating once the VBUS regulator is in place, the RTC read back over i2c0, all three UARTs, the SPI controller registering, both PWM chips registering, the microSD slot, the EXT_IO pin group still applied next to the carrier hog group, and both hogs holding their pins.
--- arch/arm/boot/dts/nxp/vf/Makefile | 2 + arch/arm/boot/dts/nxp/vf/vf-colibri-iris.dtsi | 126 ++++++++++++++++++ .../boot/dts/nxp/vf/vf500-colibri-iris.dts | 14 ++ .../boot/dts/nxp/vf/vf610-colibri-iris.dts | 14 ++ 4 files changed, 156 insertions(+) create mode 100644 arch/arm/boot/dts/nxp/vf/vf-colibri-iris.dtsi create mode 100644 arch/arm/boot/dts/nxp/vf/vf500-colibri-iris.dts create mode 100644 arch/arm/boot/dts/nxp/vf/vf610-colibri-iris.dts
arch/arm/boot/dts/nxp/vf/Makefile +2 -0
@@ -1,8 +1,10 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_SOC_VF610) += \ vf500-colibri-eval-v3.dtb \ + vf500-colibri-iris.dtb \ vf610-bk4.dtb \ vf610-colibri-eval-v3.dtb \ + vf610-colibri-iris.dtb \ vf610m4-colibri.dtb \ vf610-cosmic.dtb \ vf610m4-cosmic.dtb \
arch/arm/boot/dts/nxp/vf/vf-colibri-iris.dtsi new file +126 -0
126 lines not on this page · raw message
arch/arm/boot/dts/nxp/vf/vf500-colibri-iris.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2026 Mehmet Fide + */ + +/dts-v1/; +#include "vf500-colibri.dtsi" +#include "vf-colibri-iris.dtsi" + +/ { + model = "Toradex Colibri VF50 on Iris Carrier Board"; + compatible = "toradex,vf500-colibri-vf50-on-iris", "toradex,vf500-colibri_vf50", + "fsl,vf500"; +};
arch/arm/boot/dts/nxp/vf/vf610-colibri-iris.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2026 Mehmet Fide + */ + +/dts-v1/; +#include "vf610-colibri.dtsi" +#include "vf-colibri-iris.dtsi" + +/ { + model = "Toradex Colibri VF61 on Iris Carrier Board"; + compatible = "toradex,vf610-colibri-vf61-on-iris", "toradex,vf610-colibri_vf61", + "fsl,vf610"; +};
Signature · 1 line
2.54.0
Re: [PATCH v4 4/4] ARM: dts: vf: add Iris carrier board support for Colibri VF50 and VF61
Quoted 11 lines · Mehmet Fide
From: Mehmet Fide <[email protected]>
The Iris is a small off-the-shelf carrier board for the Colibri family. Describe what the board itself provides: Ethernet, one USB host and one OTG port, the pin header UARTs, i2c with the carrier RTC on it, the PWM pins on the X16 header, SPI and the microSD slot. The host port gets its VBUS through a regulator on SODIMM 129, and the two GPIOs that turn the RS232 transceivers on, SODIMM 102 and 104, are hogged. The touchscreen is an add-on rather than part of the board, so it is left out.
Quoted 5 lines
This describes an Iris V1.1. A V2.0 carries the same signals on the same pins; what it adds, and what this does not describe, is the regulator on SODIMM 100 that can cut power to the uSD slot.
Tested on a Colibri VF50 on an Iris V1.1 running 6.18: Ethernet at
Since you booted now on v7.2, drop the version description.
Quoted 6 lines
100Mbps/Full, a USB dongle enumerating once the VBUS regulator is in place, the RTC read back over i2c0, all three UARTs, the SPI controller registering, both PWM chips registering, the microSD slot, the
EXT_IOpin group still applied next to the carrier hog group, and both hogs holding their pins.
Quoted 6 lines
Signed-off-by Mehmet Fide <[email protected]>--- arch/arm/boot/dts/nxp/vf/Makefile | 2 + arch/arm/boot/dts/nxp/vf/vf-colibri-iris.dtsi | 126 ++++++++++++++++++ .../boot/dts/nxp/vf/vf500-colibri-iris.dts | 14 ++ .../boot/dts/nxp/vf/vf610-colibri-iris.dts | 14 ++
Good old ScreeningEagle/Proceq times, had a lot of fun with this tiny tiny board and module.
Best regards,
Krzysztof
Fabio Estevam
reviewerHi Mehmet,
Quoted 8 lines · Mehmet Fide
From: Mehmet Fide <[email protected]>
This adds a device tree for the Toradex Iris carrier board carrying the Vybrid Colibri modules, plus two small preparatory patches for the module-level dtsi that the i.MX Colibri variants already had.
Everything was tested on a Colibri VF50 on an Iris V1.1 running 6.18.
What about the latest mainline kernel, 7.2-rc7?
From: Mehmet Fide <[email protected]>
Hi Fabio,
Quoted 1 line
What about the latest mainline kernel, 7.2-rc7?
The series is based on it, the base-commit in the cover letter (3d6d817622b0) is 7.2-rc7; the 6.18 mentioned there is the LTS our reference image runs.
To make sure, I have now also boot tested exactly this combination on the hardware: 7.2-rc7 (multi_v7_defconfig) plus this series on the Colibri VF50 on an Iris boots to login, with Ethernet up, both PWM chips registering, the microSD slot, all three UARTs, the carrier RTC probing, the SODIMM gpio names in place, the EXT_IO pin group applied and both transceiver hogs holding their pins.
One thing unrelated to this series showed up on the way: gpio-vf610 has no get_direction callback, and the gpiolib in 7.2-rc7 now WARNs on every gpiod_get_direction() call because of that, so the boot log carries a number of identical gpiolib.c:431 backtraces on any Vybrid board. I will send a small gpio-vf610 patch for it separately.
Thanks,
Mehmet
From: Mehmet Fide <[email protected]>
A correction on the gpiolib warning I mentioned: it is not a gpio-vf610 matter after all, so no driver patch from me.
Half of it is already fixed: d761c7e38a00 ("gpiolib: Check gc->get_direction() before calling gpiod_get_direction()") in the GPIO tree covers the debugfs dump path. The remaining backtrace comes through the i2c generic GPIO bus recovery, which calls gpiod_get_direction() on any controller without .get_direction(), and for that I have sent a gpiolib patch:
https://lore.kernel.org/all/[email protected]/
With both in place, 7.2-rc7 plus this series boots the Colibri VF50 on the Iris with a clean log.
Thanks,
Mehmet