2020-06-23 07:04:17

by Peng Fan

[permalink] [raw]
Subject: [PATCH V2 0/3] arm64: dts: imx8qxp: dtb aliases fix/update

From: Peng Fan <[email protected]>

V2:
Fix order in patch 2/3, no other changes

Minor patchset to fix and update alias for i.MX8QXP

Peng Fan (3):
arm64: dts: imx8qxp: add alias for lsio MU
arm64: dts: imx8qxp: add i2c aliases
arm64: dts: imx8qxp: Add ethernet alias

arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)

--
2.16.4


2020-06-23 07:04:29

by Peng Fan

[permalink] [raw]
Subject: [PATCH V2 2/3] arm64: dts: imx8qxp: add i2c aliases

From: Peng Fan <[email protected]>

The devices could be enumerated properly with aliases.

Signed-off-by: Peng Fan <[email protected]>
---
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
index 33363c127478..3b2fada99c09 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
@@ -27,6 +27,10 @@
gpio5 = &lsio_gpio5;
gpio6 = &lsio_gpio6;
gpio7 = &lsio_gpio7;
+ i2c0 = &adma_i2c0;
+ i2c1 = &adma_i2c1;
+ i2c2 = &adma_i2c2;
+ i2c3 = &adma_i2c3;
mmc0 = &usdhc1;
mmc1 = &usdhc2;
mmc2 = &usdhc3;
--
2.16.4

2020-06-23 07:06:50

by Peng Fan

[permalink] [raw]
Subject: [PATCH V2 3/3] arm64: dts: imx8qxp: Add ethernet alias

From: Peng Fan <[email protected]>

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 <[email protected]>
---
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
index 3b2fada99c09..e46faac1fe71 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
@@ -19,6 +19,8 @@
#size-cells = <2>;

aliases {
+ ethernet0 = &fec1;
+ ethernet1 = &fec2;
gpio0 = &lsio_gpio0;
gpio1 = &lsio_gpio1;
gpio2 = &lsio_gpio2;
--
2.16.4

2020-06-23 11:09:40

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH V2 0/3] arm64: dts: imx8qxp: dtb aliases fix/update

On Tue, Jun 23, 2020 at 02:49:51PM +0800, [email protected] wrote:
> From: Peng Fan <[email protected]>
>
> V2:
> Fix order in patch 2/3, no other changes
>
> Minor patchset to fix and update alias for i.MX8QXP
>
> Peng Fan (3):
> arm64: dts: imx8qxp: add alias for lsio MU
> arm64: dts: imx8qxp: add i2c aliases
> arm64: dts: imx8qxp: Add ethernet alias

Applied, thanks.