Commit bd003962 authored by Andrej Butok's avatar Andrej Butok Committed by Daniel DeGrasse
Browse files

boards: nxp: fix the is25wp064 flash size in DTS.



- fixes is25wp064 flash size in DTS. It must be 8 MBytes (64MBits).
- uses DT_SIZE_M() macro instead of an absolute value.

Signed-off-by: default avatarAndrej Butok <andrey.butok@nxp.com>
parent 68a3fc64
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@
	reg = <0x402a8000 0x4000>, <0x60000000 DT_SIZE_M(8)>;
	is25wp064: is25wp064@0 {
		compatible = "nxp,imx-flexspi-nor";
		size = <DT_SIZE_M(64 * 8)>;
		size = <DT_SIZE_M(8 * 8)>;
		reg = <0>;
		spi-max-frequency = <104000000>;
		status = "okay";
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@
	reg = <0x402a8000 0x4000>, <0x60000000 DT_SIZE_M(8)>;
	is25wp064: is25wp064@0 {
		compatible = "nxp,imx-flexspi-nor";
		size = <DT_SIZE_M(64 * 8)>;
		size = <DT_SIZE_M(8 * 8)>;
		reg = <0>;
		spi-max-frequency = <104000000>;
		status = "okay";
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
	reg = <0x402a8000 0x4000>, <0x60000000 DT_SIZE_M(8)>;
	is25wp064: is25wp064@0 {
		compatible = "nxp,imx-flexspi-nor";
		size = <67108864>;
		size = <DT_SIZE_M(8 * 8)>;
		reg = <0>;
		spi-max-frequency = <104000000>;
		status = "okay";
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@
	reg = <0x402a8000 0x4000>, <0x60000000 DT_SIZE_M(8)>;
	is25wp064: is25wp064@0 {
		compatible = "nxp,imx-flexspi-nor";
		size = <67108864>;
		size = <DT_SIZE_M(8 * 8)>;
		reg = <0>;
		spi-max-frequency = <104000000>;
		status = "okay";
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ nxp_parallel_i2c: &lpi2c1 {};
	reg = <0x402a8000 0x4000>, <0x60000000 DT_SIZE_M(8)>;
	is25wp064: is25wp064@0 {
		compatible = "nxp,imx-flexspi-nor";
		size = <DT_SIZE_M(64 * 8)>;
		size = <DT_SIZE_M(8 * 8)>;
		reg = <0>;
		spi-max-frequency = <104000000>;
		status = "okay";