~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml (Version linux-5.17.15)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS !!   1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/remoteproc/      4 $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: TI K3 DSP devices                            7 title: TI K3 DSP devices
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Suman Anna <s-anna@ti.com>                      10   - Suman Anna <s-anna@ti.com>
 11                                                    11 
 12 description: |                                     12 description: |
 13   The TI K3 family of SoCs usually have one or     13   The TI K3 family of SoCs usually have one or more TI DSP Core sub-systems
 14   that are used to offload some of the process     14   that are used to offload some of the processor-intensive tasks or algorithms,
 15   for achieving various system level goals.        15   for achieving various system level goals.
 16                                                    16 
 17   These processor sub-systems usually contain      17   These processor sub-systems usually contain additional sub-modules like
 18   L1 and/or L2 caches/SRAMs, an Interrupt Cont     18   L1 and/or L2 caches/SRAMs, an Interrupt Controller, an external memory
 19   controller, a dedicated local power/sleep co     19   controller, a dedicated local power/sleep controller etc. The DSP processor
 20   cores in the K3 SoCs are usually either a TM     20   cores in the K3 SoCs are usually either a TMS320C66x CorePac processor or a
 21   TMS320C71x CorePac processor.                    21   TMS320C71x CorePac processor.
 22                                                    22 
 23   Each DSP Core sub-system is represented as a     23   Each DSP Core sub-system is represented as a single DT node. Each node has a
 24   number of required or optional properties th     24   number of required or optional properties that enable the OS running on the
 25   host processor (Arm CorePac) to perform the      25   host processor (Arm CorePac) to perform the device management of the remote
 26   processor and to communicate with the remote     26   processor and to communicate with the remote processor.
 27                                                    27 
                                                   >>  28 allOf:
                                                   >>  29   - $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml#
                                                   >>  30 
 28 properties:                                        31 properties:
 29   compatible:                                      32   compatible:
 30     enum:                                          33     enum:
 31       - ti,am62a-c7xv-dsp                      << 
 32       - ti,j721e-c66-dsp                           34       - ti,j721e-c66-dsp
 33       - ti,j721e-c71-dsp                           35       - ti,j721e-c71-dsp
 34       - ti,j721s2-c71-dsp                          36       - ti,j721s2-c71-dsp
 35     description:                                   37     description:
 36       Use "ti,am62a-c7xv-dsp" for AM62A Deep l << 
 37       Use "ti,j721e-c66-dsp" for C66x DSPs on      38       Use "ti,j721e-c66-dsp" for C66x DSPs on K3 J721E SoCs
 38       Use "ti,j721e-c71-dsp" for C71x DSPs on      39       Use "ti,j721e-c71-dsp" for C71x DSPs on K3 J721E SoCs
 39       Use "ti,j721s2-c71-dsp" for C71x DSPs on     40       Use "ti,j721s2-c71-dsp" for C71x DSPs on K3 J721S2 SoCs
 40                                                    41 
 41   resets:                                          42   resets:
 42     description: |                                 43     description: |
 43       Should contain the phandle to the reset      44       Should contain the phandle to the reset controller node managing the
 44       local resets for this device, and a rese     45       local resets for this device, and a reset specifier.
 45     maxItems: 1                                    46     maxItems: 1
 46                                                    47 
 47   firmware-name:                                   48   firmware-name:
 48     description: |                                 49     description: |
 49       Should contain the name of the default f     50       Should contain the name of the default firmware image
 50       file located on the firmware search path     51       file located on the firmware search path
 51                                                    52 
 52   mboxes:                                          53   mboxes:
 53     description: |                                 54     description: |
 54       OMAP Mailbox specifier denoting the sub-     55       OMAP Mailbox specifier denoting the sub-mailbox, to be used for
 55       communication with the remote processor.     56       communication with the remote processor. This property should match
 56       with the sub-mailbox node used in the fi     57       with the sub-mailbox node used in the firmware image.
 57     maxItems: 1                                    58     maxItems: 1
 58                                                    59 
 59   memory-region:                                   60   memory-region:
 60     minItems: 2                                    61     minItems: 2
 61     maxItems: 8                                    62     maxItems: 8
 62     description: |                                 63     description: |
 63       phandle to the reserved memory nodes to      64       phandle to the reserved memory nodes to be associated with the remoteproc
 64       device. There should be at least two res     65       device. There should be at least two reserved memory nodes defined. The
 65       reserved memory nodes should be carveout     66       reserved memory nodes should be carveout nodes, and should be defined as
 66       per the bindings in                          67       per the bindings in
 67       Documentation/devicetree/bindings/reserv     68       Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
 68     items:                                         69     items:
 69       - description: region used for dynamic D     70       - description: region used for dynamic DMA allocations like vrings and
 70                      vring buffers                 71                      vring buffers
 71       - description: region reserved for firmw     72       - description: region reserved for firmware image sections
 72     additionalItems: true                          73     additionalItems: true
 73                                                    74 
 74 # Optional properties:                             75 # Optional properties:
 75 # --------------------                             76 # --------------------
 76                                                    77 
 77   sram:                                            78   sram:
 78     $ref: /schemas/types.yaml#/definitions/pha     79     $ref: /schemas/types.yaml#/definitions/phandle-array
 79     minItems: 1                                    80     minItems: 1
 80     maxItems: 4                                    81     maxItems: 4
 81     items:                                     << 
 82       maxItems: 1                              << 
 83     description: |                                 82     description: |
 84       phandles to one or more reserved on-chip     83       phandles to one or more reserved on-chip SRAM regions. The regions
 85       should be defined as child nodes of the      84       should be defined as child nodes of the respective SRAM node, and
 86       should be defined as per the generic bin     85       should be defined as per the generic bindings in,
 87       Documentation/devicetree/bindings/sram/s     86       Documentation/devicetree/bindings/sram/sram.yaml
 88                                                    87 
 89 allOf:                                         !!  88 if:
 90   - if:                                        !!  89   properties:
 91       properties:                              !!  90     compatible:
 92         compatible:                            !!  91       enum:
 93           enum:                                !!  92         - ti,j721e-c66-dsp
 94             - ti,j721e-c66-dsp                 !!  93 then:
 95     then:                                      !!  94   properties:
 96       properties:                              !!  95     reg:
 97         reg:                                   !!  96       items:
 98           items:                               !!  97         - description: Address and Size of the L2 SRAM internal memory region
 99             - description: Address and Size of !!  98         - description: Address and Size of the L1 PRAM internal memory region
100             - description: Address and Size of !!  99         - description: Address and Size of the L1 DRAM internal memory region
101             - description: Address and Size of !! 100     reg-names:
102         reg-names:                             !! 101       items:
103           items:                               !! 102         - const: l2sram
104             - const: l2sram                    !! 103         - const: l1pram
105             - const: l1pram                    !! 104         - const: l1dram
106             - const: l1dram                    !! 105 else:
107                                                !! 106   if:
108   - if:                                        !! 107     properties:
109       properties:                              !! 108       compatible:
110         compatible:                            !! 109         enum:
111           enum:                                !! 110           - ti,j721e-c71-dsp
112             - ti,j721e-c71-dsp                 !! 111           - ti,j721s2-c71-dsp
113             - ti,j721s2-c71-dsp                !! 112   then:
114     then:                                      !! 113     properties:
115       properties:                              !! 114       reg:
116         reg:                                   !! 115         items:
117           items:                               !! 116           - description: Address and Size of the L2 SRAM internal memory region
118             - description: Address and Size of !! 117           - description: Address and Size of the L1 DRAM internal memory region
119             - description: Address and Size of !! 118       reg-names:
120         reg-names:                             !! 119         items:
121           items:                               !! 120           - const: l2sram
122             - const: l2sram                    !! 121           - const: l1dram
123             - const: l1dram                    << 
124                                                << 
125   - if:                                        << 
126       properties:                              << 
127         compatible:                            << 
128           enum:                                << 
129             - ti,am62a-c7xv-dsp                << 
130     then:                                      << 
131       properties:                              << 
132         reg:                                   << 
133           items:                               << 
134             - description: Address and Size of << 
135         reg-names:                             << 
136           items:                               << 
137             - const: l2sram                    << 
138                                                << 
139   - $ref: /schemas/arm/keystone/ti,k3-sci-comm << 
140                                                   122 
141 required:                                         123 required:
142   - compatible                                    124   - compatible
143   - reg                                           125   - reg
144   - reg-names                                     126   - reg-names
145   - ti,sci                                        127   - ti,sci
146   - ti,sci-dev-id                                 128   - ti,sci-dev-id
147   - ti,sci-proc-ids                               129   - ti,sci-proc-ids
148   - resets                                        130   - resets
149   - firmware-name                                 131   - firmware-name
150   - mboxes                                        132   - mboxes
151   - memory-region                                 133   - memory-region
152                                                   134 
153 unevaluatedProperties: false                      135 unevaluatedProperties: false
154                                                   136 
155 examples:                                         137 examples:
156   - |                                             138   - |
157     soc {                                         139     soc {
158         #address-cells = <2>;                     140         #address-cells = <2>;
159         #size-cells = <2>;                        141         #size-cells = <2>;
160                                                << 
161         mailbox0_cluster3: mailbox-0 {         << 
162             #mbox-cells = <1>;                 << 
163         };                                     << 
164                                                << 
165         mailbox0_cluster4: mailbox-1 {         << 
166             #mbox-cells = <1>;                 << 
167         };                                     << 
168                                                   142 
169         bus@100000 {                              143         bus@100000 {
170             compatible = "simple-bus";            144             compatible = "simple-bus";
171             #address-cells = <2>;                 145             #address-cells = <2>;
172             #size-cells = <2>;                    146             #size-cells = <2>;
173             ranges = <0x00 0x00100000 0x00 0x0    147             ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
174                      <0x00 0x64800000 0x00 0x6    148                      <0x00 0x64800000 0x00 0x64800000 0x00 0x00800000>, /* C71_0 */
175                      <0x4d 0x80800000 0x4d 0x8    149                      <0x4d 0x80800000 0x4d 0x80800000 0x00 0x00800000>, /* C66_0 */
176                      <0x4d 0x81800000 0x4d 0x8    150                      <0x4d 0x81800000 0x4d 0x81800000 0x00 0x00800000>; /* C66_1 */
177                                                   151 
178             /* J721E C66_0 DSP node */            152             /* J721E C66_0 DSP node */
179             dsp@4d80800000 {                      153             dsp@4d80800000 {
180                 compatible = "ti,j721e-c66-dsp    154                 compatible = "ti,j721e-c66-dsp";
181                 reg = <0x4d 0x80800000 0x00 0x    155                 reg = <0x4d 0x80800000 0x00 0x00048000>,
182                       <0x4d 0x80e00000 0x00 0x    156                       <0x4d 0x80e00000 0x00 0x00008000>,
183                       <0x4d 0x80f00000 0x00 0x    157                       <0x4d 0x80f00000 0x00 0x00008000>;
184                 reg-names = "l2sram", "l1pram"    158                 reg-names = "l2sram", "l1pram", "l1dram";
185                 ti,sci = <&dmsc>;                 159                 ti,sci = <&dmsc>;
186                 ti,sci-dev-id = <142>;            160                 ti,sci-dev-id = <142>;
187                 ti,sci-proc-ids = <0x03 0xFF>;    161                 ti,sci-proc-ids = <0x03 0xFF>;
188                 resets = <&k3_reset 142 1>;       162                 resets = <&k3_reset 142 1>;
189                 firmware-name = "j7-c66_0-fw";    163                 firmware-name = "j7-c66_0-fw";
190                 memory-region = <&c66_0_dma_me    164                 memory-region = <&c66_0_dma_memory_region>,
191                                 <&c66_0_memory    165                                 <&c66_0_memory_region>;
192                 mboxes = <&mailbox0_cluster3 &    166                 mboxes = <&mailbox0_cluster3 &mbox_c66_0>;
193             };                                    167             };
194                                                   168 
195             /* J721E C71_0 DSP node */            169             /* J721E C71_0 DSP node */
196             c71_0: dsp@64800000 {                 170             c71_0: dsp@64800000 {
197                 compatible = "ti,j721e-c71-dsp    171                 compatible = "ti,j721e-c71-dsp";
198                 reg = <0x00 0x64800000 0x00 0x    172                 reg = <0x00 0x64800000 0x00 0x00080000>,
199                       <0x00 0x64e00000 0x00 0x    173                       <0x00 0x64e00000 0x00 0x0000c000>;
200                 reg-names = "l2sram", "l1dram"    174                 reg-names = "l2sram", "l1dram";
201                 ti,sci = <&dmsc>;                 175                 ti,sci = <&dmsc>;
202                 ti,sci-dev-id = <15>;             176                 ti,sci-dev-id = <15>;
203                 ti,sci-proc-ids = <0x30 0xFF>;    177                 ti,sci-proc-ids = <0x30 0xFF>;
204                 resets = <&k3_reset 15 1>;        178                 resets = <&k3_reset 15 1>;
205                 firmware-name = "j7-c71_0-fw";    179                 firmware-name = "j7-c71_0-fw";
206                 memory-region = <&c71_0_dma_me    180                 memory-region = <&c71_0_dma_memory_region>,
207                                 <&c71_0_memory    181                                 <&c71_0_memory_region>;
208                 mboxes = <&mailbox0_cluster4 &    182                 mboxes = <&mailbox0_cluster4 &mbox_c71_0>;
209             };                                    183             };
210         };                                        184         };
211     };                                            185     };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php