Skip to content

Commit b6819b8

Browse files
MrVanJassi Brar
authored andcommitted
dt-bindings: mailbox: fsl,mu: add i.MX95 Generic/ELE/V2X MU compatible
Add i.MX95 Generic, Secure Enclave and V2X Message Unit compatible string. And the MUs in AONMIX has internal RAMs for SCMI shared buffer usage. Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
1 parent 805d849 commit b6819b8

1 file changed

Lines changed: 57 additions & 1 deletion

File tree

Documentation/devicetree/bindings/mailbox/fsl,mu.yaml

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ properties:
2929
- const: fsl,imx8ulp-mu
3030
- const: fsl,imx8-mu-scu
3131
- const: fsl,imx8-mu-seco
32-
- const: fsl,imx93-mu-s4
3332
- const: fsl,imx8ulp-mu-s4
33+
- const: fsl,imx93-mu-s4
34+
- const: fsl,imx95-mu
35+
- const: fsl,imx95-mu-ele
36+
- const: fsl,imx95-mu-v2x
3437
- items:
3538
- const: fsl,imx93-mu
3639
- const: fsl,imx8ulp-mu
@@ -95,6 +98,19 @@ properties:
9598
power-domains:
9699
maxItems: 1
97100

101+
ranges: true
102+
103+
'#address-cells':
104+
const: 1
105+
106+
'#size-cells':
107+
const: 1
108+
109+
patternProperties:
110+
"^sram@[a-f0-9]+":
111+
$ref: /schemas/sram/sram.yaml#
112+
unevaluatedProperties: false
113+
98114
required:
99115
- compatible
100116
- reg
@@ -122,6 +138,15 @@ allOf:
122138
required:
123139
- interrupt-names
124140

141+
- if:
142+
not:
143+
properties:
144+
compatible:
145+
const: fsl,imx95-mu
146+
then:
147+
patternProperties:
148+
"^sram@[a-f0-9]+": false
149+
125150
additionalProperties: false
126151

127152
examples:
@@ -134,3 +159,34 @@ examples:
134159
interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
135160
#mbox-cells = <2>;
136161
};
162+
163+
- |
164+
#include <dt-bindings/interrupt-controller/arm-gic.h>
165+
166+
mailbox@445b0000 {
167+
compatible = "fsl,imx95-mu";
168+
reg = <0x445b0000 0x10000>;
169+
ranges;
170+
interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
171+
#address-cells = <1>;
172+
#size-cells = <1>;
173+
#mbox-cells = <2>;
174+
175+
sram@445b1000 {
176+
compatible = "mmio-sram";
177+
reg = <0x445b1000 0x400>;
178+
ranges = <0x0 0x445b1000 0x400>;
179+
#address-cells = <1>;
180+
#size-cells = <1>;
181+
182+
scmi-sram-section@0 {
183+
compatible = "arm,scmi-shmem";
184+
reg = <0x0 0x80>;
185+
};
186+
187+
scmi-sram-section@80 {
188+
compatible = "arm,scmi-shmem";
189+
reg = <0x80 0x80>;
190+
};
191+
};
192+
};

0 commit comments

Comments
 (0)