* [PATCH 0/4] arm64: dts: imx8m: dtb aliases update
@ 2020-05-20 2:02 peng.fan
2020-05-20 2:02 ` [PATCH 1/4] arm64: dts: imx8mq: Add mmc aliases peng.fan
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: peng.fan @ 2020-05-20 2:02 UTC (permalink / raw)
To: shawnguo, fabio.estevam, kernel, aisheng.dong
Cc: linux-arm-kernel, linux-kernel, linux-imx, leonard.crestez,
daniel.baluta, l.stach, devicetree, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Minor patchset to update device tree aliases
Peng Fan (4):
arm64: dts: imx8mq: Add mmc aliases
arm64: dts: imx8mq: Add ethernet alias
arm64: dts: imx8mm: sort the aliases
arm64: dts: imx8mp: add i2c aliases
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 16 ++++++++--------
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 ++++++
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 3 +++
3 files changed, 17 insertions(+), 8 deletions(-)
--
2.16.4
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/4] arm64: dts: imx8mq: Add mmc aliases
2020-05-20 2:02 [PATCH 0/4] arm64: dts: imx8m: dtb aliases update peng.fan
@ 2020-05-20 2:02 ` peng.fan
2020-05-20 2:02 ` [PATCH 2/4] arm64: dts: imx8mq: Add ethernet alias peng.fan
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: peng.fan @ 2020-05-20 2:02 UTC (permalink / raw)
To: shawnguo, fabio.estevam, kernel, aisheng.dong
Cc: linux-arm-kernel, linux-kernel, linux-imx, leonard.crestez,
daniel.baluta, l.stach, devicetree, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Add mmc aliases for kernel usage
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index bab88369be1b..9d3c9693d713 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -29,6 +29,8 @@
i2c1 = &i2c2;
i2c2 = &i2c3;
i2c3 = &i2c4;
+ mmc0 = &usdhc1;
+ mmc1 = &usdhc2;
serial0 = &uart1;
serial1 = &uart2;
serial2 = &uart3;
--
2.16.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/4] arm64: dts: imx8mq: Add ethernet alias
2020-05-20 2:02 [PATCH 0/4] arm64: dts: imx8m: dtb aliases update peng.fan
2020-05-20 2:02 ` [PATCH 1/4] arm64: dts: imx8mq: Add mmc aliases peng.fan
@ 2020-05-20 2:02 ` peng.fan
2020-05-20 2:02 ` [PATCH 3/4] arm64: dts: imx8mm: sort the aliases peng.fan
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: peng.fan @ 2020-05-20 2:02 UTC (permalink / raw)
To: shawnguo, fabio.estevam, kernel, aisheng.dong
Cc: linux-arm-kernel, linux-kernel, linux-imx, leonard.crestez,
daniel.baluta, l.stach, devicetree, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Add ethernet alias, so bootloader code can use this to find the
primary ethernet device, and set the MAC address.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index 9d3c9693d713..1d15680a4962 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -20,6 +20,7 @@
#size-cells = <2>;
aliases {
+ ethernet0 = &fec1;
gpio0 = &gpio1;
gpio1 = &gpio2;
gpio2 = &gpio3;
--
2.16.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/4] arm64: dts: imx8mm: sort the aliases
2020-05-20 2:02 [PATCH 0/4] arm64: dts: imx8m: dtb aliases update peng.fan
2020-05-20 2:02 ` [PATCH 1/4] arm64: dts: imx8mq: Add mmc aliases peng.fan
2020-05-20 2:02 ` [PATCH 2/4] arm64: dts: imx8mq: Add ethernet alias peng.fan
@ 2020-05-20 2:02 ` peng.fan
2020-05-20 2:02 ` [PATCH 4/4] arm64: dts: imx8mp: add i2c aliases peng.fan
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: peng.fan @ 2020-05-20 2:02 UTC (permalink / raw)
To: shawnguo, fabio.estevam, kernel, aisheng.dong
Cc: linux-arm-kernel, linux-kernel, linux-imx, leonard.crestez,
daniel.baluta, l.stach, devicetree, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Sort the aliases alphabetically.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
index c63685ae80ee..f3bbefe3e59f 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
@@ -18,10 +18,18 @@
aliases {
ethernet0 = &fec1;
+ gpio0 = &gpio1;
+ gpio1 = &gpio2;
+ gpio2 = &gpio3;
+ gpio3 = &gpio4;
+ gpio4 = &gpio5;
i2c0 = &i2c1;
i2c1 = &i2c2;
i2c2 = &i2c3;
i2c3 = &i2c4;
+ mmc0 = &usdhc1;
+ mmc1 = &usdhc2;
+ mmc2 = &usdhc3;
serial0 = &uart1;
serial1 = &uart2;
serial2 = &uart3;
@@ -29,14 +37,6 @@
spi0 = &ecspi1;
spi1 = &ecspi2;
spi2 = &ecspi3;
- mmc0 = &usdhc1;
- mmc1 = &usdhc2;
- mmc2 = &usdhc3;
- gpio0 = &gpio1;
- gpio1 = &gpio2;
- gpio2 = &gpio3;
- gpio3 = &gpio4;
- gpio4 = &gpio5;
};
cpus {
--
2.16.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 4/4] arm64: dts: imx8mp: add i2c aliases
2020-05-20 2:02 [PATCH 0/4] arm64: dts: imx8m: dtb aliases update peng.fan
` (2 preceding siblings ...)
2020-05-20 2:02 ` [PATCH 3/4] arm64: dts: imx8mm: sort the aliases peng.fan
@ 2020-05-20 2:02 ` peng.fan
2020-05-20 6:41 ` [PATCH 0/4] arm64: dts: imx8m: dtb aliases update Aisheng Dong
2020-06-18 6:57 ` Shawn Guo
5 siblings, 0 replies; 7+ messages in thread
From: peng.fan @ 2020-05-20 2:02 UTC (permalink / raw)
To: shawnguo, fabio.estevam, kernel, aisheng.dong
Cc: linux-arm-kernel, linux-kernel, linux-imx, leonard.crestez,
daniel.baluta, l.stach, devicetree, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
The devices could be enumerated properly with aliases.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
index 014205fc24f6..73535601261e 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
@@ -23,6 +23,12 @@
gpio2 = &gpio3;
gpio3 = &gpio4;
gpio4 = &gpio5;
+ i2c0 = &i2c1;
+ i2c1 = &i2c2;
+ i2c2 = &i2c3;
+ i2c3 = &i2c4;
+ i2c4 = &i2c5;
+ i2c5 = &i2c6;
mmc0 = &usdhc1;
mmc1 = &usdhc2;
mmc2 = &usdhc3;
--
2.16.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* RE: [PATCH 0/4] arm64: dts: imx8m: dtb aliases update
2020-05-20 2:02 [PATCH 0/4] arm64: dts: imx8m: dtb aliases update peng.fan
` (3 preceding siblings ...)
2020-05-20 2:02 ` [PATCH 4/4] arm64: dts: imx8mp: add i2c aliases peng.fan
@ 2020-05-20 6:41 ` Aisheng Dong
2020-06-18 6:57 ` Shawn Guo
5 siblings, 0 replies; 7+ messages in thread
From: Aisheng Dong @ 2020-05-20 6:41 UTC (permalink / raw)
To: Peng Fan, shawnguo@kernel.org, Fabio Estevam,
kernel@pengutronix.de
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, dl-linux-imx, Leonard Crestez,
Daniel Baluta, l.stach@pengutronix.de, devicetree@vger.kernel.org
> From: Peng Fan <peng.fan@nxp.com>
> Sent: Wednesday, May 20, 2020 10:03 AM
>
> Minor patchset to update device tree aliases
>
> Peng Fan (4):
> arm64: dts: imx8mq: Add mmc aliases
> arm64: dts: imx8mq: Add ethernet alias
> arm64: dts: imx8mm: sort the aliases
> arm64: dts: imx8mp: add i2c aliases
For this patchset,
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Regards
Aisheng
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/4] arm64: dts: imx8m: dtb aliases update
2020-05-20 2:02 [PATCH 0/4] arm64: dts: imx8m: dtb aliases update peng.fan
` (4 preceding siblings ...)
2020-05-20 6:41 ` [PATCH 0/4] arm64: dts: imx8m: dtb aliases update Aisheng Dong
@ 2020-06-18 6:57 ` Shawn Guo
5 siblings, 0 replies; 7+ messages in thread
From: Shawn Guo @ 2020-06-18 6:57 UTC (permalink / raw)
To: peng.fan
Cc: fabio.estevam, kernel, aisheng.dong, linux-arm-kernel,
linux-kernel, linux-imx, leonard.crestez, daniel.baluta, l.stach,
devicetree
On Wed, May 20, 2020 at 10:02:42AM +0800, peng.fan@nxp.com wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Minor patchset to update device tree aliases
>
> Peng Fan (4):
> arm64: dts: imx8mq: Add mmc aliases
> arm64: dts: imx8mq: Add ethernet alias
> arm64: dts: imx8mm: sort the aliases
> arm64: dts: imx8mp: add i2c aliases
Applied all, thanks.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-06-18 6:57 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-20 2:02 [PATCH 0/4] arm64: dts: imx8m: dtb aliases update peng.fan
2020-05-20 2:02 ` [PATCH 1/4] arm64: dts: imx8mq: Add mmc aliases peng.fan
2020-05-20 2:02 ` [PATCH 2/4] arm64: dts: imx8mq: Add ethernet alias peng.fan
2020-05-20 2:02 ` [PATCH 3/4] arm64: dts: imx8mm: sort the aliases peng.fan
2020-05-20 2:02 ` [PATCH 4/4] arm64: dts: imx8mp: add i2c aliases peng.fan
2020-05-20 6:41 ` [PATCH 0/4] arm64: dts: imx8m: dtb aliases update Aisheng Dong
2020-06-18 6:57 ` 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).