* [PATCH V4 0/9] dt-bindinds/dts: support i.MX8ULP
@ 2021-11-12 8:29 Peng Fan (OSS)
2021-11-12 8:29 ` [PATCH V4 1/9] dt-bindings: i2c: imx-lpi2c: Add imx8ulp compatible string Peng Fan (OSS)
` (8 more replies)
0 siblings, 9 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-12 8:29 UTC (permalink / raw)
To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
linux, wim, linux
Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
linux-serial, linux-spi, linux-watchdog, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
I just pick-up Jacky's work, rebase and send out V4 based on
Jacky's V3 patchset.
If you prefer to split the patchset and send single patches, I could
resend one by one.
Note: the V3 has a gpio bindings patch, it has been seperated and
sent to gpio list in a single one per Linus requested.
This patchset is to add i.MX8ULP in dt-bindings, introduce
basic i.MX8ULP dtsi and basic evk board support.
The detailed version changes are in each patch.
There is checkpatch error in patch 8, but that is for device tree macro
and we could use use "(xx)".
In V4, the changes are in patch 8, 9 when rebasing to linux-next/master
,fix build errors after the clk driver in tree and drop a few nodes
that not have bindings.
Tested with CONFIG_CLK_IMX8ULP and CONFIG_PINCTRL_IMX8ULP enabled.
V3:
https://lore.kernel.org/linux-arm-kernel/20210625011355.3468586-6-ping.bai@nxp.com/T/
Jacky Bai (9):
dt-bindings: i2c: imx-lpi2c: Add imx8ulp compatible string
dt-bindings: mmc: imx-esdhc: Add imx8ulp compatible string
dt-bindings: serial: fsl-lpuart: Add imx8ulp compatible string
dt-bindings: spi: fsl-lpspi: Add imx8ulp compatible string
dt-bindings: timer: tpm-timer: Add imx8ulp compatible string
dt-bindings: watchdog: imx7ulp-wdt: Add imx8ulp compatible string
dt-bindings: arm: fsl: Add binding for imx8ulp evk
arm64: dts: imx8ulp: Add the basic dtsi file for imx8ulp
arm64: dts: imx8ulp: Add the basic dts for imx8ulp evk board
.../devicetree/bindings/arm/fsl.yaml | 6 +
.../bindings/i2c/i2c-imx-lpi2c.yaml | 4 +-
.../bindings/mmc/fsl-imx-esdhc.yaml | 4 +
.../bindings/serial/fsl-lpuart.yaml | 4 +-
.../bindings/spi/spi-fsl-lpspi.yaml | 11 +-
.../bindings/timer/nxp,tpm-timer.yaml | 6 +-
.../bindings/watchdog/fsl-imx7ulp-wdt.yaml | 7 +-
arch/arm64/boot/dts/freescale/Makefile | 1 +
arch/arm64/boot/dts/freescale/imx8ulp-evk.dts | 148 +++
.../boot/dts/freescale/imx8ulp-pinfunc.h | 978 ++++++++++++++++++
arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 469 +++++++++
11 files changed, 1629 insertions(+), 9 deletions(-)
create mode 100644 arch/arm64/boot/dts/freescale/imx8ulp-evk.dts
create mode 100755 arch/arm64/boot/dts/freescale/imx8ulp-pinfunc.h
create mode 100644 arch/arm64/boot/dts/freescale/imx8ulp.dtsi
--
2.25.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH V4 1/9] dt-bindings: i2c: imx-lpi2c: Add imx8ulp compatible string
2021-11-12 8:29 [PATCH V4 0/9] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
@ 2021-11-12 8:29 ` Peng Fan (OSS)
2021-11-12 8:29 ` [PATCH V4 2/9] dt-bindings: mmc: imx-esdhc: " Peng Fan (OSS)
` (7 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-12 8:29 UTC (permalink / raw)
To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
linux, wim, linux
Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
linux-serial, linux-spi, linux-watchdog, Jacky Bai, Rob Herring,
Peng Fan
From: Jacky Bai <ping.bai@nxp.com>
Add the compatible for i.MX8ULP.
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
- v4 changes:
no
- v3 changes:
no
- v2 changes:
no
Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml
index 29b9447f3b84..0875753c7d15 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml
@@ -19,7 +19,9 @@ properties:
- fsl,imx7ulp-lpi2c
- fsl,imx8qm-lpi2c
- items:
- - const: fsl,imx8qxp-lpi2c
+ - enum:
+ - fsl,imx8qxp-lpi2c
+ - fsl,imx8ulp-lpi2c
- const: fsl,imx7ulp-lpi2c
reg:
--
2.25.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH V4 2/9] dt-bindings: mmc: imx-esdhc: Add imx8ulp compatible string
2021-11-12 8:29 [PATCH V4 0/9] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
2021-11-12 8:29 ` [PATCH V4 1/9] dt-bindings: i2c: imx-lpi2c: Add imx8ulp compatible string Peng Fan (OSS)
@ 2021-11-12 8:29 ` Peng Fan (OSS)
2021-11-15 14:54 ` Ulf Hansson
2021-11-12 8:29 ` [PATCH V4 3/9] dt-bindings: serial: fsl-lpuart: " Peng Fan (OSS)
` (6 subsequent siblings)
8 siblings, 1 reply; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-12 8:29 UTC (permalink / raw)
To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
linux, wim, linux
Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
linux-serial, linux-spi, linux-watchdog, Jacky Bai, Rob Herring,
Peng Fan
From: Jacky Bai <ping.bai@nxp.com>
The USDHC on i.MX8ULP is derived from i.MX8MM, it uses two
compatible strings, so update the compatible string for i.MX8ULP.
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
- v4 changes:
no
- v3 changes:
no
- v2 changes:
refine the commit message
Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
index 19621a2f8beb..d5be9863009c 100644
--- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
+++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
@@ -44,6 +44,10 @@ properties:
- fsl,imx8qm-usdhc
- fsl,imx8qxp-usdhc
- const: fsl,imx7d-usdhc
+ - items:
+ - enum:
+ - fsl,imx8ulp-usdhc
+ - const: fsl,imx8mm-usdhc
reg:
maxItems: 1
--
2.25.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH V4 3/9] dt-bindings: serial: fsl-lpuart: Add imx8ulp compatible string
2021-11-12 8:29 [PATCH V4 0/9] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
2021-11-12 8:29 ` [PATCH V4 1/9] dt-bindings: i2c: imx-lpi2c: Add imx8ulp compatible string Peng Fan (OSS)
2021-11-12 8:29 ` [PATCH V4 2/9] dt-bindings: mmc: imx-esdhc: " Peng Fan (OSS)
@ 2021-11-12 8:29 ` Peng Fan (OSS)
2021-11-12 8:29 ` [PATCH V4 4/9] dt-bindings: spi: fsl-lpspi: " Peng Fan (OSS)
` (5 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-12 8:29 UTC (permalink / raw)
To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
linux, wim, linux
Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
linux-serial, linux-spi, linux-watchdog, Jacky Bai, Rob Herring,
Peng Fan
From: Jacky Bai <ping.bai@nxp.com>
The lpuart on i.MX8ULP is derived from i.MX7ULP, it uses two compatible
strings, so update the compatible string for i.MX8ULP.
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
- v4 changes:
no
- v3 changes:
no
- v2 changes:
refine the commit messages
Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
index a90c971b4f1f..e7ac63dd1469 100644
--- a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
+++ b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
@@ -22,7 +22,9 @@ properties:
- fsl,imx7ulp-lpuart
- fsl,imx8qm-lpuart
- items:
- - const: fsl,imx8qxp-lpuart
+ - enum:
+ - fsl,imx8qxp-lpuart
+ - fsl,imx8ulp-lpuart
- const: fsl,imx7ulp-lpuart
reg:
--
2.25.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH V4 4/9] dt-bindings: spi: fsl-lpspi: Add imx8ulp compatible string
2021-11-12 8:29 [PATCH V4 0/9] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
` (2 preceding siblings ...)
2021-11-12 8:29 ` [PATCH V4 3/9] dt-bindings: serial: fsl-lpuart: " Peng Fan (OSS)
@ 2021-11-12 8:29 ` Peng Fan (OSS)
2021-11-12 8:29 ` [PATCH V4 5/9] dt-bindings: timer: tpm-timer: " Peng Fan (OSS)
` (4 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-12 8:29 UTC (permalink / raw)
To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
linux, wim, linux
Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
linux-serial, linux-spi, linux-watchdog, Jacky Bai, Rob Herring
From: Jacky Bai <ping.bai@nxp.com>
The lpspi on i.MX8ULP is derived from i.MX7ULP, it uses two
compatible strings, so update the comaptible string for i.MX8ULP.
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
---
.../devicetree/bindings/spi/spi-fsl-lpspi.yaml | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
index 312d8fee9dbb..1d46877fe46a 100644
--- a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
@@ -14,10 +14,13 @@ allOf:
properties:
compatible:
- enum:
- - fsl,imx7ulp-spi
- - fsl,imx8qxp-spi
-
+ oneOf:
+ - enum:
+ - fsl,imx7ulp-spi
+ - fsl,imx8qxp-spi
+ - items:
+ - const: fsl,imx8ulp-spi
+ - const: fsl,imx7ulp-spi
reg:
maxItems: 1
--
2.25.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH V4 5/9] dt-bindings: timer: tpm-timer: Add imx8ulp compatible string
2021-11-12 8:29 [PATCH V4 0/9] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
` (3 preceding siblings ...)
2021-11-12 8:29 ` [PATCH V4 4/9] dt-bindings: spi: fsl-lpspi: " Peng Fan (OSS)
@ 2021-11-12 8:29 ` Peng Fan (OSS)
2021-11-12 8:29 ` [PATCH V4 6/9] dt-bindings: watchdog: imx7ulp-wdt: " Peng Fan (OSS)
` (3 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-12 8:29 UTC (permalink / raw)
To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
linux, wim, linux
Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
linux-serial, linux-spi, linux-watchdog, Jacky Bai, Rob Herring,
Peng Fan
From: Jacky Bai <ping.bai@nxp.com>
The tpm timer on i.MX8ULP is derived from i.MX7ULP, it use two
compatible strings, so update the compatible string for it.
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
- v4 chagnes:
no
- v3 chagnes:
no
- v2 changes:
refine the commit message
Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml b/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml
index edd9585f6726..f69773a8e4b9 100644
--- a/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml
+++ b/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml
@@ -19,7 +19,11 @@ description: |
properties:
compatible:
- const: fsl,imx7ulp-tpm
+ oneOf:
+ - const: fsl,imx7ulp-tpm
+ - items:
+ - const: fsl,imx8ulp-tpm
+ - const: fsl,imx7ulp-tpm
reg:
maxItems: 1
--
2.25.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH V4 6/9] dt-bindings: watchdog: imx7ulp-wdt: Add imx8ulp compatible string
2021-11-12 8:29 [PATCH V4 0/9] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
` (4 preceding siblings ...)
2021-11-12 8:29 ` [PATCH V4 5/9] dt-bindings: timer: tpm-timer: " Peng Fan (OSS)
@ 2021-11-12 8:29 ` Peng Fan (OSS)
2021-11-12 14:28 ` Guenter Roeck
2021-11-12 8:29 ` [PATCH V4 7/9] dt-bindings: arm: fsl: Add binding for imx8ulp evk Peng Fan (OSS)
` (2 subsequent siblings)
8 siblings, 1 reply; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-12 8:29 UTC (permalink / raw)
To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
linux, wim, linux
Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
linux-serial, linux-spi, linux-watchdog, Jacky Bai, Rob Herring,
Peng Fan
From: Jacky Bai <ping.bai@nxp.com>
The wdog on i.MX8ULP is derived from i.MX7ULP, it uses two compatible
strings, so update the compatible string for i.MX8ULP.
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
- v4 changes:
no
- v3 changes:
no
- v2 changes:
refine the commit message
.../devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml b/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml
index 51d6d482bbc2..fb603a20e396 100644
--- a/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml
@@ -14,8 +14,11 @@ allOf:
properties:
compatible:
- enum:
- - fsl,imx7ulp-wdt
+ oneOf:
+ - const: fsl,imx7ulp-wdt
+ - items:
+ - const: fsl,imx8ulp-wdt
+ - const: fsl,imx7ulp-wdt
reg:
maxItems: 1
--
2.25.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH V4 7/9] dt-bindings: arm: fsl: Add binding for imx8ulp evk
2021-11-12 8:29 [PATCH V4 0/9] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
` (5 preceding siblings ...)
2021-11-12 8:29 ` [PATCH V4 6/9] dt-bindings: watchdog: imx7ulp-wdt: " Peng Fan (OSS)
@ 2021-11-12 8:29 ` Peng Fan (OSS)
2021-11-12 8:29 ` [PATCH V5 9/9] arm64: dts: imx8ulp: Add the basic dts for imx8ulp evk board Peng Fan (OSS)
[not found] ` <20211112082930.3809351-9-peng.fan@oss.nxp.com>
8 siblings, 0 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-12 8:29 UTC (permalink / raw)
To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
linux, wim, linux
Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
linux-serial, linux-spi, linux-watchdog, Jacky Bai, Rob Herring,
Peng Fan
From: Jacky Bai <ping.bai@nxp.com>
Add the dt binding for i.MX8ULP EVK board.
i.MX 8ULP is part of the ULP family with emphasis on extreme
low-power techniques using the 28 nm fully depleted silicon on
insulator process. Like i.MX 7ULP, i.MX 8ULP continues to be
based on asymmetric architecture, however will add a third DSP
domain for advanced voice/audio capability and a Graphics domain
where it is possible to access graphics resources from the
application side or the realtime side.
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
- v4 changes:
no
- v3 changes:
no
- v2 changes:
no
Documentation/devicetree/bindings/arm/fsl.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml
index 0b595b26061f..42b5dd546aee 100644
--- a/Documentation/devicetree/bindings/arm/fsl.yaml
+++ b/Documentation/devicetree/bindings/arm/fsl.yaml
@@ -834,6 +834,12 @@ properties:
- const: toradex,colibri-imx8x
- const: fsl,imx8qxp
+ - description: i.MX8ULP based Boards
+ items:
+ - enum:
+ - fsl,imx8ulp-evk # i.MX8ULP EVK Board
+ - const: fsl,imx8ulp
+
- description:
Freescale Vybrid Platform Device Tree Bindings
--
2.25.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH V5 9/9] arm64: dts: imx8ulp: Add the basic dts for imx8ulp evk board
2021-11-12 8:29 [PATCH V4 0/9] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
` (6 preceding siblings ...)
2021-11-12 8:29 ` [PATCH V4 7/9] dt-bindings: arm: fsl: Add binding for imx8ulp evk Peng Fan (OSS)
@ 2021-11-12 8:29 ` Peng Fan (OSS)
[not found] ` <20211112082930.3809351-9-peng.fan@oss.nxp.com>
8 siblings, 0 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-12 8:29 UTC (permalink / raw)
To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
linux, wim, linux
Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
linux-serial, linux-spi, linux-watchdog, Jacky Bai, Peng Fan
From: Jacky Bai <ping.bai@nxp.com>
Add the basic dts file for i.MX8ULP EVK board.
Only the necessary devices for minimal system boot up are enabled:
enet, emmc, usb, console uart.
some of the devices' pin status may lost during low power mode,
so additional sleep pinctrl properties are included by default.
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
- v4
Fix memory node
Drop usb and fec nodes
- v3 changes:
no
- v2 changes:
add the memory node place holder
update the license
arch/arm64/boot/dts/freescale/Makefile | 1 +
arch/arm64/boot/dts/freescale/imx8ulp-evk.dts | 80 +++++++++++++++++++
2 files changed, 81 insertions(+)
create mode 100644 arch/arm64/boot/dts/freescale/imx8ulp-evk.dts
diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
index a14a6173b765..c64616192794 100644
--- a/arch/arm64/boot/dts/freescale/Makefile
+++ b/arch/arm64/boot/dts/freescale/Makefile
@@ -71,6 +71,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8qm-mek.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8qxp-ai_ml.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-eval-v3.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx8ulp-evk.dtb
dtb-$(CONFIG_ARCH_S32) += s32g274a-evb.dtb
dtb-$(CONFIG_ARCH_S32) += s32g274a-rdb2.dtb
diff --git a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts
new file mode 100644
index 000000000000..b7cd4d28fee0
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts
@@ -0,0 +1,80 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2021 NXP
+ */
+
+/dts-v1/;
+
+#include "imx8ulp.dtsi"
+
+/ {
+ model = "NXP i.MX8ULP EVK";
+ compatible = "fsl,imx8ulp-evk", "fsl,imx8ulp";
+
+ chosen {
+ stdout-path = &lpuart5;
+ };
+
+ memory@80000000 {
+ device_type = "memory";
+ reg = <0x0 0x80000000 0 0x80000000>;
+ };
+};
+
+&lpuart5 {
+ /* console */
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&pinctrl_lpuart5>;
+ pinctrl-1 = <&pinctrl_lpuart5>;
+ status = "okay";
+};
+
+&usdhc0 {
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&pinctrl_usdhc0>;
+ pinctrl-1 = <&pinctrl_usdhc0>;
+ non-removable;
+ bus-width = <4>;
+ status = "okay";
+};
+
+&iomuxc1 {
+ pinctrl_enet: enetgrp {
+ fsl,pins = <
+ MX8ULP_PAD_PTE15__ENET0_MDC 0x43
+ MX8ULP_PAD_PTE14__ENET0_MDIO 0x43
+ MX8ULP_PAD_PTE17__ENET0_RXER 0x43
+ MX8ULP_PAD_PTE18__ENET0_CRS_DV 0x43
+ MX8ULP_PAD_PTF1__ENET0_RXD0 0x43
+ MX8ULP_PAD_PTE20__ENET0_RXD1 0x43
+ MX8ULP_PAD_PTE16__ENET0_TXEN 0x43
+ MX8ULP_PAD_PTE23__ENET0_TXD0 0x43
+ MX8ULP_PAD_PTE22__ENET0_TXD1 0x43
+ MX8ULP_PAD_PTE19__ENET0_REFCLK 0x43
+ MX8ULP_PAD_PTF10__ENET0_1588_CLKIN 0x43
+ >;
+ };
+
+ pinctrl_lpuart5: lpuart5grp {
+ fsl,pins = <
+ MX8ULP_PAD_PTF14__LPUART5_TX 0x3
+ MX8ULP_PAD_PTF15__LPUART5_RX 0x3
+ >;
+ };
+
+ pinctrl_usdhc0: usdhc0grp {
+ fsl,pins = <
+ MX8ULP_PAD_PTD1__SDHC0_CMD 0x43
+ MX8ULP_PAD_PTD2__SDHC0_CLK 0x10042
+ MX8ULP_PAD_PTD10__SDHC0_D0 0x43
+ MX8ULP_PAD_PTD9__SDHC0_D1 0x43
+ MX8ULP_PAD_PTD8__SDHC0_D2 0x43
+ MX8ULP_PAD_PTD7__SDHC0_D3 0x43
+ MX8ULP_PAD_PTD6__SDHC0_D4 0x43
+ MX8ULP_PAD_PTD5__SDHC0_D5 0x43
+ MX8ULP_PAD_PTD4__SDHC0_D6 0x43
+ MX8ULP_PAD_PTD3__SDHC0_D7 0x43
+ MX8ULP_PAD_PTD11__SDHC0_DQS 0x10042
+ >;
+ };
+};
--
2.25.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH V4 6/9] dt-bindings: watchdog: imx7ulp-wdt: Add imx8ulp compatible string
2021-11-12 8:29 ` [PATCH V4 6/9] dt-bindings: watchdog: imx7ulp-wdt: " Peng Fan (OSS)
@ 2021-11-12 14:28 ` Guenter Roeck
0 siblings, 0 replies; 12+ messages in thread
From: Guenter Roeck @ 2021-11-12 14:28 UTC (permalink / raw)
To: Peng Fan (OSS),
robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
wim, linux
Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
linux-serial, linux-spi, linux-watchdog, Jacky Bai, Rob Herring,
Peng Fan
On 11/12/21 12:29 AM, Peng Fan (OSS) wrote:
> From: Jacky Bai <ping.bai@nxp.com>
>
> The wdog on i.MX8ULP is derived from i.MX7ULP, it uses two compatible
> strings, so update the compatible string for i.MX8ULP.
>
> Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
> Acked-by: Rob Herring <robh@kernel.org>
> Signed-off-by: Jacky Bai <ping.bai@nxp.com>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
> ---
>
> - v4 changes:
> no
>
> - v3 changes:
> no
>
> - v2 changes:
> refine the commit message
>
> .../devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml b/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml
> index 51d6d482bbc2..fb603a20e396 100644
> --- a/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml
> @@ -14,8 +14,11 @@ allOf:
>
> properties:
> compatible:
> - enum:
> - - fsl,imx7ulp-wdt
> + oneOf:
> + - const: fsl,imx7ulp-wdt
> + - items:
> + - const: fsl,imx8ulp-wdt
> + - const: fsl,imx7ulp-wdt
>
> reg:
> maxItems: 1
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH V4 2/9] dt-bindings: mmc: imx-esdhc: Add imx8ulp compatible string
2021-11-12 8:29 ` [PATCH V4 2/9] dt-bindings: mmc: imx-esdhc: " Peng Fan (OSS)
@ 2021-11-15 14:54 ` Ulf Hansson
0 siblings, 0 replies; 12+ messages in thread
From: Ulf Hansson @ 2021-11-15 14:54 UTC (permalink / raw)
To: Peng Fan (OSS)
Cc: robh+dt, aisheng.dong, shawnguo, s.hauer, broonie, linux, wim,
linux, Kernel, festevam, linux-imx, daniel.lezcano, devicetree,
linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
linux-serial, linux-spi, linux-watchdog, Jacky Bai, Rob Herring,
Peng Fan
On Fri, 12 Nov 2021 at 09:30, Peng Fan (OSS) <peng.fan@oss.nxp.com> wrote:
>
> From: Jacky Bai <ping.bai@nxp.com>
>
> The USDHC on i.MX8ULP is derived from i.MX8MM, it uses two
> compatible strings, so update the compatible string for i.MX8ULP.
>
> Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
> Acked-by: Rob Herring <robh@kernel.org>
> Signed-off-by: Jacky Bai <ping.bai@nxp.com>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Applied for next, thanks!
Kind regards
Uffe
> ---
> - v4 changes:
> no
>
> - v3 changes:
> no
>
> - v2 changes:
> refine the commit message
>
> Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
> index 19621a2f8beb..d5be9863009c 100644
> --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
> @@ -44,6 +44,10 @@ properties:
> - fsl,imx8qm-usdhc
> - fsl,imx8qxp-usdhc
> - const: fsl,imx7d-usdhc
> + - items:
> + - enum:
> + - fsl,imx8ulp-usdhc
> + - const: fsl,imx8mm-usdhc
>
> reg:
> maxItems: 1
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH V5 8/9] arm64: dts: imx8ulp: Add the basic dtsi file for imx8ulp
[not found] ` <20211112082930.3809351-9-peng.fan@oss.nxp.com>
@ 2021-11-19 0:54 ` Rob Herring
0 siblings, 0 replies; 12+ messages in thread
From: Rob Herring @ 2021-11-19 0:54 UTC (permalink / raw)
To: Peng Fan (OSS)
Cc: linux-i2c, linux-imx, linux-watchdog, linux, linux-kernel,
aisheng.dong, linux-spi, kernel, linux-serial, robh+dt,
linux-mmc, festevam, shawnguo, linux-arm-kernel, devicetree,
linux, ulf.hansson, daniel.lezcano, Peng Fan, wim, Jacky Bai,
s.hauer, broonie
On Fri, 12 Nov 2021 16:29:29 +0800, Peng Fan (OSS) wrote:
> From: Jacky Bai <ping.bai@nxp.com>
>
> Add the basic dtsi support for i.MX8ULP.
>
> i.MX 8ULP is part of the ULP family with emphasis on extreme
> low-power techniques using the 28 nm fully depleted silicon on
> insulator process. Like i.MX 7ULP, i.MX 8ULP continues to be
> based on asymmetric architecture, however will add a third DSP
> domain for advanced voice/audio capability and a Graphics domain
> where it is possible to access graphics resources from the
> application side or the realtime side.
>
> Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
> Signed-off-by: Jacky Bai <ping.bai@nxp.com>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
>
> - v4
> Fix build error after rebase
> Drop usb nodes and alias, drop fec node
>
> - v3 changes:
> no
>
> - v2 changes:
> update the license
> update the compatible property for usb related node
>
> .../boot/dts/freescale/imx8ulp-pinfunc.h | 978 ++++++++++++++++++
> arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 396 +++++++
> 2 files changed, 1374 insertions(+)
> create mode 100755 arch/arm64/boot/dts/freescale/imx8ulp-pinfunc.h
> create mode 100644 arch/arm64/boot/dts/freescale/imx8ulp.dtsi
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2021-11-19 0:54 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-12 8:29 [PATCH V4 0/9] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
2021-11-12 8:29 ` [PATCH V4 1/9] dt-bindings: i2c: imx-lpi2c: Add imx8ulp compatible string Peng Fan (OSS)
2021-11-12 8:29 ` [PATCH V4 2/9] dt-bindings: mmc: imx-esdhc: " Peng Fan (OSS)
2021-11-15 14:54 ` Ulf Hansson
2021-11-12 8:29 ` [PATCH V4 3/9] dt-bindings: serial: fsl-lpuart: " Peng Fan (OSS)
2021-11-12 8:29 ` [PATCH V4 4/9] dt-bindings: spi: fsl-lpspi: " Peng Fan (OSS)
2021-11-12 8:29 ` [PATCH V4 5/9] dt-bindings: timer: tpm-timer: " Peng Fan (OSS)
2021-11-12 8:29 ` [PATCH V4 6/9] dt-bindings: watchdog: imx7ulp-wdt: " Peng Fan (OSS)
2021-11-12 14:28 ` Guenter Roeck
2021-11-12 8:29 ` [PATCH V4 7/9] dt-bindings: arm: fsl: Add binding for imx8ulp evk Peng Fan (OSS)
2021-11-12 8:29 ` [PATCH V5 9/9] arm64: dts: imx8ulp: Add the basic dts for imx8ulp evk board Peng Fan (OSS)
[not found] ` <20211112082930.3809351-9-peng.fan@oss.nxp.com>
2021-11-19 0:54 ` [PATCH V5 8/9] arm64: dts: imx8ulp: Add the basic dtsi file for imx8ulp Rob Herring
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).