arm64: dts: imx95: Add ADLINK LEC-iMX95 support
Subsystems (2)
v3 cover arm64: dts: imx95: Add ADLINK LEC-iMX95 support
Add device tree support for the ADLINK LEC-iMX95 SMARC module with the I-Pi SMARC Plus carrier board.
The series adds the ADLINK vendor prefix, introduces the LEC-iMX95 board compatible, and adds the module and carrier device trees.
The module-level components and pin configuration are described in a common module DTSI, while the carrier-specific interfaces are enabled in the carrier DTS.
PHY interrupt properties are not included in this revision. PHY interrupt operation currently depends on U-Boot initializing the NETC power domain and leaving the PHY interrupt GPIOs pulled high at handoff. Mainline U-Boot does not yet perform this initialization, so the PHYs remain in polling mode, matching the approach used by the upstream NXP i.MX95 EVK device tree.
Changes in v3:
- Add the ADLINK vendor prefix and place the board compatible in the appropriate location.
- Move module-level devices and pinctrl configuration into the common module DTSI.
- Keep carrier-specific interface configuration in the carrier DTS.
- Consolidate the USB3 DWC3 reference.
- Correct USDHC pinctrl configurations and high-speed pad settings.
- Add PHY reset GPIOs.
- Add WDOG3 and RTC aliases.
- Move carrier-specific chosen and USB configuration to the carrier DTS.
- Correct the carrier GPIO expander interrupt configuration.
- Retain PHY polling mode until the required NETC/PHY interrupt initialization is available in mainline U-Boot.
Dinesh kumar v (3):
dt-bindings: vendor-prefixes: Add ADLINK
dt-bindings: arm: fsl: Add ADLINK LEC-iMX95
arm64: dts: imx95: Add ADLINK LEC-iMX95 board support
.../devicetree/bindings/arm/fsl.yaml | 6 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/imx95-lec-ipi-smarc.dts | 147 ++++ arch/arm64/boot/dts/freescale/imx95-lec.dtsi | 631 ++++++++++++++++++ 5 files changed, 787 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx95-lec-ipi-smarc.dts create mode 100644 arch/arm64/boot/dts/freescale/imx95-lec.dtsi
base-commit: 7f47e8eafbf55a2ad0697e5d28f5e6cff2fa42f9
Signature · 1 line
2.25.1
PATCH v3 1/3 dt-bindings: vendor-prefixes: Add ADLINK
Add the ADLINK Technology vendor prefix for device tree compatible strings.
--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -70,6 +70,8 @@ patternProperties: description: ADI Engineering, Inc. "^admatec,.*": description: admatec GmbH + "^adlink,.*": + description: ADLINK Technology Inc. "^advantech,.*": description: Advantech Corporation "^aeroflexgaisler,.*":
Signature · 1 line
2.25.1
PATCH v3 2/3 dt-bindings: arm: fsl: Add ADLINK LEC-iMX95
In reply to Dinesh kumar vDocument the ADLINK LEC-iMX95 board compatibles.
--- Documentation/devicetree/bindings/arm/fsl.yaml | 6 ++++++ 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +6 -0
@@ -1577,6 +1577,12 @@ properties: - fsl,imx952-frdm # i.MX952 FRDM Board - const: fsl,imx952 + - description: ADLINK LEC-iMX95 based Boards + items: + - const: adlink,lec-imx95-ipi-smarc + - const: adlink,lec-imx95 + - const: fsl,imx95 + - description: PHYTEC i.MX 95 FPSC based Boards items: - enum:
Signature · 1 line
2.25.1
PATCH v3 3/3 arm64: dts: imx95: Add ADLINK LEC-iMX95 board support
In reply to Dinesh kumar vAdd device tree support for the ADLINK LEC-iMX95 module with the I-Pi SMARC Plus carrier board.
--- arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/imx95-lec-ipi-smarc.dts | 147 ++++ arch/arm64/boot/dts/freescale/imx95-lec.dtsi | 631 ++++++++++++++++++ 3 files changed, 779 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx95-lec-ipi-smarc.dts create mode 100644 arch/arm64/boot/dts/freescale/imx95-lec.dtsi
arch/arm64/boot/dts/freescale/Makefile +1 -0
@@ -965,6 +965,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx95-19x19-evk-sof.dtb dtb-$(CONFIG_ARCH_MXC) += imx95-19x19-frdm-pro.dtb dtb-$(CONFIG_ARCH_MXC) += imx95-aquila-clover.dtb dtb-$(CONFIG_ARCH_MXC) += imx95-aquila-dev.dtb +dtb-$(CONFIG_ARCH_MXC) += imx95-lec-ipi-smarc.dtb dtb-$(CONFIG_ARCH_MXC) += imx95-navq.dtb dtb-$(CONFIG_ARCH_MXC) += imx95-toradex-osm-dev.dtb dtb-$(CONFIG_ARCH_MXC) += imx95-toradex-smarc-dev.dtb
arch/arm64/boot/dts/freescale/imx95-lec-ipi-smarc.dts new file +147 -0
147 lines not on this page · raw message
arch/arm64/boot/dts/freescale/imx95-lec.dtsi new file +631 -0
631 lines not on this page · raw message
Signature · 1 line
2.25.1
[email protected]
AI reviewRe: [PATCH v3 1/3] dt-bindings: vendor-prefixes: Add ADLINK
In reply to Dinesh kumar vThank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] dt-bindings: vendor-prefixes: adlink entry inserted out of alphabetical order --
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Low] dt-bindings: vendor-prefixes: adlink entry inserted out of alphabetical order
--
commit 2f4d78076b6d244278338cd9e5998e364b7f32b1
Author: Dinesh kumar v <[email protected]>
dt-bindings: vendor-prefixes: Add ADLINK
This commit adds the ADLINK Technology vendor prefix ("^adlink,.*") to vendor-prefixes.yaml.
Documentation/devicetree/bindings/vendor-prefixes.yaml patternProperties: · line 74
Quoted 10 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +2
-0@@ -70,6 +70,8 @@ patternProperties: description: ADI Engineering, Inc. "^admatec,.*": description: admatec GmbH + "^adlink,.*": + description: ADLINK Technology Inc.
[Severity: Low]
Should "^adlink,.*" be placed before "^admatec,.*" to keep patternProperties in alphabetical order?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
[email protected]
AI reviewRe: [PATCH v3 3/3] arm64: dts: imx95: Add ADLINK LEC-iMX95 board support
In reply to Dinesh kumar vThank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] arm64: dts: imx95-lec: non-standard and inverted usb0 and usb1 aliases --
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Low] arm64: dts: imx95-lec: non-standard and inverted usb0 and usb1 aliases
--
commit 30ac215ca7d5d81b59baad65006b81ae04ed8102
Author: Dinesh kumar v <[email protected]>
arm64: dts: imx95: Add ADLINK LEC-iMX95 board support
This commit adds devicetree support for the ADLINK LEC-iMX95 module and the I-Pi SMARC Plus carrier board.
Quoted 6 lines
arch/arm64/boot/dts/freescale/imx95-lec.dtsi new file +0
-0@@ -0,0 +1,631 @@
[ ... ]
Quoted 14 lines
arch/arm64/boot/dts/freescale/imx95-lec.dtsi new file +14
-0+/ { + aliases { + ethernet0 = &enetc_port0; + ethernet1 = &enetc_port1; + gpio0 = &gpio1; + gpio1 = &gpio2; + gpio2 = &gpio3; + gpio3 = &gpio4; + gpio4 = &gpio5; + i2c1 = &lpi2c2; + i2c2 = &lpi2c3; + i2c7 = &lpi2c8; + mmc0 = &usdhc1; + mmc1 = &usdhc2;
arch/arm64/boot/dts/freescale/imx95-lec.dtsi line 33
Quoted 10 lines
arch/arm64/boot/dts/freescale/imx95-lec.dtsi new file +10
-0+ rtc0 = &rtc_i2c; + rtc1 = &scmi_bbm; + serial0 = &lpuart1; + serial1 = &lpuart2; + serial2 = &lpuart5; + serial3 = &lpuart7; + spi0 = &lpspi6; + usb0 = &usb3_dwc3; + usb1 = &usb2; + };
[Severity: Low]
Should the usb0 and usb1 entries in /aliases be dropped?
Custom non-subsystem aliases are not allowed in devicetree sources, and the usb subsystem does not define usbN aliases. In addition, the board comments in imx95-lec-ipi-smarc.dts label &usb2 as the first carrier port and &usb3_dwc3 as the second, so usb0 and usb1 are inverted relative to the hardware port numbering.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3
Re: [PATCH v3 1/3] dt-bindings: vendor-prefixes: Add ADLINK
In reply to Dinesh kumar vQuoted 12 lines · Dinesh kumar v
Add the ADLINK Technology vendor prefix for device tree compatible strings.
Signed-off-by Dinesh kumar v <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)Documentation/devicetree/bindings/vendor-prefixes.yaml +0
-0
Documentation/devicetree/bindings/vendor-prefixes.yaml patternProperties: · line 74
Quoted 5 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +2
-0@@ -70,6 +70,8 @@ patternProperties: description: ADI Engineering, Inc. "^admatec,.*": description: admatec GmbH + "^adlink,.*": + description: ADLINK Technology Inc.
This doesn't look to be alphabetically sorted. adlink comes before admatec.
Quoted 3 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +0
-0"^advantech,.*": description: Advantech Corporation "^aeroflexgaisler,.*":