arm64: dts: ti: k3-j721s2: Fix the interrupt ranges property for main & wkup gpio...
authorKeerthy <j-keerthy@ti.com>
Thu, 22 Sep 2022 07:29:50 +0000 (12:59 +0530)
committerNishanth Menon <nm@ti.com>
Thu, 17 Nov 2022 02:44:35 +0000 (20:44 -0600)
The parent's input irq number is wrongly subtracted with 32 instead of
using the exact numbers in:

https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/j721s2/interrupt_cfg.html

The GPIO interrupts are not working because of that. The toggling works
fine but interrupts are not firing. Fix the parent's input irq that
specifies the base for parent irq.

Tested for MAIN_GPIO0_6 interrupt on the j721s2 EVM.

Fixes: b8545f9d3a54 ("arm64: dts: ti: Add initial support for J721S2 SoC")
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Vaishnav Achath <vaishnav.a@ti.com>
Link: https://lore.kernel.org/r/20220922072950.9157-1-j-keerthy@ti.com
arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi

index d1ec261103761637dca10dc83d664a30462cb23f..7ccf8a761fc9ffd76985a80d6c959e7b58410b11 100644 (file)
@@ -60,7 +60,7 @@
                #interrupt-cells = <1>;
                ti,sci = <&sms>;
                ti,sci-dev-id = <148>;
-               ti,interrupt-ranges = <8 360 56>;
+               ti,interrupt-ranges = <8 392 56>;
        };
 
        main_pmx0: pinctrl@11c000 {
index 3264b8e8faea501c2c0fb4cdaad3368f2c38e98c..0af242aa98162090ade7140e5dbe215f0f72cd2d 100644 (file)
@@ -65,7 +65,7 @@
                #interrupt-cells = <1>;
                ti,sci = <&sms>;
                ti,sci-dev-id = <125>;
-               ti,interrupt-ranges = <16 928 16>;
+               ti,interrupt-ranges = <16 960 16>;
        };
 
        mcu_conf: syscon@40f00000 {