Skip to content

Commit 849380b

Browse files
Patrice ChotardAlexandre Torgue
authored andcommitted
arm64: dts: st: Add OMM node on stm32mp251
Add Octo Memory Manager (OMM) entry on stm32mp251 and its two OSPI instance. Signed-off-by: Patrice Chotard <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Torgue <[email protected]>
1 parent 49ba8fc commit 849380b

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

arch/arm64/boot/dts/st/stm32mp251.dtsi

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,60 @@
230230
#dma-cells = <3>;
231231
};
232232

233+
ommanager: ommanager@40500000 {
234+
compatible = "st,stm32mp25-omm";
235+
reg = <0x40500000 0x400>, <0x60000000 0x10000000>;
236+
reg-names = "regs", "memory_map";
237+
ranges = <0 0 0x40430000 0x400>,
238+
<1 0 0x40440000 0x400>;
239+
clocks = <&rcc CK_BUS_OSPIIOM>,
240+
<&scmi_clk CK_SCMI_OSPI1>,
241+
<&scmi_clk CK_SCMI_OSPI2>;
242+
clock-names = "omm", "ospi1", "ospi2";
243+
resets = <&rcc OSPIIOM_R>,
244+
<&scmi_reset RST_SCMI_OSPI1>,
245+
<&scmi_reset RST_SCMI_OSPI2>;
246+
reset-names = "omm", "ospi1", "ospi2";
247+
access-controllers = <&rifsc 111>;
248+
power-domains = <&CLUSTER_PD>;
249+
#address-cells = <2>;
250+
#size-cells = <1>;
251+
st,syscfg-amcr = <&syscfg 0x2c00 0x7>;
252+
status = "disabled";
253+
254+
ospi1: spi@0 {
255+
compatible = "st,stm32mp25-ospi";
256+
reg = <0 0 0x400>;
257+
interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
258+
dmas = <&hpdma 2 0x62 0x3121>,
259+
<&hpdma 2 0x42 0x3112>;
260+
dma-names = "tx", "rx";
261+
clocks = <&scmi_clk CK_SCMI_OSPI1>;
262+
resets = <&scmi_reset RST_SCMI_OSPI1>,
263+
<&scmi_reset RST_SCMI_OSPI1DLL>;
264+
access-controllers = <&rifsc 74>;
265+
power-domains = <&CLUSTER_PD>;
266+
st,syscfg-dlyb = <&syscfg 0x1000>;
267+
status = "disabled";
268+
};
269+
270+
ospi2: spi@1 {
271+
compatible = "st,stm32mp25-ospi";
272+
reg = <1 0 0x400>;
273+
interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
274+
dmas = <&hpdma 3 0x62 0x3121>,
275+
<&hpdma 3 0x42 0x3112>;
276+
dma-names = "tx", "rx";
277+
clocks = <&scmi_clk CK_SCMI_OSPI2>;
278+
resets = <&scmi_reset RST_SCMI_OSPI2>,
279+
<&scmi_reset RST_SCMI_OSPI2DLL>;
280+
access-controllers = <&rifsc 75>;
281+
power-domains = <&CLUSTER_PD>;
282+
st,syscfg-dlyb = <&syscfg 0x1400>;
283+
status = "disabled";
284+
};
285+
};
286+
233287
rifsc: bus@42080000 {
234288
compatible = "st,stm32mp25-rifsc", "simple-bus";
235289
reg = <0x42080000 0x1000>;

0 commit comments

Comments
 (0)