diff mbox series

arm64: dts: imx8dxl-ss-conn: Fix Ethernet interrupt-names order

Message ID 20231113193548.28382-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: imx8dxl-ss-conn: Fix Ethernet interrupt-names order | expand

Commit Message

Fabio Estevam Nov. 13, 2023, 7:35 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

Per snps,dwmac.yaml, the interrupt-names entries should be in the
following order: "macirq", "eth_wake_irq";

Change it to fix the following schema warnings.

imx8dxl-evk.dtb: ethernet@5b050000: interrupt-names:0: 'macirq' was expected
	from schema $id: http://devicetree.org/schemas/net/snps,dwmac.yaml#
imx8dxl-evk.dtb: ethernet@5b050000: interrupt-names:1: 'macirq' is not one of ['eth_wake_irq', 'eth_lpi']
	from schema $id: http://devicetree.org/schemas/net/snps,dwmac.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
Frank,

imx8dl Reference Manual is not available at NXP website, so
I cannot check the interrupt map.

Please check and confirm.

 arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Shawn Guo Dec. 6, 2023, 1:08 a.m. UTC | #1
On Mon, Nov 13, 2023 at 04:35:48PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Per snps,dwmac.yaml, the interrupt-names entries should be in the
> following order: "macirq", "eth_wake_irq";
> 
> Change it to fix the following schema warnings.
> 
> imx8dxl-evk.dtb: ethernet@5b050000: interrupt-names:0: 'macirq' was expected
> 	from schema $id: http://devicetree.org/schemas/net/snps,dwmac.yaml#
> imx8dxl-evk.dtb: ethernet@5b050000: interrupt-names:1: 'macirq' is not one of ['eth_wake_irq', 'eth_lpi']
> 	from schema $id: http://devicetree.org/schemas/net/snps,dwmac.yaml#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi
index a414df645351..6e2d97c2fdf1 100644
--- a/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi
@@ -22,7 +22,7 @@  eqos: ethernet@5b050000 {
 		interrupt-parent = <&gic>;
 		interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
 			     <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
-		interrupt-names = "eth_wake_irq", "macirq";
+		interrupt-names = "macirq", "eth_wake_irq";
 		clocks = <&eqos_lpcg IMX_LPCG_CLK_4>,
 			 <&eqos_lpcg IMX_LPCG_CLK_6>,
 			 <&eqos_lpcg IMX_LPCG_CLK_0>,