Skip to content

Commit 05117ba

Browse files
Marek Vasutmathieupoirier
authored andcommitted
dt-bindings: remoteproc: imx_rproc: Support i.MX8MN/P MMIO
The MX8M CM7 boot via SMC call is problematic, since not all versions of ATF support this interface. Document MMIO support used to boot the CM7 on MX8MN/MP instead and discern MMIO interface using DT compatible string. Document GPR register syscon phandle which is required by the MMIO interface too. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mathieu Poirier <[email protected]>
1 parent 7784311 commit 05117ba

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ properties:
2020
- fsl,imx7ulp-cm4
2121
- fsl,imx8mm-cm4
2222
- fsl,imx8mn-cm7
23+
- fsl,imx8mn-cm7-mmio
2324
- fsl,imx8mp-cm7
25+
- fsl,imx8mp-cm7-mmio
2426
- fsl,imx8mq-cm4
2527
- fsl,imx8qm-cm4
2628
- fsl,imx8qxp-cm4
@@ -70,6 +72,11 @@ properties:
7072
description:
7173
Specify CPU entry address for SCU enabled processor.
7274

75+
fsl,iomuxc-gpr:
76+
$ref: /schemas/types.yaml#/definitions/phandle
77+
description:
78+
Phandle to IOMUXC GPR block which provide access to CM7 CPUWAIT bit.
79+
7380
fsl,resource-id:
7481
$ref: /schemas/types.yaml#/definitions/uint32
7582
description:
@@ -79,6 +86,19 @@ properties:
7986
required:
8087
- compatible
8188

89+
allOf:
90+
- if:
91+
properties:
92+
compatible:
93+
not:
94+
contains:
95+
enum:
96+
- fsl,imx8mn-cm7-mmio
97+
- fsl,imx8mp-cm7-mmio
98+
then:
99+
properties:
100+
fsl,iomuxc-gpr: false
101+
82102
additionalProperties: false
83103

84104
examples:

0 commit comments

Comments
 (0)