Commit ba9fe460 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Shawn Guo

ARM: dts: imx: align SPI NOR node name with dtschema

The node names should be generic and SPI NOR dtschema expects "flash".
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 3d397a12
...@@ -129,7 +129,7 @@ ssp2: spi@80014000 { ...@@ -129,7 +129,7 @@ ssp2: spi@80014000 {
pinctrl-0 = <&spi2_pins_a>; pinctrl-0 = <&spi2_pins_a>;
status = "okay"; status = "okay";
flash: m25p80@0 { flash: flash@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "sst,sst25vf016b", "jedec,spi-nor"; compatible = "sst,sst25vf016b", "jedec,spi-nor";
......
...@@ -33,7 +33,7 @@ ssp2: spi@80014000 { ...@@ -33,7 +33,7 @@ ssp2: spi@80014000 {
pinctrl-0 = <&spi2_pins_a>; pinctrl-0 = <&spi2_pins_a>;
status = "okay"; status = "okay";
flash: m25p80@0 { flash: flash@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "m25p80", "jedec,spi-nor"; compatible = "m25p80", "jedec,spi-nor";
......
...@@ -51,7 +51,7 @@ ssp2: spi@80014000 { ...@@ -51,7 +51,7 @@ ssp2: spi@80014000 {
pinctrl-0 = <&spi2_pins_a>; pinctrl-0 = <&spi2_pins_a>;
status = "okay"; status = "okay";
flash: m25p80@0 { flash: flash@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "everspin,mr25h256", "mr25h256"; compatible = "everspin,mr25h256", "mr25h256";
......
...@@ -19,7 +19,7 @@ memory@10000000 { ...@@ -19,7 +19,7 @@ memory@10000000 {
}; };
&ecspi3 { &ecspi3 {
flash: m25p80@0 { flash: flash@0 {
compatible = "sst,sst25vf016b", "jedec,spi-nor"; compatible = "sst,sst25vf016b", "jedec,spi-nor";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
......
...@@ -142,7 +142,7 @@ &ecspi1 { ...@@ -142,7 +142,7 @@ &ecspi1 {
pinctrl-0 = <&pinctrl_ecspi1>; pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay"; status = "okay";
flash: n25q032@0 { flash: flash@0 {
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
...@@ -160,7 +160,7 @@ &ecspi5 { ...@@ -160,7 +160,7 @@ &ecspi5 {
pinctrl-0 = <&pinctrl_ecspi5>; pinctrl-0 = <&pinctrl_ecspi5>;
status = "okay"; status = "okay";
m25_eeprom: m25p80@0 { m25_eeprom: flash@0 {
compatible = "atmel,at25"; compatible = "atmel,at25";
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
size = <0x8000>; size = <0x8000>;
......
...@@ -260,7 +260,7 @@ &ecspi1 { ...@@ -260,7 +260,7 @@ &ecspi1 {
pinctrl-0 = <&pinctrl_ecspi1>; pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay"; status = "okay";
m25p80@0 { flash@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "st,m25p", "jedec,spi-nor"; compatible = "st,m25p", "jedec,spi-nor";
......
...@@ -102,7 +102,7 @@ &ecspi5 { ...@@ -102,7 +102,7 @@ &ecspi5 {
cs-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; cs-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
status = "okay"; status = "okay";
flash: m25p80@0 { flash: flash@0 {
compatible = "m25p80", "jedec,spi-nor"; compatible = "m25p80", "jedec,spi-nor";
spi-max-frequency = <40000000>; spi-max-frequency = <40000000>;
reg = <0>; reg = <0>;
......
...@@ -47,7 +47,7 @@ &ecspi5 { ...@@ -47,7 +47,7 @@ &ecspi5 {
pinctrl-0 = <&pinctrl_ecspi5>; pinctrl-0 = <&pinctrl_ecspi5>;
status = "okay"; status = "okay";
m25_eeprom: m25p80@0 { m25_eeprom: flash@0 {
compatible = "atmel,at25256B", "atmel,at25"; compatible = "atmel,at25256B", "atmel,at25";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
size = <0x8000>; size = <0x8000>;
......
...@@ -137,7 +137,7 @@ &ecspi1 { ...@@ -137,7 +137,7 @@ &ecspi1 {
pinctrl-0 = <&pinctrl_ecspi1>; pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay"; status = "okay";
flash: m25p80@0 { flash: flash@0 {
compatible = "sst,w25q256", "jedec,spi-nor"; compatible = "sst,w25q256", "jedec,spi-nor";
spi-max-frequency = <30000000>; spi-max-frequency = <30000000>;
reg = <0>; reg = <0>;
......
...@@ -100,7 +100,7 @@ &ecspi1 { ...@@ -100,7 +100,7 @@ &ecspi1 {
cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>; cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
status = "okay"; status = "okay";
m25p80@0 { flash@0 {
compatible = "microchip,sst25vf016b"; compatible = "microchip,sst25vf016b";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
......
...@@ -19,7 +19,7 @@ memory@10000000 { ...@@ -19,7 +19,7 @@ memory@10000000 {
}; };
&ecspi3 { &ecspi3 {
flash: m25p80@0 { flash: flash@0 {
compatible = "sst,sst25vf032b", "jedec,spi-nor"; compatible = "sst,sst25vf032b", "jedec,spi-nor";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
......
...@@ -96,7 +96,7 @@ &ecspi4 { ...@@ -96,7 +96,7 @@ &ecspi4 {
pinctrl-0 = <&pinctrl_ecspi4>; pinctrl-0 = <&pinctrl_ecspi4>;
status = "okay"; status = "okay";
flash: m25p80@0 { flash: flash@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "micron,n25q128a11", "jedec,spi-nor"; compatible = "micron,n25q128a11", "jedec,spi-nor";
......
...@@ -131,7 +131,7 @@ &ecspi4 { ...@@ -131,7 +131,7 @@ &ecspi4 {
pinctrl-0 = <&pinctrl_ecspi4>; pinctrl-0 = <&pinctrl_ecspi4>;
status = "okay"; status = "okay";
flash: m25p80@1 { flash: flash@1 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "micron,n25q128a11", "jedec,spi-nor"; compatible = "micron,n25q128a11", "jedec,spi-nor";
......
...@@ -35,7 +35,7 @@ &ecspi3 { ...@@ -35,7 +35,7 @@ &ecspi3 {
pinctrl-0 = <&pinctrl_ecspi3>; pinctrl-0 = <&pinctrl_ecspi3>;
status = "okay"; status = "okay";
flash: m25p80@0 { flash: flash@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "sst,sst25vf040b", "jedec,spi-nor"; compatible = "sst,sst25vf040b", "jedec,spi-nor";
......
...@@ -258,7 +258,7 @@ &ecspi4 { ...@@ -258,7 +258,7 @@ &ecspi4 {
status = "okay"; status = "okay";
/* default boot source: workaround #1 for errata ERR006282 */ /* default boot source: workaround #1 for errata ERR006282 */
smarc_flash: spi-flash@0 { smarc_flash: flash@0 {
compatible = "winbond,w25q16dw", "jedec,spi-nor"; compatible = "winbond,w25q16dw", "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
......
...@@ -179,7 +179,7 @@ &ecspi1 { ...@@ -179,7 +179,7 @@ &ecspi1 {
pinctrl-0 = <&pinctrl_ecspi1>; pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay"; status = "okay";
flash: m25p80@0 { flash: flash@0 {
compatible = "microchip,sst25vf016b"; compatible = "microchip,sst25vf016b";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
......
...@@ -321,7 +321,7 @@ &ecspi1 { ...@@ -321,7 +321,7 @@ &ecspi1 {
pinctrl-0 = <&pinctrl_ecspi1>; pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay"; status = "okay";
flash: m25p80@0 { flash: flash@0 {
compatible = "microchip,sst25vf016b"; compatible = "microchip,sst25vf016b";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
......
...@@ -252,7 +252,7 @@ &ecspi1 { ...@@ -252,7 +252,7 @@ &ecspi1 {
pinctrl-0 = <&pinctrl_ecspi1>; pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay"; status = "okay";
flash: m25p80@0 { flash: flash@0 {
compatible = "microchip,sst25vf016b"; compatible = "microchip,sst25vf016b";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
......
...@@ -237,7 +237,7 @@ &ecspi1 { ...@@ -237,7 +237,7 @@ &ecspi1 {
pinctrl-0 = <&pinctrl_ecspi1>; pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay"; status = "okay";
flash: m25p80@0 { flash: flash@0 {
compatible = "sst,sst25vf016b", "jedec,spi-nor"; compatible = "sst,sst25vf016b", "jedec,spi-nor";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
......
...@@ -272,7 +272,7 @@ &ecspi1 { ...@@ -272,7 +272,7 @@ &ecspi1 {
pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1_cs>; pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1_cs>;
status = "disabled"; /* pin conflict with WEIM NOR */ status = "disabled"; /* pin conflict with WEIM NOR */
flash: m25p80@0 { flash: flash@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "st,m25p32", "jedec,spi-nor"; compatible = "st,m25p32", "jedec,spi-nor";
......
...@@ -313,7 +313,7 @@ &ecspi1 { ...@@ -313,7 +313,7 @@ &ecspi1 {
pinctrl-0 = <&pinctrl_ecspi1>; pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay"; status = "okay";
flash: m25p80@0 { flash: flash@0 {
compatible = "sst,sst25vf016b", "jedec,spi-nor"; compatible = "sst,sst25vf016b", "jedec,spi-nor";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
......
...@@ -197,7 +197,7 @@ &ecspi1 { ...@@ -197,7 +197,7 @@ &ecspi1 {
pinctrl-0 = <&pinctrl_ecspi1>; pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay"; status = "okay";
flash: m25p80@0 { flash: flash@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "st,m25p32", "jedec,spi-nor"; compatible = "st,m25p32", "jedec,spi-nor";
......
...@@ -137,7 +137,7 @@ &ecspi1 { ...@@ -137,7 +137,7 @@ &ecspi1 {
pinctrl-0 = <&pinctrl_ecspi1>; pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay"; status = "okay";
flash: m25p80@0 { flash: flash@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "st,m25p32", "jedec,spi-nor"; compatible = "st,m25p32", "jedec,spi-nor";
......
...@@ -107,7 +107,7 @@ &ecspi1 { ...@@ -107,7 +107,7 @@ &ecspi1 {
pinctrl-0 = <&pinctrl_ecspi1>; pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay"; status = "okay";
flash: m25p80@0 { flash: flash@0 {
compatible = "microchip,sst25vf016b"; compatible = "microchip,sst25vf016b";
spi-max-frequency = <20000000>; spi-max-frequency = <20000000>;
reg = <0>; reg = <0>;
......
...@@ -123,7 +123,7 @@ &qspi2 { ...@@ -123,7 +123,7 @@ &qspi2 {
pinctrl-0 = <&pinctrl_qspi2>; pinctrl-0 = <&pinctrl_qspi2>;
status = "okay"; status = "okay";
flash0: s25fl128s@0 { flash0: flash@0 {
reg = <0>; reg = <0>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -133,7 +133,7 @@ flash0: s25fl128s@0 { ...@@ -133,7 +133,7 @@ flash0: s25fl128s@0 {
spi-tx-bus-width = <4>; spi-tx-bus-width = <4>;
}; };
flash1: s25fl128s@2 { flash1: flash@2 {
reg = <2>; reg = <2>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
...@@ -108,7 +108,7 @@ &qspi2 { ...@@ -108,7 +108,7 @@ &qspi2 {
pinctrl-0 = <&pinctrl_qspi2>; pinctrl-0 = <&pinctrl_qspi2>;
status = "okay"; status = "okay";
flash0: n25q256a@0 { flash0: flash@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "micron,n25q256a", "jedec,spi-nor"; compatible = "micron,n25q256a", "jedec,spi-nor";
...@@ -118,7 +118,7 @@ flash0: n25q256a@0 { ...@@ -118,7 +118,7 @@ flash0: n25q256a@0 {
reg = <0>; reg = <0>;
}; };
flash1: n25q256a@2 { flash1: flash@2 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "micron,n25q256a", "jedec,spi-nor"; compatible = "micron,n25q256a", "jedec,spi-nor";
......
...@@ -286,7 +286,7 @@ &qspi { ...@@ -286,7 +286,7 @@ &qspi {
pinctrl-0 = <&pinctrl_qspi>; pinctrl-0 = <&pinctrl_qspi>;
status = "okay"; status = "okay";
flash0: n25q256a@0 { flash0: flash@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "micron,n25q256a", "jedec,spi-nor"; compatible = "micron,n25q256a", "jedec,spi-nor";
......
...@@ -19,7 +19,7 @@ memory@80000000 { ...@@ -19,7 +19,7 @@ memory@80000000 {
}; };
&qspi { &qspi {
spi-flash@0 { flash@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "spi-nand"; compatible = "spi-nand";
......
...@@ -18,7 +18,7 @@ memory@80000000 { ...@@ -18,7 +18,7 @@ memory@80000000 {
}; };
&qspi { &qspi {
spi-flash@0 { flash@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "spi-nand"; compatible = "spi-nand";
......
...@@ -19,7 +19,7 @@ &ecspi2 { ...@@ -19,7 +19,7 @@ &ecspi2 {
pinctrl-0 = <&pinctrl_ecspi2>; pinctrl-0 = <&pinctrl_ecspi2>;
status = "okay"; status = "okay";
spi-flash@0 { flash@0 {
compatible = "mxicy,mx25v8035f", "jedec,spi-nor"; compatible = "mxicy,mx25v8035f", "jedec,spi-nor";
spi-max-frequency = <50000000>; spi-max-frequency = <50000000>;
reg = <0>; reg = <0>;
......
...@@ -18,7 +18,7 @@ memory@80000000 { ...@@ -18,7 +18,7 @@ memory@80000000 {
}; };
&qspi { &qspi {
spi-flash@0 { flash@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "spi-nand"; compatible = "spi-nand";
......
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