mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] arm64: dts: support the i.MX8ULP EVK9 board
@ 2025-06-27 14:26 Laurentiu Mihalcea
  2025-06-27 14:26 ` [PATCH v2 1/2] dt-bindings: arm: fsl: add " Laurentiu Mihalcea
  2025-06-27 14:26 ` [PATCH v2 2/2] arm64: dts: imx: add dts for the imx8ulp evk9 board Laurentiu Mihalcea
  0 siblings, 2 replies; 4+ messages in thread
From: Laurentiu Mihalcea @ 2025-06-27 14:26 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 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 v2 1/2] dt-bindings: arm: fsl: add i.MX8ULP EVK9 board
  2025-06-27 14:26 [PATCH v2 0/2] arm64: dts: support the i.MX8ULP EVK9 board Laurentiu Mihalcea
@ 2025-06-27 14:26 ` Laurentiu Mihalcea
  2025-06-27 19:33   ` Frank Li
  2025-06-27 14:26 ` [PATCH v2 2/2] arm64: dts: imx: add dts for the imx8ulp evk9 board Laurentiu Mihalcea
  1 sibling, 1 reply; 4+ messages in thread
From: Laurentiu Mihalcea @ 2025-06-27 14:26 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>
---
 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 b23bc1e48866..0563e9522fb7 100644
--- a/Documentation/devicetree/bindings/arm/fsl.yaml
+++ b/Documentation/devicetree/bindings/arm/fsl.yaml
@@ -1373,6 +1373,7 @@ properties:
         items:
           - enum:
               - fsl,imx8ulp-evk           # i.MX8ULP EVK Board
+              - fsl,imx8ulp-9x9-evk       # i.MX8ULP EVK9 Board
           - const: fsl,imx8ulp
 
       - description: i.MX93 based Boards
-- 
2.34.1


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

* [PATCH v2 2/2] arm64: dts: imx: add dts for the imx8ulp evk9 board
  2025-06-27 14:26 [PATCH v2 0/2] arm64: dts: support the i.MX8ULP EVK9 board Laurentiu Mihalcea
  2025-06-27 14:26 ` [PATCH v2 1/2] dt-bindings: arm: fsl: add " Laurentiu Mihalcea
@ 2025-06-27 14:26 ` Laurentiu Mihalcea
  1 sibling, 0 replies; 4+ messages in thread
From: Laurentiu Mihalcea @ 2025-06-27 14:26 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.

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 4da7501ece17..4b288b324d38 100644
--- a/arch/arm64/boot/dts/freescale/Makefile
+++ b/arch/arm64/boot/dts/freescale/Makefile
@@ -322,6 +322,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek-pcie-ep.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8qxp-tqma8xqp-mba8xx.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8qxp-tqma8xqps-mb-smarc-2.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8ulp-evk.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx8ulp-9x9-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx93-9x9-qsb.dtb
 
 imx93-9x9-qsb-i3c-dtbs += imx93-9x9-qsb.dtb imx93-9x9-qsb-i3c.dtbo
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	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 1/2] dt-bindings: arm: fsl: add i.MX8ULP EVK9 board
  2025-06-27 14:26 ` [PATCH v2 1/2] dt-bindings: arm: fsl: add " Laurentiu Mihalcea
@ 2025-06-27 19:33   ` Frank Li
  0 siblings, 0 replies; 4+ messages in thread
From: Frank Li @ 2025-06-27 19:33 UTC (permalink / raw)
  To: Laurentiu Mihalcea
  Cc: Shawn Guo, Sascha Hauer, Fabio Estevam, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Pengutronix Kernel Team, imx,
	linux-arm-kernel, devicetree, linux-kernel

On Fri, Jun 27, 2025 at 10:26:44AM -0400, Laurentiu Mihalcea wrote:
> 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>
> ---
>  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 b23bc1e48866..0563e9522fb7 100644
> --- a/Documentation/devicetree/bindings/arm/fsl.yaml
> +++ b/Documentation/devicetree/bindings/arm/fsl.yaml
> @@ -1373,6 +1373,7 @@ properties:
>          items:
>            - enum:
>                - fsl,imx8ulp-evk           # i.MX8ULP EVK Board
> +              - fsl,imx8ulp-9x9-evk       # i.MX8ULP EVK9 Board

move fsl,imx8ulp-9x9-evk before fsl,imx8ulp-evk according ascii table

Frank

>            - const: fsl,imx8ulp
>
>        - description: i.MX93 based Boards
> --
> 2.34.1
>

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

end of thread, other threads:[~2025-06-27 19:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-27 14:26 [PATCH v2 0/2] arm64: dts: support the i.MX8ULP EVK9 board Laurentiu Mihalcea
2025-06-27 14:26 ` [PATCH v2 1/2] dt-bindings: arm: fsl: add " Laurentiu Mihalcea
2025-06-27 19:33   ` Frank Li
2025-06-27 14:26 ` [PATCH v2 2/2] arm64: dts: imx: add dts for the imx8ulp evk9 board Laurentiu Mihalcea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®