Skip to content

Commit bfc607e

Browse files
lucien-nxpnashif
authored andcommitted
dts: arm: nxp: rt118x: add flexspi instance support
add flexspi2 and rename flexspi1 to flexspi to adapt flexspi.c driver under soc/nxp/rt118x folder. Signed-off-by: Lucien Zhao <[email protected]>
1 parent a8f5958 commit bfc607e

File tree

4 files changed

+28
-7
lines changed

4 files changed

+28
-7
lines changed

dts/arm/nxp/nxp_rt118x.dtsi

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@
665665
};
666666
};
667667

668-
&flexspi1 {
668+
&flexspi {
669669
compatible = "nxp,imx-flexspi";
670670
interrupts = <55 0>;
671671
#address-cells = <1>;
@@ -674,6 +674,15 @@
674674
clocks = <&ccm IMX_CCM_FLEXSPI_CLK 0x0 0>;
675675
};
676676

677+
&flexspi2 {
678+
compatible = "nxp,imx-flexspi";
679+
interrupts = <56 0>;
680+
#address-cells = <1>;
681+
#size-cells = <0>;
682+
status = "disabled";
683+
clocks = <&ccm IMX_CCM_FLEXSPI2_CLK 0x0 0>;
684+
};
685+
677686
&memory {
678687
#address-cells = <1>;
679688
#size-cells = <1>;

dts/arm/nxp/nxp_rt118x_cm33.dtsi

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@
3030
ranges = <0x0 0x50000000 0x10000000>;
3131
};
3232

33-
flexspi1: spi@525e0000 {
34-
reg = <0x525e0000 0x4000>,<0x38000000 DT_SIZE_M(128)>;
33+
flexspi: spi@525e0000 {
34+
reg = <0x525e0000 0x4000>, <0x38000000 DT_SIZE_M(128)>;
35+
};
36+
37+
flexspi2: spi@545e0000 {
38+
reg = <0x545e0000 0x4000>, <0x14000000 DT_SIZE_M(64)>;
3539
};
3640
};
3741
};

dts/arm/nxp/nxp_rt118x_cm33_ns.dtsi

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,13 @@
3030
ranges = <0x0 0x40000000 0x10000000>;
3131
};
3232

33-
flexspi1: spi@425e0000 {
34-
reg = <0x425e0000 0x4000>,<0x28000000 DT_SIZE_M(128)>;
33+
flexspi: spi@425e0000 {
34+
reg = <0x425e0000 0x4000>, <0x28000000 DT_SIZE_M(128)>;
3535
};
3636

37+
flexspi2: spi@445e0000 {
38+
reg = <0x445e0000 0x4000>, <0x04000000 DT_SIZE_M(64)>;
39+
};
3740
};
3841
};
3942

dts/arm/nxp/nxp_rt118x_cm7.dtsi

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,13 @@
2626
peripheral: peripheral@40000000 {
2727
ranges = <0x0 0x40000000 0x10000000>;
2828
};
29-
flexspi1: spi@425e0000 {
30-
reg = <0x425e0000 0x4000>,<0x28000000 DT_SIZE_M(128)>;
29+
30+
flexspi: spi@425e0000 {
31+
reg = <0x425e0000 0x4000>, <0x28000000 DT_SIZE_M(128)>;
32+
};
33+
34+
flexspi2: spi@445e0000 {
35+
reg = <0x445e0000 0x4000>, <0x04000000 DT_SIZE_M(64)>;
3136
};
3237
};
3338
};

0 commit comments

Comments
 (0)