From: Hari Nagalla <[email protected]>

AM62A SoCs have a single R5F core in the MCU voltage domain.
Add the R5FSS node with the child node for core0 in MCU voltage
domain .dtsi file.

Signed-off-by: Hari Nagalla <[email protected]>
Signed-off-by: Judith Mendez <[email protected]>
Tested-by: Daniel Schultz <[email protected]>
Acked-by: Andrew Davis <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Nishanth Menon <[email protected]>

[ upstream commit: 7f321892dc53015e29cd1055231727b8cdc24923 ]

(cherry picked from commit 349f1d769bb67fda0271159557589c849c843b12)
---
 dts/upstream/src/arm64/ti/k3-am62a-mcu.dtsi | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/dts/upstream/src/arm64/ti/k3-am62a-mcu.dtsi 
b/dts/upstream/src/arm64/ti/k3-am62a-mcu.dtsi
index 
9ed9d703ff24d80171fdb29abbb0d5e3819c8a90..ee961ced7208f99acf239ba9c8d8cbef0c326481
 100644
--- a/dts/upstream/src/arm64/ti/k3-am62a-mcu.dtsi
+++ b/dts/upstream/src/arm64/ti/k3-am62a-mcu.dtsi
@@ -174,4 +174,29 @@
                bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
                status = "disabled";
        };
+
+       mcu_r5fss0: r5fss@79000000 {
+               compatible = "ti,am62-r5fss";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0x79000000 0x00 0x79000000 0x8000>,
+                        <0x79020000 0x00 0x79020000 0x8000>;
+               power-domains = <&k3_pds 7 TI_SCI_PD_EXCLUSIVE>;
+               status = "disabled";
+
+               mcu_r5fss0_core0: r5f@79000000 {
+                       compatible = "ti,am62-r5f";
+                       reg = <0x79000000 0x00008000>,
+                             <0x79020000 0x00008000>;
+                       reg-names = "atcm", "btcm";
+                       resets = <&k3_reset 9 1>;
+                       firmware-name = "am62a-mcu-r5f0_0-fw";
+                       ti,atcm-enable = <0>;
+                       ti,btcm-enable = <1>;
+                       ti,loczrama = <0>;
+                       ti,sci = <&dmsc>;
+                       ti,sci-dev-id = <9>;
+                       ti,sci-proc-ids = <0x03 0xff>;
+               };
+       };
 };

-- 
2.49.0

Reply via email to