Skip to content

Commit ef89fd5

Browse files
Haibo ChenShawn Guo
Haibo Chen
authored and
Shawn Guo
committed
arm64: dts: imx8ulp: add flexspi node
Add flexspi node, flexspi has a special memory region mapped to 0x60000000~0x6fffffff. This region is for AHB usage. So add this region to SoC ranges. Signed-off-by: Haibo Chen <[email protected]> Signed-off-by: Peng Fan <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent db2c35a commit ef89fd5

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

arch/arm64/boot/dts/freescale/imx8ulp.dtsi

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@
195195
compatible = "simple-bus";
196196
#address-cells = <1>;
197197
#size-cells = <1>;
198-
ranges = <0x0 0x0 0x0 0x40000000>;
198+
ranges = <0x0 0x0 0x0 0x40000000>,
199+
<0x60000000 0x0 0x60000000 0x1000000>;
199200

200201
s4muap: mailbox@27020000 {
201202
compatible = "fsl,imx8ulp-mu-s4";
@@ -350,6 +351,21 @@
350351
#reset-cells = <1>;
351352
};
352353

354+
flexspi2: spi@29810000 {
355+
compatible = "nxp,imx8mm-fspi";
356+
reg = <0x29810000 0x10000>, <0x60000000 0x10000000>;
357+
reg-names = "fspi_base", "fspi_mmap";
358+
#address-cells = <1>;
359+
#size-cells = <0>;
360+
interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
361+
clocks = <&pcc4 IMX8ULP_CLK_FLEXSPI2>,
362+
<&pcc4 IMX8ULP_CLK_FLEXSPI2>;
363+
clock-names = "fspi", "fspi_en";
364+
assigned-clocks = <&pcc4 IMX8ULP_CLK_FLEXSPI2>;
365+
assigned-clock-parents = <&cgc1 IMX8ULP_CLK_SPLL3_PFD3_DIV2>;
366+
status = "disabled";
367+
};
368+
353369
lpi2c6: i2c@29840000 {
354370
compatible = "fsl,imx8ulp-lpi2c", "fsl,imx7ulp-lpi2c";
355371
reg = <0x29840000 0x10000>;

0 commit comments

Comments
 (0)