ARM: dts: DRA74x: Add DSP2 processor device node
authorSuman Anna <s-anna@ti.com>
Fri, 24 Apr 2020 15:12:30 +0000 (18:12 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 5 May 2020 18:13:21 +0000 (11:13 -0700)
The DRA7xx family of SoCs can contain upto two identical DSP
processor subsystems. The second DSP processor subsystem is
present only on the DRA74x/DRA76x variants. The processor
device DT node has therefore been added in disabled state for
this processor subsystem in the DRA74x specific DTS file.

NOTE:
1. The node does not have any mailboxes, timers or CMA region
   assigned, they should be added in the respective board dts
   files.
2. The node should also be enabled as per the individual product
   configuration in the corresponding board dts files.

Signed-off-by: Suman Anna <s-anna@ti.com>
[t-kristo@ti.com: converted to support ti-sysc from legacy hwmod]
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra74x.dtsi

index 7b1c6129825312a5919e0561d689fac9912da83d..94ba807690016a51b81098ff8315845a776f5f89 100644 (file)
                                ti,syscon-mmuconfig = <&dsp2_system 0x1>;
                        };
                };
+
+               dsp2: dsp@41000000 {
+                       compatible = "ti,dra7-dsp";
+                       reg = <0x41000000 0x48000>,
+                             <0x41600000 0x8000>,
+                             <0x41700000 0x8000>;
+                       reg-names = "l2ram", "l1pram", "l1dram";
+                       ti,bootreg = <&scm_conf 0x560 10>;
+                       iommus = <&mmu0_dsp2>, <&mmu1_dsp2>;
+                       status = "disabled";
+                       resets = <&prm_dsp2 0>;
+                       clocks = <&dsp2_clkctrl DRA7_DSP2_MMU0_DSP2_CLKCTRL 0>;
+                       firmware-name = "dra7-dsp2-fw.xe66";
+               };
        };
 };