Commit b8aa36c2 authored by Keerthy's avatar Keerthy Committed by Nishanth Menon

arm64: dts: ti: k3-j721s2: Fix the interrupt ranges property for main & wkup gpio intr

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: b8545f9d ("arm64: dts: ti: Add initial support for J721S2 SoC")
Signed-off-by: default avatarKeerthy <j-keerthy@ti.com>
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Reviewed-by: default avatarVaishnav Achath <vaishnav.a@ti.com>
Link: https://lore.kernel.org/r/20220922072950.9157-1-j-keerthy@ti.com
parent f00f2671
...@@ -60,7 +60,7 @@ main_gpio_intr: interrupt-controller@a00000 { ...@@ -60,7 +60,7 @@ main_gpio_intr: interrupt-controller@a00000 {
#interrupt-cells = <1>; #interrupt-cells = <1>;
ti,sci = <&sms>; ti,sci = <&sms>;
ti,sci-dev-id = <148>; ti,sci-dev-id = <148>;
ti,interrupt-ranges = <8 360 56>; ti,interrupt-ranges = <8 392 56>;
}; };
main_pmx0: pinctrl@11c000 { main_pmx0: pinctrl@11c000 {
......
...@@ -65,7 +65,7 @@ wkup_gpio_intr: interrupt-controller@42200000 { ...@@ -65,7 +65,7 @@ wkup_gpio_intr: interrupt-controller@42200000 {
#interrupt-cells = <1>; #interrupt-cells = <1>;
ti,sci = <&sms>; ti,sci = <&sms>;
ti,sci-dev-id = <125>; ti,sci-dev-id = <125>;
ti,interrupt-ranges = <16 928 16>; ti,interrupt-ranges = <16 960 16>;
}; };
mcu_conf: syscon@40f00000 { mcu_conf: syscon@40f00000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment