arm64: dts: imx8qxp: dtb aliases fix/update
Subsystems (2)
cover arm64: dts: imx8qxp: dtb aliases fix/update
From: Peng Fan <[email protected]>
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(+)
Signature · 1 line
2.16.4
PATCH 1/3 arm64: dts: imx8qxp: add alias for lsio MU
From: Peng Fan <[email protected]>
Add lsio mu alias for all lsio MUs that could communicate with SCU, imx_scu_enable_general_irq_channel will parse the alias to get the mu resource id, if using other MU, not MU1, the mu_resource_id is not what we expect, so add alias to fix this issue.
--- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/freescale/imx8qxp.dtsi +4 -0
@@ -30,7 +30,11 @@ mmc0 = &usdhc1; mmc1 = &usdhc2; mmc2 = &usdhc3; + mu0 = &lsio_mu0; mu1 = &lsio_mu1; + mu2 = &lsio_mu2; + mu3 = &lsio_mu3; + mu4 = &lsio_mu4; serial0 = &adma_lpuart0; serial1 = &adma_lpuart1; serial2 = &adma_lpuart2;
Signature · 1 line
2.16.4
PATCH 2/3 arm64: dts: imx8qxp: add i2c aliases
In reply to [email protected]From: Peng Fan <[email protected]>
The devices could be enumerated properly with aliases.
--- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/freescale/imx8qxp.dtsi +4 -0
@@ -19,6 +19,10 @@ #size-cells = <2>; aliases { + i2c0 = &adma_i2c0; + i2c1 = &adma_i2c1; + i2c2 = &adma_i2c2; + i2c3 = &adma_i2c3; gpio0 = &lsio_gpio0; gpio1 = &lsio_gpio1; gpio2 = &lsio_gpio2;
Signature · 1 line
2.16.4
Re: [PATCH 2/3] arm64: dts: imx8qxp: add i2c aliases
Quoted 14 lines · On Mon, Jun 01, 2020 at 10:06:19AM +0800, [email protected] wrote:
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(+)arch/arm64/boot/dts/freescale/imx8qxp.dtsi +0
-0
arch/arm64/boot/dts/freescale/imx8qxp.dtsi line 25
Quoted 7 lines
arch/arm64/boot/dts/freescale/imx8qxp.dtsi +4
-0@@ -19,6 +19,10 @@ #size-cells = <2>; aliases { + i2c0 = &adma_i2c0; + i2c1 = &adma_i2c1; + i2c2 = &adma_i2c2; + i2c3 = &adma_i2c3;
Had a second look. It breaks alphabetical order. So dropped the series.
Shawn
Quoted 6 lines
arch/arm64/boot/dts/freescale/imx8qxp.dtsi +0
-0gpio0 = &lsio_gpio0; gpio1 = &lsio_gpio1; gpio2 = &lsio_gpio2;Signature · 1 line
2.16.4
RE: [PATCH 2/3] arm64: dts: imx8qxp: add i2c aliases
Hi Shawn,
Quoted 20 lines
Subject: Re: [PATCH 2/3] arm64: dts: imx8qxp: add i2c aliases
Quoted 17 lines · On Mon, Jun 01, 2020 at 10:06:19AM +0800, [email protected] wrote:
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(+)arch/arm64/boot/dts/freescale/imx8qxp.dtsi +0
-0@@ -19,6 +19,10 @@ #size-cells = <2>;
Quoted 7 lines
arch/arm64/boot/dts/freescale/imx8qxp.dtsi line 25
Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8qxp.dtsi +4
-0aliases { + i2c0 = &adma_i2c0; + i2c1 = &adma_i2c1; + i2c2 = &adma_i2c2; + i2c3 = &adma_i2c3;Had a second look. It breaks alphabetical order. So dropped the series.
V2 has this addressed.
https://patchwork.kernel.org/cover/11619867/
Thanks,
Peng.
Quoted 9 lines
Shawn
Quoted 6 lines
arch/arm64/boot/dts/freescale/imx8qxp.dtsi +0
-1gpio0 = &lsio_gpio0; gpio1 = &lsio_gpio1; gpio2 = &lsio_gpio2; --2.16.4
PATCH 3/3 arm64: dts: imx8qxp: Add ethernet alias
In reply to [email protected]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.
--- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/freescale/imx8qxp.dtsi +2 -0
@@ -23,6 +23,8 @@ i2c1 = &adma_i2c1; i2c2 = &adma_i2c2; i2c3 = &adma_i2c3; + ethernet0 = &fec1; + ethernet1 = &fec2; gpio0 = &lsio_gpio0; gpio1 = &lsio_gpio1; gpio2 = &lsio_gpio2;
Signature · 1 line
2.16.4
Shawn Guo
AppliedQuoted 8 lines · On Mon, Jun 01, 2020 at 10:06:17AM +0800, [email protected] wrote:
From: Peng Fan <[email protected]>
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 all, thanks.