Commit 79826ac6 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Shawn Guo

ARM: dts: imx: add "jedec,spi-nor" flash compatible binding

Starting with commit 8947e396 ("Documentation: dt: mtd: replace
"nor-jedec" binding with "jedec, spi-nor"") we have "jedec,spi-nor"
binding indicating support for JEDEC identification.

Use it for all flashes that are supposed to support READ ID op according
to the datasheets.
Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent a7be1e68
...@@ -57,7 +57,7 @@ ssp2: ssp@80014000 { ...@@ -57,7 +57,7 @@ ssp2: ssp@80014000 {
flash: m25p80@0 { flash: m25p80@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "sst,sst25vf016b"; compatible = "sst,sst25vf016b", "jedec,spi-nor";
spi-max-frequency = <40000000>; spi-max-frequency = <40000000>;
reg = <0>; reg = <0>;
}; };
......
...@@ -41,7 +41,7 @@ ssp2: ssp@80014000 { ...@@ -41,7 +41,7 @@ ssp2: ssp@80014000 {
flash: m25p80@0 { flash: m25p80@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "m25p80"; compatible = "m25p80", "jedec,spi-nor";
spi-max-frequency = <40000000>; spi-max-frequency = <40000000>;
reg = <0>; reg = <0>;
}; };
......
...@@ -33,7 +33,7 @@ &cspi { ...@@ -33,7 +33,7 @@ &cspi {
flash: m25p32@1 { flash: m25p32@1 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "m25p32", "m25p80"; compatible = "m25p32", "jedec,spi-nor";
spi-max-frequency = <25000000>; spi-max-frequency = <25000000>;
reg = <1>; reg = <1>;
......
...@@ -76,7 +76,7 @@ zigbee: mc1323@0 { ...@@ -76,7 +76,7 @@ zigbee: mc1323@0 {
flash: m25p32@1 { flash: m25p32@1 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "st,m25p32", "st,m25p"; compatible = "st,m25p32", "st,m25p", "jedec,spi-nor";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <1>; reg = <1>;
......
...@@ -23,7 +23,7 @@ memory { ...@@ -23,7 +23,7 @@ memory {
&ecspi3 { &ecspi3 {
flash: m25p80@0 { flash: m25p80@0 {
compatible = "sst,sst25vf016b"; compatible = "sst,sst25vf016b", "jedec,spi-nor";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
}; };
......
...@@ -109,7 +109,7 @@ &ecspi5 { ...@@ -109,7 +109,7 @@ &ecspi5 {
status = "okay"; status = "okay";
flash: m25p80@0 { flash: m25p80@0 {
compatible = "m25p80"; compatible = "m25p80", "jedec,spi-nor";
spi-max-frequency = <40000000>; spi-max-frequency = <40000000>;
reg = <0>; reg = <0>;
}; };
......
...@@ -145,7 +145,7 @@ &ecspi1 { ...@@ -145,7 +145,7 @@ &ecspi1 {
status = "okay"; status = "okay";
flash: m25p80@0 { flash: m25p80@0 {
compatible = "sst,w25q256"; compatible = "sst,w25q256", "jedec,spi-nor";
spi-max-frequency = <30000000>; spi-max-frequency = <30000000>;
reg = <0>; reg = <0>;
}; };
......
...@@ -23,7 +23,7 @@ memory { ...@@ -23,7 +23,7 @@ memory {
&ecspi3 { &ecspi3 {
flash: m25p80@0 { flash: m25p80@0 {
compatible = "sst,sst25vf032b"; compatible = "sst,sst25vf032b", "jedec,spi-nor";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
}; };
......
...@@ -109,7 +109,7 @@ &ecspi4 { ...@@ -109,7 +109,7 @@ &ecspi4 {
flash: m25p80@0 { flash: m25p80@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "micron,n25q128a11"; compatible = "micron,n25q128a11", "jedec,spi-nor";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
}; };
......
...@@ -141,7 +141,7 @@ &ecspi4 { ...@@ -141,7 +141,7 @@ &ecspi4 {
flash: m25p80@1 { flash: m25p80@1 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "micron,n25q128a11"; compatible = "micron,n25q128a11", "jedec,spi-nor";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <1>; reg = <1>;
}; };
......
...@@ -38,7 +38,7 @@ &ecspi3 { ...@@ -38,7 +38,7 @@ &ecspi3 {
flash: m25p80@0 { flash: m25p80@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "sst,sst25vf040b", "m25p80"; compatible = "sst,sst25vf040b", "jedec,spi-nor";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
}; };
......
...@@ -182,7 +182,7 @@ &ecspi1 { ...@@ -182,7 +182,7 @@ &ecspi1 {
status = "okay"; status = "okay";
flash: m25p80@0 { flash: m25p80@0 {
compatible = "sst,sst25vf016b"; compatible = "sst,sst25vf016b", "jedec,spi-nor";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
}; };
......
...@@ -80,7 +80,7 @@ &ecspi3 { ...@@ -80,7 +80,7 @@ &ecspi3 {
cs-gpios = <&gpio4 24 0>; cs-gpios = <&gpio4 24 0>;
flash@0 { flash@0 {
compatible = "m25p80"; compatible = "m25p80", "jedec,spi-nor";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
}; };
......
...@@ -133,7 +133,7 @@ &ecspi1 { ...@@ -133,7 +133,7 @@ &ecspi1 {
flash: m25p80@0 { flash: m25p80@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "st,m25p32"; compatible = "st,m25p32", "jedec,spi-nor";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
}; };
......
...@@ -181,7 +181,7 @@ &ecspi1 { ...@@ -181,7 +181,7 @@ &ecspi1 {
status = "okay"; status = "okay";
flash: m25p80@0 { flash: m25p80@0 {
compatible = "sst,sst25vf016b"; compatible = "sst,sst25vf016b", "jedec,spi-nor";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
}; };
......
...@@ -158,7 +158,7 @@ &ecspi1 { ...@@ -158,7 +158,7 @@ &ecspi1 {
flash: m25p80@0 { flash: m25p80@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "st,m25p32"; compatible = "st,m25p32", "jedec,spi-nor";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
}; };
......
...@@ -126,7 +126,7 @@ &ecspi1 { ...@@ -126,7 +126,7 @@ &ecspi1 {
flash: m25p80@0 { flash: m25p80@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "st,m25p32"; compatible = "st,m25p32", "jedec,spi-nor";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
}; };
......
...@@ -129,7 +129,7 @@ flash0: s25fl128s@0 { ...@@ -129,7 +129,7 @@ flash0: s25fl128s@0 {
reg = <0>; reg = <0>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "spansion,s25fl128s"; compatible = "spansion,s25fl128s", "jedec,spi-nor";
spi-max-frequency = <66000000>; spi-max-frequency = <66000000>;
}; };
...@@ -137,7 +137,7 @@ flash1: s25fl128s@1 { ...@@ -137,7 +137,7 @@ flash1: s25fl128s@1 {
reg = <1>; reg = <1>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "spansion,s25fl128s"; compatible = "spansion,s25fl128s", "jedec,spi-nor";
spi-max-frequency = <66000000>; spi-max-frequency = <66000000>;
}; };
}; };
...@@ -130,7 +130,7 @@ &qspi2 { ...@@ -130,7 +130,7 @@ &qspi2 {
flash0: n25q256a@0 { flash0: n25q256a@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "micron,n25q256a"; compatible = "micron,n25q256a", "jedec,spi-nor";
spi-max-frequency = <29000000>; spi-max-frequency = <29000000>;
reg = <0>; reg = <0>;
}; };
...@@ -138,7 +138,7 @@ flash0: n25q256a@0 { ...@@ -138,7 +138,7 @@ flash0: n25q256a@0 {
flash1: n25q256a@1 { flash1: n25q256a@1 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "micron,n25q256a"; compatible = "micron,n25q256a", "jedec,spi-nor";
spi-max-frequency = <29000000>; spi-max-frequency = <29000000>;
reg = <1>; reg = <1>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment