devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] arm64: dts: support the i.MX8ULP EVK9 board
@ 2025-07-14 15:13 Laurentiu Mihalcea
  2025-07-14 15:13 ` [PATCH v4 1/2] dt-bindings: arm: fsl: add " Laurentiu Mihalcea
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Laurentiu Mihalcea @ 2025-07-14 15:13 UTC (permalink / raw)
  To: Shawn Guo, Sascha Hauer, Fabio Estevam, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Frank Li
  Cc: Pengutronix Kernel Team, imx, linux-arm-kernel, devicetree,
	linux-kernel

From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>

Add support for the i.MX8ULP EVK9 board by introducing a new DTS and
a new compatible string.

---
Changes in v4:
* fix ordering in the Makefile
* highlighted a few differences between the EVK and EVK9 board in the
commit message as requested by Shawn
* link to v3: https://lore.kernel.org/lkml/20250701002239.972090-1-laurentiumihalcea111@gmail.com/

Changes in v3:
* change order of the board DT compatible inside the binding.
"fsl,imx8ulp-9x9-evk" now comes before "fsl,imx8ulp-evk".
* link to v2: https://lore.kernel.org/lkml/20250627142645.134256-1-laurentiumihalcea111@gmail.com/

Changes in v2:
* introduced a new compatible string for the board.
* aligned the pin configurations to the same column.
* link to v1: https://lore.kernel.org/lkml/20250623150146.1398044-1-laurentiumihalcea111@gmail.com/
---

Laurentiu Mihalcea (2):
  dt-bindings: arm: fsl: add i.MX8ULP EVK9 board
  arm64: dts: imx: add dts for the imx8ulp evk9 board

 .../devicetree/bindings/arm/fsl.yaml          |  1 +
 arch/arm64/boot/dts/freescale/Makefile        |  1 +
 .../boot/dts/freescale/imx8ulp-9x9-evk.dts    | 69 +++++++++++++++++++
 3 files changed, 71 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8ulp-9x9-evk.dts

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v4 1/2] dt-bindings: arm: fsl: add i.MX8ULP EVK9 board
  2025-07-14 15:13 [PATCH v4 0/2] arm64: dts: support the i.MX8ULP EVK9 board Laurentiu Mihalcea
@ 2025-07-14 15:13 ` Laurentiu Mihalcea
  2025-07-14 15:13 ` [PATCH v4 2/2] arm64: dts: imx: add dts for the imx8ulp evk9 board Laurentiu Mihalcea
  2025-08-21  7:04 ` [PATCH v4 0/2] arm64: dts: support the i.MX8ULP EVK9 board Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Laurentiu Mihalcea @ 2025-07-14 15:13 UTC (permalink / raw)
  To: Shawn Guo, Sascha Hauer, Fabio Estevam, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Frank Li
  Cc: Pengutronix Kernel Team, imx, linux-arm-kernel, devicetree,
	linux-kernel

From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>

Add DT compatible string for the i.MX8ULP EVK9 board.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/arm/fsl.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml
index a3e9f9e0735a..18ae807d5950 100644
--- a/Documentation/devicetree/bindings/arm/fsl.yaml
+++ b/Documentation/devicetree/bindings/arm/fsl.yaml
@@ -1382,6 +1382,7 @@ properties:
       - description: i.MX8ULP based Boards
         items:
           - enum:
+              - fsl,imx8ulp-9x9-evk       # i.MX8ULP EVK9 Board
               - fsl,imx8ulp-evk           # i.MX8ULP EVK Board
           - const: fsl,imx8ulp
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v4 2/2] arm64: dts: imx: add dts for the imx8ulp evk9 board
  2025-07-14 15:13 [PATCH v4 0/2] arm64: dts: support the i.MX8ULP EVK9 board Laurentiu Mihalcea
  2025-07-14 15:13 ` [PATCH v4 1/2] dt-bindings: arm: fsl: add " Laurentiu Mihalcea
@ 2025-07-14 15:13 ` Laurentiu Mihalcea
  2025-08-21  7:04 ` [PATCH v4 0/2] arm64: dts: support the i.MX8ULP EVK9 board Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Laurentiu Mihalcea @ 2025-07-14 15:13 UTC (permalink / raw)
  To: Shawn Guo, Sascha Hauer, Fabio Estevam, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Frank Li
  Cc: Pengutronix Kernel Team, imx, linux-arm-kernel, devicetree,
	linux-kernel

From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>

Add DTS for the i.MX8ULP EVK9 board. Some notable differences from the
i.MX8ULP EVK board include:

	1) M.2 header uses SAI6 instead of SAI5.
	2) Ethernet transceiver chip (KSZ8081RNB) uses different pads.
	3) USB0 ID/OC signals are tied to different pads.
	4) USB1 ID/OC signals are tied to different pads.
	5) EVK9 board integrates the 9.4x9.4mm SoC package, while
	the EVK board integrates the 15x15mm package.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
---
 arch/arm64/boot/dts/freescale/Makefile        |  1 +
 .../boot/dts/freescale/imx8ulp-9x9-evk.dts    | 69 +++++++++++++++++++
 2 files changed, 70 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8ulp-9x9-evk.dts

diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
index 23535ed47631..cbcabdfb324c 100644
--- a/arch/arm64/boot/dts/freescale/Makefile
+++ b/arch/arm64/boot/dts/freescale/Makefile
@@ -332,6 +332,7 @@ dtb-${CONFIG_ARCH_MXC} += imx8qxp-mek-ov5640-csi.dtb
 
 dtb-$(CONFIG_ARCH_MXC) += imx8qxp-tqma8xqp-mba8xx.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8qxp-tqma8xqps-mb-smarc-2.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx8ulp-9x9-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8ulp-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx93-9x9-qsb.dtb
 
diff --git a/arch/arm64/boot/dts/freescale/imx8ulp-9x9-evk.dts b/arch/arm64/boot/dts/freescale/imx8ulp-9x9-evk.dts
new file mode 100644
index 000000000000..5497e3d78136
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/imx8ulp-9x9-evk.dts
@@ -0,0 +1,69 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2025 NXP
+ */
+
+/dts-v1/;
+
+#include "imx8ulp-evk.dts"
+
+/ {
+	model = "NXP i.MX8ULP EVK9";
+	compatible = "fsl,imx8ulp-9x9-evk", "fsl,imx8ulp";
+};
+
+&btcpu {
+	sound-dai = <&sai6>;
+};
+
+&iomuxc1 {
+	pinctrl_sai6: sai6grp {
+		fsl,pins = <
+			MX8ULP_PAD_PTE10__I2S6_TX_BCLK  0x43
+			MX8ULP_PAD_PTE11__I2S6_TX_FS    0x43
+			MX8ULP_PAD_PTE14__I2S6_TXD2     0x43
+			MX8ULP_PAD_PTE6__I2S6_RXD0      0x43
+		>;
+	};
+};
+
+&pinctrl_enet {
+	fsl,pins = <
+		MX8ULP_PAD_PTF9__ENET0_MDC		0x43
+		MX8ULP_PAD_PTF8__ENET0_MDIO             0x43
+		MX8ULP_PAD_PTF5__ENET0_RXER             0x43
+		MX8ULP_PAD_PTF6__ENET0_CRS_DV           0x43
+		MX8ULP_PAD_PTF1__ENET0_RXD0             0x43
+		MX8ULP_PAD_PTF0__ENET0_RXD1             0x43
+		MX8ULP_PAD_PTF4__ENET0_TXEN             0x43
+		MX8ULP_PAD_PTF3__ENET0_TXD0             0x43
+		MX8ULP_PAD_PTF2__ENET0_TXD1             0x43
+		MX8ULP_PAD_PTF7__ENET0_REFCLK           0x43
+		MX8ULP_PAD_PTF10__ENET0_1588_CLKIN      0x43
+	>;
+};
+
+&pinctrl_usb1 {
+	fsl,pins = <
+		MX8ULP_PAD_PTE16__USB0_ID		0x10003
+		MX8ULP_PAD_PTE18__USB0_OC		0x10003
+	>;
+};
+
+&pinctrl_usb2 {
+	fsl,pins = <
+		MX8ULP_PAD_PTD23__USB1_ID		0x10003
+		MX8ULP_PAD_PTE20__USB1_OC		0x10003
+	>;
+};
+
+&sai6 {
+	pinctrl-names = "default", "sleep";
+	pinctrl-0 = <&pinctrl_sai6>;
+	pinctrl-1 = <&pinctrl_sai6>;
+	assigned-clocks = <&cgc1 IMX8ULP_CLK_SPLL3_PFD1_DIV1>, <&cgc2 IMX8ULP_CLK_SAI6_SEL>;
+	assigned-clock-parents = <0>, <&cgc1 IMX8ULP_CLK_SPLL3_PFD1_DIV1>;
+	assigned-clock-rates = <12288000>;
+	fsl,dataline = <1 0x01 0x04>;
+	status = "okay";
+};
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v4 0/2] arm64: dts: support the i.MX8ULP EVK9 board
  2025-07-14 15:13 [PATCH v4 0/2] arm64: dts: support the i.MX8ULP EVK9 board Laurentiu Mihalcea
  2025-07-14 15:13 ` [PATCH v4 1/2] dt-bindings: arm: fsl: add " Laurentiu Mihalcea
  2025-07-14 15:13 ` [PATCH v4 2/2] arm64: dts: imx: add dts for the imx8ulp evk9 board Laurentiu Mihalcea
@ 2025-08-21  7:04 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2025-08-21  7:04 UTC (permalink / raw)
  To: Laurentiu Mihalcea
  Cc: Shawn Guo, Sascha Hauer, Fabio Estevam, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Frank Li,
	Pengutronix Kernel Team, imx, linux-arm-kernel, devicetree,
	linux-kernel

On Mon, Jul 14, 2025 at 11:13:44AM -0400, Laurentiu Mihalcea wrote:
> Laurentiu Mihalcea (2):
>   dt-bindings: arm: fsl: add i.MX8ULP EVK9 board
>   arm64: dts: imx: add dts for the imx8ulp evk9 board

Applied both, thanks!


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-21  7:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-14 15:13 [PATCH v4 0/2] arm64: dts: support the i.MX8ULP EVK9 board Laurentiu Mihalcea
2025-07-14 15:13 ` [PATCH v4 1/2] dt-bindings: arm: fsl: add " Laurentiu Mihalcea
2025-07-14 15:13 ` [PATCH v4 2/2] arm64: dts: imx: add dts for the imx8ulp evk9 board Laurentiu Mihalcea
2025-08-21  7:04 ` [PATCH v4 0/2] arm64: dts: support the i.MX8ULP EVK9 board Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).