Skip to content

Commit

Permalink
boards: fix max frequency for IS25WP flash chips
Browse files Browse the repository at this point in the history
IS25WP flash chips support 133MHz only when P[6:3] is programmed, which
will not occur during the SFDP probe sequence used in the FlexSPI nor
driver. With the default P[6:3] value, the best frequency supported for
read instruction 0xEB is 104MHz, so set this for all boards using this
flash chip with the FlexSPI nor driver.

Signed-off-by: Daniel DeGrasse <[email protected]>
  • Loading branch information
danieldegrasse authored and stephanosio committed Oct 23, 2024
1 parent 7ca9962 commit 43b0789
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion boards/madmachine/mm_feather/mm_feather.dts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
compatible = "nxp,imx-flexspi-nor";
size = <67108864>;
reg = <0>;
spi-max-frequency = <133000000>;
spi-max-frequency = <104000000>;
status = "okay";
jedec-id = [9d 70 17];
};
Expand Down
2 changes: 1 addition & 1 deletion boards/madmachine/mm_swiftio/mm_swiftio.dts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
compatible = "nxp,imx-flexspi-nor";
size = <67108864>;
reg = <0>;
spi-max-frequency = <133000000>;
spi-max-frequency = <104000000>;
status = "okay";
jedec-id = [9d 70 17];
};
Expand Down
2 changes: 1 addition & 1 deletion boards/nxp/mimxrt1020_evk/mimxrt1020_evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ arduino_serial: &lpuart2 {
compatible = "nxp,imx-flexspi-nor";
size = <67108864>;
reg = <0>;
spi-max-frequency = <133000000>;
spi-max-frequency = <104000000>;
status = "okay";
jedec-id = [9d 70 17];
erase-block-size = <4096>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
compatible = "nxp,imx-flexspi-nor";
size = <67108864>;
reg = <0>;
spi-max-frequency = <133000000>;
spi-max-frequency = <104000000>;
status = "okay";
jedec-id = [9d 70 17];
erase-block-size = <4096>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
compatible = "nxp,imx-flexspi-nor";
size = <67108864>;
reg = <0>;
spi-max-frequency = <133000000>;
spi-max-frequency = <104000000>;
status = "okay";
jedec-id = [9d 70 17];
erase-block-size = <4096>;
Expand Down
2 changes: 1 addition & 1 deletion boards/nxp/mimxrt1064_evk/mimxrt1064_evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ nxp_parallel_i2c: &lpi2c1 {};
compatible = "nxp,imx-flexspi-nor";
size = <67108864>;
reg = <0>;
spi-max-frequency = <133000000>;
spi-max-frequency = <104000000>;
status = "okay";
jedec-id = [9d 70 17];

Expand Down
2 changes: 1 addition & 1 deletion boards/nxp/mimxrt1160_evk/mimxrt1160_evk.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
compatible = "nxp,imx-flexspi-nor";
size = <DT_SIZE_M(16*8)>;
reg = <0>;
spi-max-frequency = <133000000>;
spi-max-frequency = <104000000>;
status = "okay";
jedec-id = [9d 70 17];
erase-block-size = <4096>;
Expand Down
2 changes: 1 addition & 1 deletion boards/nxp/mimxrt1170_evk/mimxrt1170_evk.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
compatible = "nxp,imx-flexspi-nor";
size = <DT_SIZE_M(16*8)>;
reg = <0>;
spi-max-frequency = <133000000>;
spi-max-frequency = <104000000>;
status = "okay";
jedec-id = [9d 70 17];
erase-block-size = <4096>;
Expand Down

0 comments on commit 43b0789

Please sign in to comment.