Commit 430e2978 authored by Hari Nagalla's avatar Hari Nagalla Committed by Mathieu Poirier

dt-bindings: remoteproc: k3-dsp: Correct optional sram properties for AM62A SoCs

The C7xv-dsp on AM62A have 32KB L1 I-cache and a 64KB L1 D-cache. It
does not have an addressable l1dram . So, remove this optional sram
property from the bindings to fix device tree build warnings.
Signed-off-by: default avatarHari Nagalla <hnagalla@ti.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240604171450.2455-1-hnagalla@ti.comSigned-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
parent 568b13b6
...@@ -25,9 +25,6 @@ description: | ...@@ -25,9 +25,6 @@ description: |
host processor (Arm CorePac) to perform the device management of the remote host processor (Arm CorePac) to perform the device management of the remote
processor and to communicate with the remote processor. processor and to communicate with the remote processor.
allOf:
- $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -89,41 +86,57 @@ properties: ...@@ -89,41 +86,57 @@ properties:
should be defined as per the generic bindings in, should be defined as per the generic bindings in,
Documentation/devicetree/bindings/sram/sram.yaml Documentation/devicetree/bindings/sram/sram.yaml
if: allOf:
properties: - if:
compatible: properties:
enum: compatible:
- ti,j721e-c66-dsp enum:
then: - ti,j721e-c66-dsp
properties: then:
reg: properties:
items: reg:
- description: Address and Size of the L2 SRAM internal memory region items:
- description: Address and Size of the L1 PRAM internal memory region - description: Address and Size of the L2 SRAM internal memory region
- description: Address and Size of the L1 DRAM internal memory region - description: Address and Size of the L1 PRAM internal memory region
reg-names: - description: Address and Size of the L1 DRAM internal memory region
items: reg-names:
- const: l2sram items:
- const: l1pram - const: l2sram
- const: l1dram - const: l1pram
else: - const: l1dram
if:
properties: - if:
compatible: properties:
enum: compatible:
- ti,am62a-c7xv-dsp enum:
- ti,j721e-c71-dsp - ti,j721e-c71-dsp
- ti,j721s2-c71-dsp - ti,j721s2-c71-dsp
then: then:
properties: properties:
reg: reg:
items: items:
- description: Address and Size of the L2 SRAM internal memory region - description: Address and Size of the L2 SRAM internal memory region
- description: Address and Size of the L1 DRAM internal memory region - description: Address and Size of the L1 DRAM internal memory region
reg-names: reg-names:
items: items:
- const: l2sram - const: l2sram
- const: l1dram - const: l1dram
- if:
properties:
compatible:
enum:
- ti,am62a-c7xv-dsp
then:
properties:
reg:
items:
- description: Address and Size of the L2 SRAM internal memory region
reg-names:
items:
- const: l2sram
- $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml#
required: required:
- compatible - compatible
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment