* [PATCH v4 1/2] arm64: dts: ti: k3-j784s4-main.dtsi: Sort the nodes in appropriate order
2026-01-12 8:51 [PATCH v4 0/2] Refactor watchdog instances for j784s4 and j742s2 Abhash Kumar Jha
@ 2026-01-12 8:51 ` Abhash Kumar Jha
2026-01-13 13:11 ` Kumar, Udit
2026-01-14 16:31 ` Kumar, Udit
2026-01-12 8:51 ` [PATCH v4 2/2] arm64: dts: ti: k3-j784s4-j742s2-main-common.dtsi: Refactor watchdog instances for j784s4 Abhash Kumar Jha
2026-01-14 17:11 ` [PATCH v4 0/2] Refactor watchdog instances for j784s4 and j742s2 Nishanth Menon
2 siblings, 2 replies; 7+ messages in thread
From: Abhash Kumar Jha @ 2026-01-12 8:51 UTC (permalink / raw)
To: nm, vigneshr, kristo, robh, conor+dt, krzk+dt
Cc: linux-arm-kernel, linux-kernel, devicetree, u-kumar1, p-mantena,
m-chawdhry
The device tree nodes should be ordered by unit addresses in ascending
order.
Correct the order by moving the dsp node at the end as it has a higher unit
address.
Signed-off-by: Abhash Kumar Jha <a-kumar2@ti.com>
---
arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 26 +++++++++++-----------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
index 0160fe0da983..5b7830a3c097 100644
--- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
@@ -6,19 +6,6 @@
*/
&cbass_main {
- c71_3: dsp@67800000 {
- compatible = "ti,j721s2-c71-dsp";
- reg = <0x00 0x67800000 0x00 0x00080000>,
- <0x00 0x67e00000 0x00 0x0000c000>;
- reg-names = "l2sram", "l1dram";
- resets = <&k3_reset 40 1>;
- firmware-name = "j784s4-c71_3-fw";
- ti,sci = <&sms>;
- ti,sci-dev-id = <40>;
- ti,sci-proc-ids = <0x33 0xff>;
- status = "disabled";
- };
-
pcie2_rc: pcie@2920000 {
compatible = "ti,j784s4-pcie-host";
reg = <0x00 0x02920000 0x00 0x1000>,
@@ -113,6 +100,19 @@ serdes2: serdes@5020000 {
status = "disabled";
};
};
+
+ c71_3: dsp@67800000 {
+ compatible = "ti,j721s2-c71-dsp";
+ reg = <0x00 0x67800000 0x00 0x00080000>,
+ <0x00 0x67e00000 0x00 0x0000c000>;
+ reg-names = "l2sram", "l1dram";
+ resets = <&k3_reset 40 1>;
+ firmware-name = "j784s4-c71_3-fw";
+ ti,sci = <&sms>;
+ ti,sci-dev-id = <40>;
+ ti,sci-proc-ids = <0x33 0xff>;
+ status = "disabled";
+ };
};
&scm_conf {
--
2.34.1
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH v4 1/2] arm64: dts: ti: k3-j784s4-main.dtsi: Sort the nodes in appropriate order
2026-01-12 8:51 ` [PATCH v4 1/2] arm64: dts: ti: k3-j784s4-main.dtsi: Sort the nodes in appropriate order Abhash Kumar Jha
@ 2026-01-13 13:11 ` Kumar, Udit
2026-01-14 16:31 ` Kumar, Udit
1 sibling, 0 replies; 7+ messages in thread
From: Kumar, Udit @ 2026-01-13 13:11 UTC (permalink / raw)
To: Abhash Kumar Jha, nm, vigneshr, kristo, robh, conor+dt, krzk+dt
Cc: linux-arm-kernel, linux-kernel, devicetree, p-mantena,
m-chawdhry, u-kumar1
On 1/12/2026 2:21 PM, Abhash Kumar Jha wrote:
> The device tree nodes should be ordered by unit addresses in ascending
> order.
>
> Correct the order by moving the dsp node at the end as it has a higher unit
> address.
>
> Signed-off-by: Abhash Kumar Jha <a-kumar2@ti.com>
> ---
Please keep clean up as separate patch or series.
> arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 26 +++++++++++-----------
> 1 file changed, 13 insertions(+), 13 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
> index 0160fe0da983..5b7830a3c097 100644
> --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
> @@ -6,19 +6,6 @@
> */
>
> &cbass_main {
> - c71_3: dsp@67800000 {
> - compatible = "ti,j721s2-c71-dsp";
> - reg = <0x00 0x67800000 0x00 0x00080000>,
> - <0x00 0x67e00000 0x00 0x0000c000>;
> - reg-names = "l2sram", "l1dram";
> - resets = <&k3_reset 40 1>;
> - firmware-name = "j784s4-c71_3-fw";
> - ti,sci = <&sms>;
> - ti,sci-dev-id = <40>;
> - ti,sci-proc-ids = <0x33 0xff>;
> - status = "disabled";
> - };
> -
> pcie2_rc: pcie@2920000 {
> compatible = "ti,j784s4-pcie-host";
> reg = <0x00 0x02920000 0x00 0x1000>,
> @@ -113,6 +100,19 @@ serdes2: serdes@5020000 {
> status = "disabled";
> };
> };
> +
> + c71_3: dsp@67800000 {
> + compatible = "ti,j721s2-c71-dsp";
> + reg = <0x00 0x67800000 0x00 0x00080000>,
> + <0x00 0x67e00000 0x00 0x0000c000>;
> + reg-names = "l2sram", "l1dram";
> + resets = <&k3_reset 40 1>;
> + firmware-name = "j784s4-c71_3-fw";
> + ti,sci = <&sms>;
> + ti,sci-dev-id = <40>;
> + ti,sci-proc-ids = <0x33 0xff>;
> + status = "disabled";
> + };
> };
>
> &scm_conf {
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH v4 1/2] arm64: dts: ti: k3-j784s4-main.dtsi: Sort the nodes in appropriate order
2026-01-12 8:51 ` [PATCH v4 1/2] arm64: dts: ti: k3-j784s4-main.dtsi: Sort the nodes in appropriate order Abhash Kumar Jha
2026-01-13 13:11 ` Kumar, Udit
@ 2026-01-14 16:31 ` Kumar, Udit
1 sibling, 0 replies; 7+ messages in thread
From: Kumar, Udit @ 2026-01-14 16:31 UTC (permalink / raw)
To: Abhash Kumar Jha, nm, vigneshr, kristo, robh, conor+dt, krzk+dt
Cc: linux-arm-kernel, linux-kernel, devicetree, p-mantena, m-chawdhry
On 1/12/2026 2:21 PM, Abhash Kumar Jha wrote:
> The device tree nodes should be ordered by unit addresses in ascending
> order.
>
> Correct the order by moving the dsp node at the end as it has a higher unit
> address.
>
> Signed-off-by: Abhash Kumar Jha <a-kumar2@ti.com>
> ---
> arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 26 +++++++++++-----------
> 1 file changed, 13 insertions(+), 13 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
> index 0160fe0da983..5b7830a3c097 100644
> --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
> @@ -6,19 +6,6 @@
> */
>
> &cbass_main {
> - c71_3: dsp@67800000 {
> - compatible = "ti,j721s2-c71-dsp";
> - reg = <0x00 0x67800000 0x00 0x00080000>,
> - <0x00 0x67e00000 0x00 0x0000c000>;
> - reg-names = "l2sram", "l1dram";
> - resets = <&k3_reset 40 1>;
> - firmware-name = "j784s4-c71_3-fw";
> - ti,sci = <&sms>;
> - ti,sci-dev-id = <40>;
> - ti,sci-proc-ids = <0x33 0xff>;
> - status = "disabled";
> - };
> -
> pcie2_rc: pcie@2920000 {
> compatible = "ti,j784s4-pcie-host";
> reg = <0x00 0x02920000 0x00 0x1000>,
> @@ -113,6 +100,19 @@ serdes2: serdes@5020000 {
> status = "disabled";
> };
> };
> +
> + c71_3: dsp@67800000 {
> + compatible = "ti,j721s2-c71-dsp";
> + reg = <0x00 0x67800000 0x00 0x00080000>,
> + <0x00 0x67e00000 0x00 0x0000c000>;
> + reg-names = "l2sram", "l1dram";
> + resets = <&k3_reset 40 1>;
> + firmware-name = "j784s4-c71_3-fw";
> + ti,sci = <&sms>;
> + ti,sci-dev-id = <40>;
> + ti,sci-proc-ids = <0x33 0xff>;
> + status = "disabled";
> + };
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
> };
>
> &scm_conf {
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v4 2/2] arm64: dts: ti: k3-j784s4-j742s2-main-common.dtsi: Refactor watchdog instances for j784s4
2026-01-12 8:51 [PATCH v4 0/2] Refactor watchdog instances for j784s4 and j742s2 Abhash Kumar Jha
2026-01-12 8:51 ` [PATCH v4 1/2] arm64: dts: ti: k3-j784s4-main.dtsi: Sort the nodes in appropriate order Abhash Kumar Jha
@ 2026-01-12 8:51 ` Abhash Kumar Jha
2026-01-13 13:15 ` Kumar, Udit
2026-01-14 17:11 ` [PATCH v4 0/2] Refactor watchdog instances for j784s4 and j742s2 Nishanth Menon
2 siblings, 1 reply; 7+ messages in thread
From: Abhash Kumar Jha @ 2026-01-12 8:51 UTC (permalink / raw)
To: nm, vigneshr, kristo, robh, conor+dt, krzk+dt
Cc: linux-arm-kernel, linux-kernel, devicetree, u-kumar1, p-mantena,
m-chawdhry
Each A72 core has one watchdog instance associated with it. Since j742s2
has 4 A72 cores, the common file should not define 8 watchdog instances.
Refactor the last 4 extra watchdogs from the common file to j784s4
specific file, as j784s4 has 8 A72 cores and thus hardware description
requires 8 watchdog instances.
Fixes: 9cc161a4509c ("arm64: dts: ti: Refactor J784s4 SoC files to a common file")
Signed-off-by: Abhash Kumar Jha <a-kumar2@ti.com>
---
.../dts/ti/k3-j784s4-j742s2-main-common.dtsi | 36 -------------------
arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 36 +++++++++++++++++++
2 files changed, 36 insertions(+), 36 deletions(-)
diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi
index 9cc0901d58fb..c2636e624f18 100644
--- a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi
@@ -2378,42 +2378,6 @@ watchdog3: watchdog@2230000 {
assigned-clock-parents = <&k3_clks 351 4>;
};
- watchdog4: watchdog@2240000 {
- compatible = "ti,j7-rti-wdt";
- reg = <0x00 0x2240000 0x00 0x100>;
- clocks = <&k3_clks 352 0>;
- power-domains = <&k3_pds 352 TI_SCI_PD_EXCLUSIVE>;
- assigned-clocks = <&k3_clks 352 0>;
- assigned-clock-parents = <&k3_clks 352 4>;
- };
-
- watchdog5: watchdog@2250000 {
- compatible = "ti,j7-rti-wdt";
- reg = <0x00 0x2250000 0x00 0x100>;
- clocks = <&k3_clks 353 0>;
- power-domains = <&k3_pds 353 TI_SCI_PD_EXCLUSIVE>;
- assigned-clocks = <&k3_clks 353 0>;
- assigned-clock-parents = <&k3_clks 353 4>;
- };
-
- watchdog6: watchdog@2260000 {
- compatible = "ti,j7-rti-wdt";
- reg = <0x00 0x2260000 0x00 0x100>;
- clocks = <&k3_clks 354 0>;
- power-domains = <&k3_pds 354 TI_SCI_PD_EXCLUSIVE>;
- assigned-clocks = <&k3_clks 354 0>;
- assigned-clock-parents = <&k3_clks 354 4>;
- };
-
- watchdog7: watchdog@2270000 {
- compatible = "ti,j7-rti-wdt";
- reg = <0x00 0x2270000 0x00 0x100>;
- clocks = <&k3_clks 355 0>;
- power-domains = <&k3_pds 355 TI_SCI_PD_EXCLUSIVE>;
- assigned-clocks = <&k3_clks 355 0>;
- assigned-clock-parents = <&k3_clks 355 4>;
- };
-
/*
* The following RTI instances are coupled with MCU R5Fs, c7x and
* GPU so keeping them reserved as these will be used by their
diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
index 5b7830a3c097..78fcd0c40abc 100644
--- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
@@ -6,6 +6,42 @@
*/
&cbass_main {
+ watchdog4: watchdog@2240000 {
+ compatible = "ti,j7-rti-wdt";
+ reg = <0x00 0x2240000 0x00 0x100>;
+ clocks = <&k3_clks 352 0>;
+ power-domains = <&k3_pds 352 TI_SCI_PD_EXCLUSIVE>;
+ assigned-clocks = <&k3_clks 352 0>;
+ assigned-clock-parents = <&k3_clks 352 4>;
+ };
+
+ watchdog5: watchdog@2250000 {
+ compatible = "ti,j7-rti-wdt";
+ reg = <0x00 0x2250000 0x00 0x100>;
+ clocks = <&k3_clks 353 0>;
+ power-domains = <&k3_pds 353 TI_SCI_PD_EXCLUSIVE>;
+ assigned-clocks = <&k3_clks 353 0>;
+ assigned-clock-parents = <&k3_clks 353 4>;
+ };
+
+ watchdog6: watchdog@2260000 {
+ compatible = "ti,j7-rti-wdt";
+ reg = <0x00 0x2260000 0x00 0x100>;
+ clocks = <&k3_clks 354 0>;
+ power-domains = <&k3_pds 354 TI_SCI_PD_EXCLUSIVE>;
+ assigned-clocks = <&k3_clks 354 0>;
+ assigned-clock-parents = <&k3_clks 354 4>;
+ };
+
+ watchdog7: watchdog@2270000 {
+ compatible = "ti,j7-rti-wdt";
+ reg = <0x00 0x2270000 0x00 0x100>;
+ clocks = <&k3_clks 355 0>;
+ power-domains = <&k3_pds 355 TI_SCI_PD_EXCLUSIVE>;
+ assigned-clocks = <&k3_clks 355 0>;
+ assigned-clock-parents = <&k3_clks 355 4>;
+ };
+
pcie2_rc: pcie@2920000 {
compatible = "ti,j784s4-pcie-host";
reg = <0x00 0x02920000 0x00 0x1000>,
--
2.34.1
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH v4 2/2] arm64: dts: ti: k3-j784s4-j742s2-main-common.dtsi: Refactor watchdog instances for j784s4
2026-01-12 8:51 ` [PATCH v4 2/2] arm64: dts: ti: k3-j784s4-j742s2-main-common.dtsi: Refactor watchdog instances for j784s4 Abhash Kumar Jha
@ 2026-01-13 13:15 ` Kumar, Udit
0 siblings, 0 replies; 7+ messages in thread
From: Kumar, Udit @ 2026-01-13 13:15 UTC (permalink / raw)
To: Abhash Kumar Jha, nm, vigneshr, kristo, robh, conor+dt, krzk+dt
Cc: linux-arm-kernel, linux-kernel, devicetree, p-mantena,
m-chawdhry, u-kumar1
On 1/12/2026 2:21 PM, Abhash Kumar Jha wrote:
> Each A72 core has one watchdog instance associated with it. Since j742s2
> has 4 A72 cores, the common file should not define 8 watchdog instances.
>
> Refactor the last 4 extra watchdogs from the common file to j784s4
> specific file, as j784s4 has 8 A72 cores and thus hardware description
> requires 8 watchdog instances.
>
> Fixes: 9cc161a4509c ("arm64: dts: ti: Refactor J784s4 SoC files to a common file")
> Signed-off-by: Abhash Kumar Jha <a-kumar2@ti.com>
> ---
> .../dts/ti/k3-j784s4-j742s2-main-common.dtsi | 36 -------------------
> arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 36 +++++++++++++++++++
> 2 files changed, 36 insertions(+), 36 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi
> index 9cc0901d58fb..c2636e624f18 100644
> --- a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi
> @@ -2378,42 +2378,6 @@ watchdog3: watchdog@2230000 {
> assigned-clock-parents = <&k3_clks 351 4>;
> };
>
> - watchdog4: watchdog@2240000 {
> - compatible = "ti,j7-rti-wdt";
> - reg = <0x00 0x2240000 0x00 0x100>;
> - clocks = <&k3_clks 352 0>;
> - power-domains = <&k3_pds 352 TI_SCI_PD_EXCLUSIVE>;
> - assigned-clocks = <&k3_clks 352 0>;
> - assigned-clock-parents = <&k3_clks 352 4>;
> - };
> -
> [..]
> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
> index 5b7830a3c097..78fcd0c40abc 100644
> --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
> @@ -6,6 +6,42 @@
> */
>
> &cbass_main {
> + watchdog4: watchdog@2240000 {
> + compatible = "ti,j7-rti-wdt";
> + reg = <0x00 0x2240000 0x00 0x100>;
> + clocks = <&k3_clks 352 0>;
> + power-domains = <&k3_pds 352 TI_SCI_PD_EXCLUSIVE>;
> + assigned-clocks = <&k3_clks 352 0>;
> + assigned-clock-parents = <&k3_clks 352 4>;
> + };
[..]
For this patch
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v4 0/2] Refactor watchdog instances for j784s4 and j742s2
2026-01-12 8:51 [PATCH v4 0/2] Refactor watchdog instances for j784s4 and j742s2 Abhash Kumar Jha
2026-01-12 8:51 ` [PATCH v4 1/2] arm64: dts: ti: k3-j784s4-main.dtsi: Sort the nodes in appropriate order Abhash Kumar Jha
2026-01-12 8:51 ` [PATCH v4 2/2] arm64: dts: ti: k3-j784s4-j742s2-main-common.dtsi: Refactor watchdog instances for j784s4 Abhash Kumar Jha
@ 2026-01-14 17:11 ` Nishanth Menon
2 siblings, 0 replies; 7+ messages in thread
From: Nishanth Menon @ 2026-01-14 17:11 UTC (permalink / raw)
To: vigneshr, kristo, robh, conor+dt, krzk+dt, Abhash Kumar Jha
Cc: Nishanth Menon, linux-arm-kernel, linux-kernel, devicetree,
u-kumar1, p-mantena, m-chawdhry
Hi Abhash Kumar Jha,
On Mon, 12 Jan 2026 14:21:11 +0530, Abhash Kumar Jha wrote:
> This series performs some refactoring around watchdogs for the j784s4
> and j742s2 socs. We have one watchdog per A72 core, hence the number of
> watchdog instances should match the number of A72 cores.
>
> Move out the extra watchdog instances from the common file and put them
> only in the soc specific file.
>
> [...]
I have applied the following to branch ti-k3-dts-next on [1].
Thank you!
[1/2] arm64: dts: ti: k3-j784s4-main.dtsi: Sort the nodes in appropriate order
commit: 24c9d5fb8bbf5e8c9e6fc2beffeb80ac2da83de4
[2/2] arm64: dts: ti: k3-j784s4-j742s2-main-common.dtsi: Refactor watchdog instances for j784s4
commit: 61acc4428a7f52e0a13e226ba76f2ce2ca66c065
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
https://ti.com/opensource
^ permalink raw reply [flat|nested] 7+ messages in thread