Skip to content

Commit

Permalink
dts: nxp: Add FlexSPI2 defines for RT595
Browse files Browse the repository at this point in the history
Adding FlexSPI2 for RT595

Signed-off-by: Mahesh Mahadevan <[email protected]>
  • Loading branch information
mmahadevan108 authored and carlescufi committed Nov 16, 2022
1 parent 6e215ce commit df42cf3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
6 changes: 5 additions & 1 deletion dts/arm/nxp/nxp_rt5xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
};

flexspi: spi@134000 {
reg = <0x50134000 0x1000>, <0x18000000 DT_SIZE_M(64)>;
reg = <0x50134000 0x1000>, <0x18000000 DT_SIZE_M(128)>;
};

flexspi2: spi@13C000 {
reg = <0x5013C000 0x1000>, <0x38000000 DT_SIZE_M(128)>;
};
};
};
Expand Down
7 changes: 7 additions & 0 deletions dts/arm/nxp/nxp_rt5xx_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,13 @@
#size-cells = <0>;
};

&flexspi2 {
compatible = "nxp,imx-flexspi";
status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
};

&nvic {
arm,num-irq-priority-bits = <3>;
};
6 changes: 5 additions & 1 deletion dts/arm/nxp/nxp_rt5xx_ns.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
};

flexspi: spi@134000 {
reg = <0x4134000 0x1000>, <0x08000000 DT_SIZE_M(64)>;
reg = <0x40134000 0x1000>, <0x08000000 DT_SIZE_M(128)>;
};

flexspi2: spi@13C000 {
reg = <0x4013C000 0x1000>, <0x28000000 DT_SIZE_M(128)>;
};
};
};
Expand Down

0 comments on commit df42cf3

Please sign in to comment.