* [PATCH 1/3] arm64: dts: ti: k3-am62a-wakeup: Add r5fss
2025-01-22 9:54 [PATCH 0/3] arm64: dts: ti: k3-am62a/p: Add r5fss nodes Markus Schneider-Pargmann
@ 2025-01-22 9:54 ` Markus Schneider-Pargmann
2025-01-22 9:54 ` [PATCH 2/3] arm64: dts: ti: k3-am62a7-sk: Add r5fss memory region Markus Schneider-Pargmann
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Markus Schneider-Pargmann @ 2025-01-22 9:54 UTC (permalink / raw)
To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree, linux-kernel, Markus Schneider-Pargmann
Add r5fss and core0 nodes to the devicetree. This is the same as present
on am62p.
Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
---
arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi
index 0b1dd5390cd3f42b0ec56bab042388722b4c22a1..3555d8d8ad3c1999e772376758047f6f3500fb7a 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi
@@ -88,4 +88,29 @@ wkup_vtm0: temperature-sensor@b00000 {
power-domains = <&k3_pds 95 TI_SCI_PD_EXCLUSIVE>;
#thermal-sensor-cells = <1>;
};
+
+ wkup_r5fss0: r5fss@78000000 {
+ compatible = "ti,am62-r5fss";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0x78000000 0x00 0x78000000 0x8000>,
+ <0x78100000 0x00 0x78100000 0x8000>;
+ power-domains = <&k3_pds 119 TI_SCI_PD_EXCLUSIVE>;
+ status = "disabled";
+
+ wkup_r5fss0_core0: r5f@78000000 {
+ compatible = "ti,am62-r5f";
+ reg = <0x78000000 0x00008000>,
+ <0x78100000 0x00008000>;
+ reg-names = "atcm", "btcm";
+ ti,sci = <&dmsc>;
+ ti,sci-dev-id = <121>;
+ ti,sci-proc-ids = <0x01 0xff>;
+ resets = <&k3_reset 121 1>;
+ firmware-name = "am62-wkup-r5f0_0-fw";
+ ti,atcm-enable = <1>;
+ ti,btcm-enable = <1>;
+ ti,loczrama = <1>;
+ };
+ };
};
--
2.47.1
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH 2/3] arm64: dts: ti: k3-am62a7-sk: Add r5fss memory region
2025-01-22 9:54 [PATCH 0/3] arm64: dts: ti: k3-am62a/p: Add r5fss nodes Markus Schneider-Pargmann
2025-01-22 9:54 ` [PATCH 1/3] arm64: dts: ti: k3-am62a-wakeup: Add r5fss Markus Schneider-Pargmann
@ 2025-01-22 9:54 ` Markus Schneider-Pargmann
2025-01-22 9:54 ` [PATCH 3/3] arm64: dts: ti: k3-am62p5-sk: " Markus Schneider-Pargmann
2025-02-24 15:06 ` [PATCH 0/3] arm64: dts: ti: k3-am62a/p: Add r5fss nodes Judith Mendez
3 siblings, 0 replies; 7+ messages in thread
From: Markus Schneider-Pargmann @ 2025-01-22 9:54 UTC (permalink / raw)
To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree, linux-kernel, Markus Schneider-Pargmann
Add the dma memory region for r5fss and list it in the wkup_r5fss0_core0
as memory-region together with the other already present memory region.
Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
---
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
index a6f0d87a50d8a7ebdb61e609e8071d6681dbec9a..627b045e3056661c11e1e72bc955c6368094c973 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
@@ -61,6 +61,12 @@ secure_ddr: optee@9e800000 {
no-map;
};
+ wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9c800000 {
+ compatible = "shared-dma-pool";
+ reg = <0x00 0x9c800000 0x00 0x100000>;
+ no-map;
+ };
+
wkup_r5fss0_core0_memory_region: r5f-dma-memory@9c900000 {
compatible = "shared-dma-pool";
reg = <0x00 0x9c900000 0x00 0x01e00000>;
@@ -737,3 +743,8 @@ dpi1_out: endpoint {
};
};
};
+
+&wkup_r5fss0_core0 {
+ memory-region = <&wkup_r5fss0_core0_dma_memory_region>,
+ <&wkup_r5fss0_core0_memory_region>;
+};
--
2.47.1
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH 3/3] arm64: dts: ti: k3-am62p5-sk: Add r5fss memory region
2025-01-22 9:54 [PATCH 0/3] arm64: dts: ti: k3-am62a/p: Add r5fss nodes Markus Schneider-Pargmann
2025-01-22 9:54 ` [PATCH 1/3] arm64: dts: ti: k3-am62a-wakeup: Add r5fss Markus Schneider-Pargmann
2025-01-22 9:54 ` [PATCH 2/3] arm64: dts: ti: k3-am62a7-sk: Add r5fss memory region Markus Schneider-Pargmann
@ 2025-01-22 9:54 ` Markus Schneider-Pargmann
2025-02-24 15:06 ` [PATCH 0/3] arm64: dts: ti: k3-am62a/p: Add r5fss nodes Judith Mendez
3 siblings, 0 replies; 7+ messages in thread
From: Markus Schneider-Pargmann @ 2025-01-22 9:54 UTC (permalink / raw)
To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, devicetree, linux-kernel, Markus Schneider-Pargmann
Add the dma memory region for r5fss and list it in the wkup_r5fss0_core0
as memory-region together with the other already present memory region.
Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
---
arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
index 7f3dc39e12bc9ca4a746ff092f946b84a36404b3..cc695c9d662e6f2c41b73ddf4afe0e95888676e4 100644
--- a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
@@ -58,6 +58,12 @@ secure_ddr: optee@9e800000 {
no-map;
};
+ wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9c800000 {
+ compatible = "shared-dma-pool";
+ reg = <0x00 0x9c800000 0x00 0x100000>;
+ no-map;
+ };
+
wkup_r5fss0_core0_memory_region: r5f-dma-memory@9c900000 {
compatible = "shared-dma-pool";
reg = <0x00 0x9c900000 0x00 0x01e00000>;
@@ -677,3 +683,8 @@ &mcu_gpio0 {
&mcu_gpio_intr {
status = "reserved";
};
+
+&wkup_r5fss0_core0 {
+ memory-region = <&wkup_r5fss0_core0_dma_memory_region>,
+ <&wkup_r5fss0_core0_memory_region>;
+};
--
2.47.1
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH 0/3] arm64: dts: ti: k3-am62a/p: Add r5fss nodes
2025-01-22 9:54 [PATCH 0/3] arm64: dts: ti: k3-am62a/p: Add r5fss nodes Markus Schneider-Pargmann
` (2 preceding siblings ...)
2025-01-22 9:54 ` [PATCH 3/3] arm64: dts: ti: k3-am62p5-sk: " Markus Schneider-Pargmann
@ 2025-02-24 15:06 ` Judith Mendez
2025-02-25 10:28 ` Markus Schneider-Pargmann
3 siblings, 1 reply; 7+ messages in thread
From: Judith Mendez @ 2025-02-24 15:06 UTC (permalink / raw)
To: Markus Schneider-Pargmann, Nishanth Menon, Vignesh Raghavendra
Cc: linux-arm-kernel, devicetree, linux-kernel, Tero Kristo,
Krzysztof Kozlowski, Rob Herring, Conor Dooley, Hari Nagalla
Hi Markus,
On 1/22/25 3:54 AM, Markus Schneider-Pargmann wrote:
> Hi,
>
> am62p-wakeup already has the r5fss node defined, but it is currently
> missing from the am62a-wakeup domain in the devicetree. This is added as
> part of the series.
>
> For am62a and am62p starter kit boards the r5fss memory region is added
> and referenced for the r5fss core 0 node.
This has already been sent here:
https://lore.kernel.org/linux-devicetree/20250210221530.1234009-1-jm@ti.com/
Thanks
~ Judith
>
> Best
> Markus
>
> Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
> ---
> Markus Schneider-Pargmann (3):
> arm64: dts: ti: k3-am62a-wakeup: Add r5fss
> arm64: dts: ti: k3-am62a7-sk: Add r5fss memory region
> arm64: dts: ti: k3-am62p5-sk: Add r5fss memory region
>
> arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi | 25 +++++++++++++++++++++++++
> arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 11 +++++++++++
> arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 11 +++++++++++
> 3 files changed, 47 insertions(+)
> ---
> base-commit: 40384c840ea1944d7c5a392e8975ed088ecf0b37
> change-id: 20250121-topic-dt-updates-am62-wkup-v6-13-4d15b4e9e996
>
> Best regards,
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH 0/3] arm64: dts: ti: k3-am62a/p: Add r5fss nodes
2025-02-24 15:06 ` [PATCH 0/3] arm64: dts: ti: k3-am62a/p: Add r5fss nodes Judith Mendez
@ 2025-02-25 10:28 ` Markus Schneider-Pargmann
2025-02-26 14:58 ` Judith Mendez
0 siblings, 1 reply; 7+ messages in thread
From: Markus Schneider-Pargmann @ 2025-02-25 10:28 UTC (permalink / raw)
To: Judith Mendez
Cc: Nishanth Menon, Vignesh Raghavendra, linux-arm-kernel,
devicetree, linux-kernel, Tero Kristo, Krzysztof Kozlowski,
Rob Herring, Conor Dooley, Hari Nagalla
[-- Attachment #1: Type: text/plain, Size: 698 bytes --]
Hi Judith,
On Mon, Feb 24, 2025 at 09:06:56AM -0600, Judith Mendez wrote:
> Hi Markus,
>
> On 1/22/25 3:54 AM, Markus Schneider-Pargmann wrote:
> > Hi,
> >
> > am62p-wakeup already has the r5fss node defined, but it is currently
> > missing from the am62a-wakeup domain in the devicetree. This is added as
> > part of the series.
> >
> > For am62a and am62p starter kit boards the r5fss memory region is added
> > and referenced for the r5fss core 0 node.
>
>
> This has already been sent here:
> https://lore.kernel.org/linux-devicetree/20250210221530.1234009-1-jm@ti.com/
yes, I saw that recently. Could you please cc me on the next version?
Thanks!
Best
Markus
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/3] arm64: dts: ti: k3-am62a/p: Add r5fss nodes
2025-02-25 10:28 ` Markus Schneider-Pargmann
@ 2025-02-26 14:58 ` Judith Mendez
0 siblings, 0 replies; 7+ messages in thread
From: Judith Mendez @ 2025-02-26 14:58 UTC (permalink / raw)
To: Markus Schneider-Pargmann
Cc: Nishanth Menon, Vignesh Raghavendra, linux-arm-kernel,
devicetree, linux-kernel, Tero Kristo, Krzysztof Kozlowski,
Rob Herring, Conor Dooley, Hari Nagalla
Hi Markus,
On 2/25/25 4:28 AM, Markus Schneider-Pargmann wrote:
> Hi Judith,
>
> On Mon, Feb 24, 2025 at 09:06:56AM -0600, Judith Mendez wrote:
>> Hi Markus,
>>
>> On 1/22/25 3:54 AM, Markus Schneider-Pargmann wrote:
>>> Hi,
>>>
>>> am62p-wakeup already has the r5fss node defined, but it is currently
>>> missing from the am62a-wakeup domain in the devicetree. This is added as
>>> part of the series.
>>>
>>> For am62a and am62p starter kit boards the r5fss memory region is added
>>> and referenced for the r5fss core 0 node.
>>
>>
>> This has already been sent here:
>> https://lore.kernel.org/linux-devicetree/20250210221530.1234009-1-jm@ti.com/
>
> yes, I saw that recently. Could you please cc me on the next version?
>
Sure no problem. (:
> Thanks!
>
> Best
> Markus
^ permalink raw reply [flat|nested] 7+ messages in thread