]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: imx5: Fix the CCM interrupts description
authorFabio Estevam <festevam@denx.de>
Sun, 12 Jan 2025 15:27:44 +0000 (12:27 -0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 18 Feb 2025 10:01:17 +0000 (18:01 +0800)
On the i.MX5 chips the peripheral interrupts are represented directly only
by their interrupt numbers.

The CCM nodes are not following this format and cause the following
dt-schema warnings:

ccm@73fd4000: interrupts: [[0], [71], [4], [0], [72], [4]] is too long

Fix it by passing only the two interrupt numbers.

Run-time tested in on an imx53-qsb board.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx50.dtsi
arch/arm/boot/dts/nxp/imx/imx51.dtsi
arch/arm/boot/dts/nxp/imx/imx53.dtsi

index 1b6f444443dd1b191709235bf18fae8780fb7988..d76c496b3f713a81b572c9a9db085fba5b2e2f7b 100644 (file)
                        clks: ccm@53fd4000 {
                                compatible = "fsl,imx50-ccm";
                                reg = <0x53fd4000 0x4000>;
-                               interrupts = <0 71 0x04 0 72 0x04>;
+                               interrupts = <71>, <72>;
                                #clock-cells = <1>;
                        };
 
index cc88da4d7785c5083e2b85f613c6213c9a03772e..8323e3a56a1f61c32d899fc3a352d1a36144599a 100644 (file)
                        clks: ccm@73fd4000 {
                                compatible = "fsl,imx51-ccm";
                                reg = <0x73fd4000 0x4000>;
-                               interrupts = <0 71 0x04 0 72 0x04>;
+                               interrupts = <71>, <72>;
                                #clock-cells = <1>;
                        };
                };
index 845e2bf8460addc61b16cfd7e3bba2b3cdec76e5..faac7cc249d0ac0bc2b24241c5249612d0150591 100644 (file)
                        clks: ccm@53fd4000 {
                                compatible = "fsl,imx53-ccm";
                                reg = <0x53fd4000 0x4000>;
-                               interrupts = <0 71 0x04 0 72 0x04>;
+                               interrupts = <71>, <72>;
                                #clock-cells = <1>;
                        };