Commit 05a1f130 authored by Apelete Seketeli's avatar Apelete Seketeli Committed by Nishanth Menon

arm64: dts: ti: k3-j784s4: Fix interrupt ranges for wkup & main gpio

This patch fixes the interrupt range for wakeup and main domain gpio
interrupt routers. They were wrongly subtracted by 32 instead of
following what is defined in the interrupt map in the TRM (Table 9-35).

Link:  http://www.ti.com/lit/pdf/spruj52
Fixes: 4664ebd8 ("arm64: dts: ti: Add initial support for J784S4 SoC")
Signed-off-by: default avatarApelete Seketeli <aseketeli@baylibre.com>
Signed-off-by: default avatarEsteban Blanc <eblanc@baylibre.com>
Signed-off-by: default avatarJai Luthra <j-luthra@ti.com>
Link: https://lore.kernel.org/r/20230810-tps6594-v6-4-2b2e2399e2ef@ti.comSigned-off-by: default avatarNishanth Menon <nm@ti.com>
parent 702110c2
...@@ -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 = <10>; ti,sci-dev-id = <10>;
ti,interrupt-ranges = <8 360 56>; ti,interrupt-ranges = <8 392 56>;
}; };
main_pmx0: pinctrl@11c000 { main_pmx0: pinctrl@11c000 {
......
...@@ -107,7 +107,7 @@ wkup_gpio_intr: interrupt-controller@42200000 { ...@@ -107,7 +107,7 @@ wkup_gpio_intr: interrupt-controller@42200000 {
#interrupt-cells = <1>; #interrupt-cells = <1>;
ti,sci = <&sms>; ti,sci = <&sms>;
ti,sci-dev-id = <177>; ti,sci-dev-id = <177>;
ti,interrupt-ranges = <16 928 16>; ti,interrupt-ranges = <16 960 16>;
}; };
/* MCU_TIMERIO pad input CTRLMMR_MCU_TIMER*_CTRL registers */ /* MCU_TIMERIO pad input CTRLMMR_MCU_TIMER*_CTRL registers */
......
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