Skip to content
/ linux Public
forked from torvalds/linux

Commit

Permalink
arm64: dts: imx8ulp: add flexspi node
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Haibo Chen authored and Shawn Guo committed Jul 30, 2023
1 parent db2c35a commit ef89fd5
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion arch/arm64/boot/dts/freescale/imx8ulp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x0 0x0 0x40000000>;
ranges = <0x0 0x0 0x0 0x40000000>,
<0x60000000 0x0 0x60000000 0x1000000>;

s4muap: mailbox@27020000 {
compatible = "fsl,imx8ulp-mu-s4";
Expand Down Expand Up @@ -350,6 +351,21 @@
#reset-cells = <1>;
};

flexspi2: spi@29810000 {
compatible = "nxp,imx8mm-fspi";
reg = <0x29810000 0x10000>, <0x60000000 0x10000000>;
reg-names = "fspi_base", "fspi_mmap";
#address-cells = <1>;
#size-cells = <0>;
interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&pcc4 IMX8ULP_CLK_FLEXSPI2>,
<&pcc4 IMX8ULP_CLK_FLEXSPI2>;
clock-names = "fspi", "fspi_en";
assigned-clocks = <&pcc4 IMX8ULP_CLK_FLEXSPI2>;
assigned-clock-parents = <&cgc1 IMX8ULP_CLK_SPLL3_PFD3_DIV2>;
status = "disabled";
};

lpi2c6: i2c@29840000 {
compatible = "fsl,imx8ulp-lpi2c", "fsl,imx7ulp-lpi2c";
reg = <0x29840000 0x10000>;
Expand Down

0 comments on commit ef89fd5

Please sign in to comment.