* [U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding
@ 2019-02-10 10:16 Neil Armstrong
2019-02-10 10:16 ` [U-Boot] [PATCH v4 1/4] dts: switch spi-flash to jedec, spi-nor compatible Neil Armstrong
` (5 more replies)
0 siblings, 6 replies; 8+ messages in thread
From: Neil Armstrong @ 2019-02-10 10:16 UTC (permalink / raw)
To: u-boot
There is no reason not to use the Linux "jedec,spi-nor" binding in u-boot.
This patchset :
- switches all DTS/DTSI files to "jedec,spi-nor"
- remove the "spi-flash" compatible from sf-probe
- switch GENERIC_SPI_FLASH to jedec,spi-nor in fdtdec
- switches dt bindings examples files to "jedec,spi-nor"
Changes since v3:
- collected tags
- dropped patch 1
- updated for new boards
Changes since v2:
- collected tags
- extracted x86 dts changed and merged it with the fdtdec change
- updated for new boards
Neil Armstrong (4):
dts: switch spi-flash to jedec, spi-nor compatible
x86: dts: switch spi-flash to jedec, spi-nor compatible
mtd: sf_probe: remove spi-flash compatible
doc: device-tree-bindings: switch from spi-flash to jedec, spi-nor
arch/arc/dts/axs10x_mb.dtsi | 2 +-
arch/arc/dts/hsdk.dts | 2 +-
arch/arm/dts/am335x-brppt1-spi.dts | 2 +-
arch/arm/dts/am437x-idk-evm.dts | 2 +-
arch/arm/dts/am437x-sk-evm.dts | 2 +-
arch/arm/dts/armada-3720-db.dts | 2 +-
arch/arm/dts/armada-3720-espressobin.dts | 2 +-
arch/arm/dts/armada-3720-turris-mox.dts | 2 +-
arch/arm/dts/armada-385-amc.dts | 2 +-
arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi | 2 +-
arch/arm/dts/armada-38x-controlcenterdc.dts | 4 ++--
arch/arm/dts/armada-38x-solidrun-microsom.dtsi | 2 +-
arch/arm/dts/armada-8040-clearfog-gt-8k.dts | 2 +-
arch/arm/dts/armada-xp-theadorable.dts | 2 +-
arch/arm/dts/at91-sama5d2_xplained.dts | 2 +-
arch/arm/dts/at91-sama5d4_xplained.dts | 2 +-
arch/arm/dts/at91-sama5d4ek.dts | 2 +-
arch/arm/dts/at91sam9n12ek.dts | 2 +-
arch/arm/dts/at91sam9x5ek.dtsi | 2 +-
arch/arm/dts/bk4r1.dts | 4 ++--
arch/arm/dts/da850-evm-u-boot.dtsi | 2 +-
arch/arm/dts/exynos5250-snow.dts | 2 +-
arch/arm/dts/exynos5250-spring.dts | 2 +-
arch/arm/dts/exynos5420-peach-pit.dts | 2 +-
arch/arm/dts/fsl-ls1012a-2g5rdb.dts | 2 +-
arch/arm/dts/fsl-ls1012a-frdm.dtsi | 2 +-
arch/arm/dts/fsl-ls1012a-frwy.dts | 2 +-
arch/arm/dts/fsl-ls1012a-qds.dtsi | 8 ++++----
arch/arm/dts/fsl-ls1012a-rdb.dtsi | 2 +-
arch/arm/dts/fsl-ls1043a-qds.dtsi | 8 ++++----
arch/arm/dts/fsl-ls1043a-rdb.dts | 2 +-
arch/arm/dts/fsl-ls1046a-qds.dtsi | 8 ++++----
arch/arm/dts/fsl-ls1046a-rdb.dts | 4 ++--
arch/arm/dts/fsl-ls1088a-qds.dts | 10 +++++-----
arch/arm/dts/fsl-ls1088a-rdb.dts | 4 ++--
arch/arm/dts/fsl-ls2080a-qds.dts | 8 ++++----
arch/arm/dts/fsl-ls2080a-rdb.dts | 2 +-
arch/arm/dts/fsl-ls2081a-rdb.dts | 6 +++---
arch/arm/dts/fsl-ls2088a-rdb-qspi.dts | 6 +++---
arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi | 4 ++--
arch/arm/dts/imx6sx-sdb-u-boot.dtsi | 4 ++--
arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi | 2 +-
arch/arm/dts/imx6ul-9x9-evk-u-boot.dtsi | 2 +-
arch/arm/dts/imx6ull-14x14-evk.dts | 2 +-
arch/arm/dts/imx7d-sdb-qspi-u-boot.dtsi | 2 +-
arch/arm/dts/keystone-k2e-evm.dts | 2 +-
arch/arm/dts/keystone-k2g-evm.dts | 4 ++--
arch/arm/dts/keystone-k2g-ice.dts | 2 +-
arch/arm/dts/keystone-k2hk-evm.dts | 2 +-
arch/arm/dts/keystone-k2l-evm.dts | 2 +-
arch/arm/dts/kirkwood-atl-sbx81lifkw.dts | 2 +-
arch/arm/dts/kirkwood-atl-sbx81lifxcat.dts | 2 +-
arch/arm/dts/kirkwood-dreamplug.dts | 2 +-
arch/arm/dts/kirkwood-lsxl.dtsi | 2 +-
arch/arm/dts/kirkwood-netxbig.dtsi | 2 +-
arch/arm/dts/kirkwood-ns2-common.dtsi | 2 +-
arch/arm/dts/kirkwood-synology.dtsi | 2 +-
arch/arm/dts/ls1021a-iot.dtsi | 4 ++--
arch/arm/dts/ls1021a-qds.dtsi | 2 +-
arch/arm/dts/ls1021a-twr.dtsi | 4 ++--
arch/arm/dts/mt7629-rfb.dts | 2 +-
arch/arm/dts/omap5-u-boot.dtsi | 2 +-
arch/arm/dts/r8a77970-eagle-u-boot.dts | 2 +-
arch/arm/dts/rk3288-veyron.dtsi | 2 +-
arch/arm/dts/rk3368-lion.dts | 2 +-
arch/arm/dts/rk3399-gru.dtsi | 2 +-
arch/arm/dts/rk3399-puma.dtsi | 2 +-
arch/arm/dts/rv1108-evb.dts | 2 +-
arch/arm/dts/sama5d27_som1.dtsi | 2 +-
arch/arm/dts/sama5d3xmb.dtsi | 2 +-
arch/arm/dts/sama5d3xmb_cmp.dtsi | 2 +-
arch/arm/dts/socfpga_arria5_socdk-u-boot.dtsi | 2 +-
arch/arm/dts/socfpga_cyclone5_is1.dts | 2 +-
arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi | 2 +-
arch/arm/dts/socfpga_cyclone5_sockit-u-boot.dtsi | 2 +-
arch/arm/dts/socfpga_cyclone5_socrates-u-boot.dtsi | 2 +-
arch/arm/dts/socfpga_cyclone5_sr1500.dts | 2 +-
arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi | 4 ++--
arch/arm/dts/stm32f746-disco.dts | 2 +-
arch/arm/dts/stm32f769-disco.dts | 2 +-
arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 4 ++--
arch/arm/dts/stv0991.dts | 2 +-
arch/arm/dts/zynq-zed.dts | 2 +-
arch/arm/dts/zynqmp-zc1232-revA.dts | 2 +-
arch/arm/dts/zynqmp-zc1254-revA.dts | 2 +-
arch/arm/dts/zynqmp-zc1275-revA.dts | 2 +-
arch/arm/dts/zynqmp-zc1275-revB.dts | 2 +-
arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts | 2 +-
arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts | 2 +-
arch/arm/dts/zynqmp-zcu102-revA.dts | 2 +-
arch/arm/dts/zynqmp-zcu104-revA.dts | 2 +-
arch/arm/dts/zynqmp-zcu104-revC.dts | 2 +-
arch/arm/dts/zynqmp-zcu106-revA.dts | 2 +-
arch/arm/dts/zynqmp-zcu111-revA.dts | 2 +-
arch/mips/dts/ap121.dts | 2 +-
arch/mips/dts/ap143.dts | 2 +-
arch/mips/dts/comtrend,ar-5315u.dts | 2 +-
arch/mips/dts/comtrend,ar-5387un.dts | 2 +-
arch/mips/dts/gardena-smart-gateway-mt7688.dts | 2 +-
arch/mips/dts/jr2_pcb110.dts | 2 +-
arch/mips/dts/jr2_pcb111.dts | 2 +-
arch/mips/dts/linkit-smart-7688.dts | 2 +-
arch/mips/dts/luton_pcb090.dts | 2 +-
arch/mips/dts/luton_pcb091.dts | 2 +-
arch/mips/dts/mscc,ocelot_pcb.dtsi | 2 +-
arch/mips/dts/netgear,cg3100d.dts | 2 +-
arch/mips/dts/sagem,f at st1704.dts | 2 +-
arch/mips/dts/serval2_pcb112.dts | 2 +-
arch/mips/dts/serval_pcb105.dts | 2 +-
arch/mips/dts/serval_pcb106.dts | 2 +-
arch/mips/dts/servalt_pcb116.dts | 2 +-
arch/mips/dts/tplink_wdr4300.dts | 2 +-
arch/nds32/dts/ae3xx.dts | 2 +-
arch/riscv/dts/ae350_32.dts | 2 +-
arch/riscv/dts/ae350_64.dts | 2 +-
arch/sandbox/dts/test.dts | 2 +-
arch/x86/dts/bayleybay.dts | 2 +-
arch/x86/dts/baytrail_som-db5800-som-6867.dts | 2 +-
arch/x86/dts/cherryhill.dts | 2 +-
arch/x86/dts/chromebook_link.dts | 2 +-
arch/x86/dts/chromebook_samus.dts | 2 +-
arch/x86/dts/chromebox_panther.dts | 2 +-
arch/x86/dts/conga-qeval20-qa3-e3845.dts | 2 +-
arch/x86/dts/cougarcanyon2.dts | 2 +-
arch/x86/dts/crownbay.dts | 2 +-
arch/x86/dts/dfi-bt700.dtsi | 2 +-
arch/x86/dts/galileo.dts | 2 +-
arch/x86/dts/minnowmax.dts | 2 +-
doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 2 +-
doc/device-tree-bindings/spi/spi-atcspi200.txt | 2 +-
doc/device-tree-bindings/spi/spi-stm32-qspi.txt | 2 +-
drivers/mtd/spi/sf_probe.c | 1 -
lib/fdtdec.c | 2 +-
133 files changed, 163 insertions(+), 164 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] [PATCH v4 1/4] dts: switch spi-flash to jedec, spi-nor compatible
2019-02-10 10:16 [U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding Neil Armstrong
@ 2019-02-10 10:16 ` Neil Armstrong
2019-02-10 10:16 ` [U-Boot] [PATCH v4 2/4] x86: " Neil Armstrong
` (4 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Neil Armstrong @ 2019-02-10 10:16 UTC (permalink / raw)
To: u-boot
There is no reason not to use the Linux "jedec,spi-nor" binding in U-Boot
dts files. This compatible has been added in sf_probe, let use it.
This patch switches to jedec,spi-nor when spi-flash is used in the DTS
and DTSI files, and removed spi-flash when jedec,spi-nor is already
present.
The x86 dts are switched in a separate commit since it depends on a change
in fdtdec.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Evgeniy Paltsev <paltsev@synopsys.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Reviewed-by: Patrick Delaunay <Patrick.delaunay@st.com>
---
arch/arc/dts/axs10x_mb.dtsi | 2 +-
arch/arc/dts/hsdk.dts | 2 +-
arch/arm/dts/am335x-brppt1-spi.dts | 2 +-
arch/arm/dts/am437x-idk-evm.dts | 2 +-
arch/arm/dts/am437x-sk-evm.dts | 2 +-
arch/arm/dts/armada-3720-db.dts | 2 +-
arch/arm/dts/armada-3720-espressobin.dts | 2 +-
arch/arm/dts/armada-3720-turris-mox.dts | 2 +-
arch/arm/dts/armada-385-amc.dts | 2 +-
arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi | 2 +-
arch/arm/dts/armada-38x-controlcenterdc.dts | 4 ++--
arch/arm/dts/armada-38x-solidrun-microsom.dtsi | 2 +-
arch/arm/dts/armada-8040-clearfog-gt-8k.dts | 2 +-
arch/arm/dts/armada-xp-theadorable.dts | 2 +-
arch/arm/dts/at91-sama5d2_xplained.dts | 2 +-
arch/arm/dts/at91-sama5d4_xplained.dts | 2 +-
arch/arm/dts/at91-sama5d4ek.dts | 2 +-
arch/arm/dts/at91sam9n12ek.dts | 2 +-
arch/arm/dts/at91sam9x5ek.dtsi | 2 +-
arch/arm/dts/bk4r1.dts | 4 ++--
arch/arm/dts/da850-evm-u-boot.dtsi | 2 +-
arch/arm/dts/exynos5250-snow.dts | 2 +-
arch/arm/dts/exynos5250-spring.dts | 2 +-
arch/arm/dts/exynos5420-peach-pit.dts | 2 +-
arch/arm/dts/fsl-ls1012a-2g5rdb.dts | 2 +-
arch/arm/dts/fsl-ls1012a-frdm.dtsi | 2 +-
arch/arm/dts/fsl-ls1012a-frwy.dts | 2 +-
arch/arm/dts/fsl-ls1012a-qds.dtsi | 8 ++++----
arch/arm/dts/fsl-ls1012a-rdb.dtsi | 2 +-
arch/arm/dts/fsl-ls1043a-qds.dtsi | 8 ++++----
arch/arm/dts/fsl-ls1043a-rdb.dts | 2 +-
arch/arm/dts/fsl-ls1046a-qds.dtsi | 8 ++++----
arch/arm/dts/fsl-ls1046a-rdb.dts | 4 ++--
arch/arm/dts/fsl-ls1088a-qds.dts | 10 +++++-----
arch/arm/dts/fsl-ls1088a-rdb.dts | 4 ++--
arch/arm/dts/fsl-ls2080a-qds.dts | 8 ++++----
arch/arm/dts/fsl-ls2080a-rdb.dts | 2 +-
arch/arm/dts/fsl-ls2081a-rdb.dts | 6 +++---
arch/arm/dts/fsl-ls2088a-rdb-qspi.dts | 6 +++---
arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi | 4 ++--
arch/arm/dts/imx6sx-sdb-u-boot.dtsi | 4 ++--
arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi | 2 +-
arch/arm/dts/imx6ul-9x9-evk-u-boot.dtsi | 2 +-
arch/arm/dts/imx6ull-14x14-evk.dts | 2 +-
arch/arm/dts/imx7d-sdb-qspi-u-boot.dtsi | 2 +-
arch/arm/dts/keystone-k2e-evm.dts | 2 +-
arch/arm/dts/keystone-k2g-evm.dts | 4 ++--
arch/arm/dts/keystone-k2g-ice.dts | 2 +-
arch/arm/dts/keystone-k2hk-evm.dts | 2 +-
arch/arm/dts/keystone-k2l-evm.dts | 2 +-
arch/arm/dts/kirkwood-atl-sbx81lifkw.dts | 2 +-
arch/arm/dts/kirkwood-atl-sbx81lifxcat.dts | 2 +-
arch/arm/dts/kirkwood-dreamplug.dts | 2 +-
arch/arm/dts/kirkwood-lsxl.dtsi | 2 +-
arch/arm/dts/kirkwood-netxbig.dtsi | 2 +-
arch/arm/dts/kirkwood-ns2-common.dtsi | 2 +-
arch/arm/dts/kirkwood-synology.dtsi | 2 +-
arch/arm/dts/ls1021a-iot.dtsi | 4 ++--
arch/arm/dts/ls1021a-qds.dtsi | 2 +-
arch/arm/dts/ls1021a-twr.dtsi | 4 ++--
arch/arm/dts/mt7629-rfb.dts | 2 +-
arch/arm/dts/omap5-u-boot.dtsi | 2 +-
arch/arm/dts/r8a77970-eagle-u-boot.dts | 2 +-
arch/arm/dts/rk3288-veyron.dtsi | 2 +-
arch/arm/dts/rk3368-lion.dts | 2 +-
arch/arm/dts/rk3399-gru.dtsi | 2 +-
arch/arm/dts/rk3399-puma.dtsi | 2 +-
arch/arm/dts/rv1108-evb.dts | 2 +-
arch/arm/dts/sama5d27_som1.dtsi | 2 +-
arch/arm/dts/sama5d3xmb.dtsi | 2 +-
arch/arm/dts/sama5d3xmb_cmp.dtsi | 2 +-
arch/arm/dts/socfpga_arria5_socdk-u-boot.dtsi | 2 +-
arch/arm/dts/socfpga_cyclone5_is1.dts | 2 +-
arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi | 2 +-
arch/arm/dts/socfpga_cyclone5_sockit-u-boot.dtsi | 2 +-
arch/arm/dts/socfpga_cyclone5_socrates-u-boot.dtsi | 2 +-
arch/arm/dts/socfpga_cyclone5_sr1500.dts | 2 +-
arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi | 4 ++--
arch/arm/dts/stm32f746-disco.dts | 2 +-
arch/arm/dts/stm32f769-disco.dts | 2 +-
arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 4 ++--
arch/arm/dts/stv0991.dts | 2 +-
arch/arm/dts/zynq-zed.dts | 2 +-
arch/arm/dts/zynqmp-zc1232-revA.dts | 2 +-
arch/arm/dts/zynqmp-zc1254-revA.dts | 2 +-
arch/arm/dts/zynqmp-zc1275-revA.dts | 2 +-
arch/arm/dts/zynqmp-zc1275-revB.dts | 2 +-
arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts | 2 +-
arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts | 2 +-
arch/arm/dts/zynqmp-zcu102-revA.dts | 2 +-
arch/arm/dts/zynqmp-zcu104-revA.dts | 2 +-
arch/arm/dts/zynqmp-zcu104-revC.dts | 2 +-
arch/arm/dts/zynqmp-zcu106-revA.dts | 2 +-
arch/arm/dts/zynqmp-zcu111-revA.dts | 2 +-
arch/mips/dts/ap121.dts | 2 +-
arch/mips/dts/ap143.dts | 2 +-
arch/mips/dts/comtrend,ar-5315u.dts | 2 +-
arch/mips/dts/comtrend,ar-5387un.dts | 2 +-
arch/mips/dts/gardena-smart-gateway-mt7688.dts | 2 +-
arch/mips/dts/jr2_pcb110.dts | 2 +-
arch/mips/dts/jr2_pcb111.dts | 2 +-
arch/mips/dts/linkit-smart-7688.dts | 2 +-
arch/mips/dts/luton_pcb090.dts | 2 +-
arch/mips/dts/luton_pcb091.dts | 2 +-
arch/mips/dts/mscc,ocelot_pcb.dtsi | 2 +-
arch/mips/dts/netgear,cg3100d.dts | 2 +-
arch/mips/dts/sagem,f at st1704.dts | 2 +-
arch/mips/dts/serval2_pcb112.dts | 2 +-
arch/mips/dts/serval_pcb105.dts | 2 +-
arch/mips/dts/serval_pcb106.dts | 2 +-
arch/mips/dts/servalt_pcb116.dts | 2 +-
arch/mips/dts/tplink_wdr4300.dts | 2 +-
arch/nds32/dts/ae3xx.dts | 2 +-
arch/riscv/dts/ae350_32.dts | 2 +-
arch/riscv/dts/ae350_64.dts | 2 +-
arch/sandbox/dts/test.dts | 2 +-
116 files changed, 147 insertions(+), 147 deletions(-)
diff --git a/arch/arc/dts/axs10x_mb.dtsi b/arch/arc/dts/axs10x_mb.dtsi
index dfc0381..b5aacd5 100644
--- a/arch/arc/dts/axs10x_mb.dtsi
+++ b/arch/arc/dts/axs10x_mb.dtsi
@@ -71,7 +71,7 @@
clock-names = "spi_clk";
cs-gpio = <&cs_gpio 0>;
spi_flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <4000000>;
};
diff --git a/arch/arc/dts/hsdk.dts b/arch/arc/dts/hsdk.dts
index f024b96..5e9ba05 100644
--- a/arch/arc/dts/hsdk.dts
+++ b/arch/arc/dts/hsdk.dts
@@ -96,7 +96,7 @@
clock-names = "spi_clk";
cs-gpio = <&cs_gpio 0>;
spi_flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <4000000>;
};
diff --git a/arch/arm/dts/am335x-brppt1-spi.dts b/arch/arm/dts/am335x-brppt1-spi.dts
index 522ed50..01ab74b 100644
--- a/arch/arm/dts/am335x-brppt1-spi.dts
+++ b/arch/arm/dts/am335x-brppt1-spi.dts
@@ -169,7 +169,7 @@
spi_flash: spiflash at 0 {
u-boot,dm-spl;
u-boot,dm-pre-reloc;
- compatible = "spidev", "spi-flash";
+ compatible = "spidev", "jedec,spi-nor";
spi-max-frequency = <24000000>;
reg = <0>;
};
diff --git a/arch/arm/dts/am437x-idk-evm.dts b/arch/arm/dts/am437x-idk-evm.dts
index 28e3e1b..19d1462 100644
--- a/arch/arm/dts/am437x-idk-evm.dts
+++ b/arch/arm/dts/am437x-idk-evm.dts
@@ -339,7 +339,7 @@
spi-max-frequency = <48000000>;
m25p80 at 0 {
- compatible = "mx66l51235l", "spi-flash";
+ compatible = "mx66l51235l", "jedec,spi-nor";
spi-max-frequency = <48000000>;
reg = <0>;
spi-cpol;
diff --git a/arch/arm/dts/am437x-sk-evm.dts b/arch/arm/dts/am437x-sk-evm.dts
index 927d8d3..dc8fcde 100644
--- a/arch/arm/dts/am437x-sk-evm.dts
+++ b/arch/arm/dts/am437x-sk-evm.dts
@@ -568,7 +568,7 @@
spi-max-frequency = <48000000>;
m25p80 at 0 {
- compatible = "mx66l51235l","spi-flash";
+ compatible = "mx66l51235l","jedec,spi-nor";
spi-max-frequency = <48000000>;
reg = <0>;
spi-cpol;
diff --git a/arch/arm/dts/armada-3720-db.dts b/arch/arm/dts/armada-3720-db.dts
index 770c08a..1b219c4 100644
--- a/arch/arm/dts/armada-3720-db.dts
+++ b/arch/arm/dts/armada-3720-db.dts
@@ -131,7 +131,7 @@
spi-flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "st,m25p128", "spi-flash";
+ compatible = "st,m25p128", "jedec,spi-nor";
reg = <0>; /* Chip select 0 */
spi-max-frequency = <50000000>;
m25p,fast-read;
diff --git a/arch/arm/dts/armada-3720-espressobin.dts b/arch/arm/dts/armada-3720-espressobin.dts
index 7bfccb0..84e2c2a 100644
--- a/arch/arm/dts/armada-3720-espressobin.dts
+++ b/arch/arm/dts/armada-3720-espressobin.dts
@@ -118,7 +118,7 @@
spi-flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "st,m25p128", "spi-flash";
+ compatible = "st,m25p128", "jedec,spi-nor";
reg = <0>; /* Chip select 0 */
spi-max-frequency = <50000000>;
m25p,fast-read;
diff --git a/arch/arm/dts/armada-3720-turris-mox.dts b/arch/arm/dts/armada-3720-turris-mox.dts
index 14bec09..c36a5b8 100644
--- a/arch/arm/dts/armada-3720-turris-mox.dts
+++ b/arch/arm/dts/armada-3720-turris-mox.dts
@@ -115,7 +115,7 @@
spi-flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "st,s25fl064l", "spi-flash";
+ compatible = "st,s25fl064l", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <20000000>;
m25p,fast-read;
diff --git a/arch/arm/dts/armada-385-amc.dts b/arch/arm/dts/armada-385-amc.dts
index d4d127f..93c80e3 100644
--- a/arch/arm/dts/armada-385-amc.dts
+++ b/arch/arm/dts/armada-385-amc.dts
@@ -154,7 +154,7 @@
u-boot,dm-pre-reloc;
#address-cells = <1>;
#size-cells = <1>;
- compatible = "st,m25p128", "jedec,spi-nor", "spi-flash";
+ compatible = "st,m25p128", "jedec,spi-nor";
reg = <0>; /* Chip select 0 */
spi-max-frequency = <50000000>;
m25p,fast-read;
diff --git a/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi b/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi
index 904429b..1b46797 100644
--- a/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi
+++ b/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi
@@ -42,7 +42,7 @@
u-boot,dm-pre-reloc;
spi-flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <40000000>;
u-boot,dm-pre-reloc;
diff --git a/arch/arm/dts/armada-38x-controlcenterdc.dts b/arch/arm/dts/armada-38x-controlcenterdc.dts
index ffbd0dc..00f74b9 100644
--- a/arch/arm/dts/armada-38x-controlcenterdc.dts
+++ b/arch/arm/dts/armada-38x-controlcenterdc.dts
@@ -573,14 +573,14 @@
spi-flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "n25q016a", "spi-flash";
+ compatible = "n25q016a", "jedec,spi-nor";
reg = <0>; /* Chip select 0 */
spi-max-frequency = <108000000>;
};
spi-flash at 1 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "n25q128a11", "spi-flash";
+ compatible = "n25q128a11", "jedec,spi-nor";
reg = <1>; /* Chip select 1 */
spi-max-frequency = <108000000>;
u-boot,dm-pre-reloc;
diff --git a/arch/arm/dts/armada-38x-solidrun-microsom.dtsi b/arch/arm/dts/armada-38x-solidrun-microsom.dtsi
index 74f58de..a262722 100644
--- a/arch/arm/dts/armada-38x-solidrun-microsom.dtsi
+++ b/arch/arm/dts/armada-38x-solidrun-microsom.dtsi
@@ -86,7 +86,7 @@
w25q32: spi-flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "w25q32", "jedec,spi-nor", "spi-flash";
+ compatible = "w25q32", "jedec,spi-nor";
reg = <0>; /* Chip select 0 */
spi-max-frequency = <3000000>;
status = "disabled";
diff --git a/arch/arm/dts/armada-8040-clearfog-gt-8k.dts b/arch/arm/dts/armada-8040-clearfog-gt-8k.dts
index 498105f..659a9c9 100644
--- a/arch/arm/dts/armada-8040-clearfog-gt-8k.dts
+++ b/arch/arm/dts/armada-8040-clearfog-gt-8k.dts
@@ -232,7 +232,7 @@
status = "okay";
spi-flash at 0 {
- compatible = "jedec,spi-nor", "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
diff --git a/arch/arm/dts/armada-xp-theadorable.dts b/arch/arm/dts/armada-xp-theadorable.dts
index 5695e9b..b0f6c2b 100644
--- a/arch/arm/dts/armada-xp-theadorable.dts
+++ b/arch/arm/dts/armada-xp-theadorable.dts
@@ -134,7 +134,7 @@
u-boot,dm-pre-reloc;
#address-cells = <1>;
#size-cells = <1>;
- compatible = "n25q128a13", "jedec,spi-nor", "spi-flash";
+ compatible = "n25q128a13", "jedec,spi-nor";
reg = <0>; /* Chip select 0 */
spi-max-frequency = <27777777>;
};
diff --git a/arch/arm/dts/at91-sama5d2_xplained.dts b/arch/arm/dts/at91-sama5d2_xplained.dts
index 33064b3..c0708fe 100644
--- a/arch/arm/dts/at91-sama5d2_xplained.dts
+++ b/arch/arm/dts/at91-sama5d2_xplained.dts
@@ -110,7 +110,7 @@
u-boot,dm-pre-reloc;
spi_flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <50000000>;
u-boot,dm-pre-reloc;
diff --git a/arch/arm/dts/at91-sama5d4_xplained.dts b/arch/arm/dts/at91-sama5d4_xplained.dts
index 58a0e60..7da5086 100644
--- a/arch/arm/dts/at91-sama5d4_xplained.dts
+++ b/arch/arm/dts/at91-sama5d4_xplained.dts
@@ -117,7 +117,7 @@
status = "okay";
spi_flash at 0 {
u-boot,dm-pre-reloc;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
};
diff --git a/arch/arm/dts/at91-sama5d4ek.dts b/arch/arm/dts/at91-sama5d4ek.dts
index a5d7545..c1d6578 100644
--- a/arch/arm/dts/at91-sama5d4ek.dts
+++ b/arch/arm/dts/at91-sama5d4ek.dts
@@ -137,7 +137,7 @@
status = "okay";
spi_flash at 0 {
u-boot,dm-pre-reloc;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
};
diff --git a/arch/arm/dts/at91sam9n12ek.dts b/arch/arm/dts/at91sam9n12ek.dts
index 888bda1..64a7abf 100644
--- a/arch/arm/dts/at91sam9n12ek.dts
+++ b/arch/arm/dts/at91sam9n12ek.dts
@@ -112,7 +112,7 @@
status = "okay";
cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;
spi_flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
};
diff --git a/arch/arm/dts/at91sam9x5ek.dtsi b/arch/arm/dts/at91sam9x5ek.dtsi
index f2a532d..1f7f37b 100644
--- a/arch/arm/dts/at91sam9x5ek.dtsi
+++ b/arch/arm/dts/at91sam9x5ek.dtsi
@@ -121,7 +121,7 @@
status = "okay";
cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;
spi_flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
};
diff --git a/arch/arm/dts/bk4r1.dts b/arch/arm/dts/bk4r1.dts
index 866b80e..16c6026 100644
--- a/arch/arm/dts/bk4r1.dts
+++ b/arch/arm/dts/bk4r1.dts
@@ -32,7 +32,7 @@
qflash0: spi_flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <108000000>;
reg = <0>;
};
@@ -40,7 +40,7 @@
qflash1: spi_flash at 1 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <66000000>;
reg = <1>;
};
diff --git a/arch/arm/dts/da850-evm-u-boot.dtsi b/arch/arm/dts/da850-evm-u-boot.dtsi
index ab1de77..360e79e 100644
--- a/arch/arm/dts/da850-evm-u-boot.dtsi
+++ b/arch/arm/dts/da850-evm-u-boot.dtsi
@@ -7,5 +7,5 @@
*/
&flash {
- compatible = "m25p64", "spi-flash";
+ compatible = "m25p64", "jedec,spi-nor";
};
diff --git a/arch/arm/dts/exynos5250-snow.dts b/arch/arm/dts/exynos5250-snow.dts
index 7587dc0..e41f2d3 100644
--- a/arch/arm/dts/exynos5250-snow.dts
+++ b/arch/arm/dts/exynos5250-snow.dts
@@ -232,7 +232,7 @@
spi at 12d30000 {
spi-max-frequency = <50000000>;
firmware_storage_spi: flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
};
};
diff --git a/arch/arm/dts/exynos5250-spring.dts b/arch/arm/dts/exynos5250-spring.dts
index 191e12a..ae142a6 100644
--- a/arch/arm/dts/exynos5250-spring.dts
+++ b/arch/arm/dts/exynos5250-spring.dts
@@ -96,7 +96,7 @@
spi at 12d30000 {
spi-max-frequency = <50000000>;
firmware_storage_spi: flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
};
};
diff --git a/arch/arm/dts/exynos5420-peach-pit.dts b/arch/arm/dts/exynos5420-peach-pit.dts
index 4a96a18..a68c3b5 100644
--- a/arch/arm/dts/exynos5420-peach-pit.dts
+++ b/arch/arm/dts/exynos5420-peach-pit.dts
@@ -257,7 +257,7 @@
spi at 12d30000 { /* spi1 */
spi-max-frequency = <50000000>;
firmware_storage_spi: flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
/*
diff --git a/arch/arm/dts/fsl-ls1012a-2g5rdb.dts b/arch/arm/dts/fsl-ls1012a-2g5rdb.dts
index cdd4ce4..fecef88 100644
--- a/arch/arm/dts/fsl-ls1012a-2g5rdb.dts
+++ b/arch/arm/dts/fsl-ls1012a-2g5rdb.dts
@@ -27,7 +27,7 @@
qflash0: s25fl128s at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <20000000>;
reg = <0>;
};
diff --git a/arch/arm/dts/fsl-ls1012a-frdm.dtsi b/arch/arm/dts/fsl-ls1012a-frdm.dtsi
index 9cb3de1..a357793 100644
--- a/arch/arm/dts/fsl-ls1012a-frdm.dtsi
+++ b/arch/arm/dts/fsl-ls1012a-frdm.dtsi
@@ -21,7 +21,7 @@
qflash0: s25fl128s at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <20000000>;
reg = <0>;
};
diff --git a/arch/arm/dts/fsl-ls1012a-frwy.dts b/arch/arm/dts/fsl-ls1012a-frwy.dts
index a56909a..7242af5 100644
--- a/arch/arm/dts/fsl-ls1012a-frwy.dts
+++ b/arch/arm/dts/fsl-ls1012a-frwy.dts
@@ -28,7 +28,7 @@
qflash0: w25q16dw at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <20000000>;
reg = <0>;
};
diff --git a/arch/arm/dts/fsl-ls1012a-qds.dtsi b/arch/arm/dts/fsl-ls1012a-qds.dtsi
index 661af0e..a330597 100644
--- a/arch/arm/dts/fsl-ls1012a-qds.dtsi
+++ b/arch/arm/dts/fsl-ls1012a-qds.dtsi
@@ -20,7 +20,7 @@
dflash0: n25q128a {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <1000000>; /* input clock */
};
@@ -28,7 +28,7 @@
dflash1: sst25wf040b {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <3500000>;
reg = <1>;
};
@@ -36,7 +36,7 @@
dflash2: en25s64 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <3500000>;
reg = <2>;
};
@@ -49,7 +49,7 @@
qflash0: s25fl128s at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <20000000>;
reg = <0>;
};
diff --git a/arch/arm/dts/fsl-ls1012a-rdb.dtsi b/arch/arm/dts/fsl-ls1012a-rdb.dtsi
index 757e2eb..f053e78 100644
--- a/arch/arm/dts/fsl-ls1012a-rdb.dtsi
+++ b/arch/arm/dts/fsl-ls1012a-rdb.dtsi
@@ -21,7 +21,7 @@
qflash0: s25fl128s at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <20000000>;
reg = <0>;
};
diff --git a/arch/arm/dts/fsl-ls1043a-qds.dtsi b/arch/arm/dts/fsl-ls1043a-qds.dtsi
index 3841aee..70e1a6a 100644
--- a/arch/arm/dts/fsl-ls1043a-qds.dtsi
+++ b/arch/arm/dts/fsl-ls1043a-qds.dtsi
@@ -24,7 +24,7 @@
dflash0: n25q128a {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <1000000>; /* input clock */
spi-cpol;
spi-cpha;
@@ -34,7 +34,7 @@
dflash1: sst25wf040b {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <3500000>;
spi-cpol;
spi-cpha;
@@ -44,7 +44,7 @@
dflash2: en25s64 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <3500000>;
spi-cpol;
spi-cpha;
@@ -59,7 +59,7 @@
qflash0: s25fl128s at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <20000000>;
reg = <0>;
};
diff --git a/arch/arm/dts/fsl-ls1043a-rdb.dts b/arch/arm/dts/fsl-ls1043a-rdb.dts
index c42cad7..721b158 100644
--- a/arch/arm/dts/fsl-ls1043a-rdb.dts
+++ b/arch/arm/dts/fsl-ls1043a-rdb.dts
@@ -26,7 +26,7 @@
dspiflash: n25q12a {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <1000000>; /* input clock */
};
diff --git a/arch/arm/dts/fsl-ls1046a-qds.dtsi b/arch/arm/dts/fsl-ls1046a-qds.dtsi
index ada8a85..c95f44f 100644
--- a/arch/arm/dts/fsl-ls1046a-qds.dtsi
+++ b/arch/arm/dts/fsl-ls1046a-qds.dtsi
@@ -24,7 +24,7 @@
dflash0: n25q128a {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <1000000>; /* input clock */
spi-cpol;
spi-cpha;
@@ -34,7 +34,7 @@
dflash1: sst25wf040b {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <3500000>;
spi-cpol;
spi-cpha;
@@ -44,7 +44,7 @@
dflash2: en25s64 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <3500000>;
spi-cpol;
spi-cpha;
@@ -59,7 +59,7 @@
qflash0: s25fl128s at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <20000000>;
reg = <0>;
};
diff --git a/arch/arm/dts/fsl-ls1046a-rdb.dts b/arch/arm/dts/fsl-ls1046a-rdb.dts
index ba30fd2..a05c9e9 100644
--- a/arch/arm/dts/fsl-ls1046a-rdb.dts
+++ b/arch/arm/dts/fsl-ls1046a-rdb.dts
@@ -26,7 +26,7 @@
qflash0: s25fs512s at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
};
@@ -34,7 +34,7 @@
qflash1: s25fs512s at 1 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <1>;
};
diff --git a/arch/arm/dts/fsl-ls1088a-qds.dts b/arch/arm/dts/fsl-ls1088a-qds.dts
index 4ea451c..8fbb52f 100644
--- a/arch/arm/dts/fsl-ls1088a-qds.dts
+++ b/arch/arm/dts/fsl-ls1088a-qds.dts
@@ -62,7 +62,7 @@
dflash0: n25q128a {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <1000000>; /* input clock */
};
@@ -70,7 +70,7 @@
dflash1: sst25wf040b {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <3500000>;
reg = <1>;
};
@@ -78,7 +78,7 @@
dflash2: en25s64 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <3500000>;
reg = <2>;
};
@@ -91,7 +91,7 @@
qflash0: s25fs512s at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
};
@@ -99,7 +99,7 @@
qflash1: s25fs512s at 1 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <1>;
};
diff --git a/arch/arm/dts/fsl-ls1088a-rdb.dts b/arch/arm/dts/fsl-ls1088a-rdb.dts
index f30bbb7..765d1e3 100644
--- a/arch/arm/dts/fsl-ls1088a-rdb.dts
+++ b/arch/arm/dts/fsl-ls1088a-rdb.dts
@@ -24,7 +24,7 @@
qflash0: s25fs512s at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
};
@@ -32,7 +32,7 @@
qflash1: s25fs512s at 1 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <1>;
};
diff --git a/arch/arm/dts/fsl-ls2080a-qds.dts b/arch/arm/dts/fsl-ls2080a-qds.dts
index 39fbc1b..2a0a528 100644
--- a/arch/arm/dts/fsl-ls2080a-qds.dts
+++ b/arch/arm/dts/fsl-ls2080a-qds.dts
@@ -26,7 +26,7 @@
dflash0: n25q128a {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <3000000>;
spi-cpol;
spi-cpha;
@@ -35,7 +35,7 @@
dflash1: sst25wf040b {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <3000000>;
spi-cpol;
spi-cpha;
@@ -44,7 +44,7 @@
dflash2: en25s64 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <3000000>;
spi-cpol;
spi-cpha;
@@ -59,7 +59,7 @@
qflash0: s25fs256s at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <20000000>;
reg = <0>;
};
diff --git a/arch/arm/dts/fsl-ls2080a-rdb.dts b/arch/arm/dts/fsl-ls2080a-rdb.dts
index e7567cf..0a87cae 100644
--- a/arch/arm/dts/fsl-ls2080a-rdb.dts
+++ b/arch/arm/dts/fsl-ls2080a-rdb.dts
@@ -25,7 +25,7 @@
dflash0: n25q512a {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <3000000>;
spi-cpol;
spi-cpha;
diff --git a/arch/arm/dts/fsl-ls2081a-rdb.dts b/arch/arm/dts/fsl-ls2081a-rdb.dts
index 73e2683..b0b7ef0 100644
--- a/arch/arm/dts/fsl-ls2081a-rdb.dts
+++ b/arch/arm/dts/fsl-ls2081a-rdb.dts
@@ -28,7 +28,7 @@
dflash0: n25q512a {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <3000000>;
spi-cpol;
spi-cpha;
@@ -43,7 +43,7 @@
qflash0: s25fs512s at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
};
@@ -51,7 +51,7 @@
qflash1: s25fs512s at 1 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <1>;
};
diff --git a/arch/arm/dts/fsl-ls2088a-rdb-qspi.dts b/arch/arm/dts/fsl-ls2088a-rdb-qspi.dts
index b6d4f0f..bf97d13 100644
--- a/arch/arm/dts/fsl-ls2088a-rdb-qspi.dts
+++ b/arch/arm/dts/fsl-ls2088a-rdb-qspi.dts
@@ -28,7 +28,7 @@
dflash0: n25q512a {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <3000000>;
spi-cpol;
spi-cpha;
@@ -43,7 +43,7 @@
qflash0: s25fs512s at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
};
@@ -51,7 +51,7 @@
qflash1: s25fs512s at 1 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <1>;
};
diff --git a/arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi b/arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi
index f5c68d7..549461d 100644
--- a/arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi
+++ b/arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi
@@ -7,10 +7,10 @@
num-cs = <2>;
flash0: n25q256a at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
};
flash1: n25q256a at 1 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
};
};
diff --git a/arch/arm/dts/imx6sx-sdb-u-boot.dtsi b/arch/arm/dts/imx6sx-sdb-u-boot.dtsi
index 8e592cd..8f9236d 100644
--- a/arch/arm/dts/imx6sx-sdb-u-boot.dtsi
+++ b/arch/arm/dts/imx6sx-sdb-u-boot.dtsi
@@ -7,10 +7,10 @@
num-cs = <2>;
flash0: n25q256a at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
};
flash1: n25q256a at 1 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
};
};
diff --git a/arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi b/arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi
index db640d6..77cb461 100644
--- a/arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi
+++ b/arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi
@@ -5,6 +5,6 @@
&qspi {
flash0: n25q256a at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
};
};
\ No newline at end of file
diff --git a/arch/arm/dts/imx6ul-9x9-evk-u-boot.dtsi b/arch/arm/dts/imx6ul-9x9-evk-u-boot.dtsi
index db640d6..77cb461 100644
--- a/arch/arm/dts/imx6ul-9x9-evk-u-boot.dtsi
+++ b/arch/arm/dts/imx6ul-9x9-evk-u-boot.dtsi
@@ -5,6 +5,6 @@
&qspi {
flash0: n25q256a at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
};
};
\ No newline at end of file
diff --git a/arch/arm/dts/imx6ull-14x14-evk.dts b/arch/arm/dts/imx6ull-14x14-evk.dts
index 8a1b67d..9ebcfe1 100644
--- a/arch/arm/dts/imx6ull-14x14-evk.dts
+++ b/arch/arm/dts/imx6ull-14x14-evk.dts
@@ -455,7 +455,7 @@
#address-cells = <1>;
#size-cells = <1>;
/* compatible = "micron,n25q256a"; */
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <29000000>;
spi-nor,ddr-quad-read-dummy = <6>;
reg = <0>;
diff --git a/arch/arm/dts/imx7d-sdb-qspi-u-boot.dtsi b/arch/arm/dts/imx7d-sdb-qspi-u-boot.dtsi
index 2ce6961..585af6d 100644
--- a/arch/arm/dts/imx7d-sdb-qspi-u-boot.dtsi
+++ b/arch/arm/dts/imx7d-sdb-qspi-u-boot.dtsi
@@ -5,6 +5,6 @@
&qspi1 {
flash0: mx25l51245g at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
};
};
diff --git a/arch/arm/dts/keystone-k2e-evm.dts b/arch/arm/dts/keystone-k2e-evm.dts
index 3be8b53..9288df2 100644
--- a/arch/arm/dts/keystone-k2e-evm.dts
+++ b/arch/arm/dts/keystone-k2e-evm.dts
@@ -123,7 +123,7 @@
nor_flash: n25q128a11 at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "Micron,n25q128a11", "spi-flash";
+ compatible = "Micron,n25q128a11", "jedec,spi-nor";
spi-max-frequency = <54000000>;
m25p,fast-read;
reg = <0>;
diff --git a/arch/arm/dts/keystone-k2g-evm.dts b/arch/arm/dts/keystone-k2g-evm.dts
index 6c9de25..d91869f 100644
--- a/arch/arm/dts/keystone-k2g-evm.dts
+++ b/arch/arm/dts/keystone-k2g-evm.dts
@@ -75,7 +75,7 @@
spi_nor: flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
m25p,fast-read;
reg = <0>;
@@ -97,7 +97,7 @@
status = "okay";
flash0: m25p80 at 0 {
- compatible = "s25fl512s","spi-flash";
+ compatible = "s25fl512s","jedec,spi-nor";
reg = <0>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <4>;
diff --git a/arch/arm/dts/keystone-k2g-ice.dts b/arch/arm/dts/keystone-k2g-ice.dts
index 698338b..680dfee 100644
--- a/arch/arm/dts/keystone-k2g-ice.dts
+++ b/arch/arm/dts/keystone-k2g-ice.dts
@@ -38,7 +38,7 @@
status = "okay";
flash0: m25p80 at 0 {
- compatible = "s25fl256s1", "spi-flash";
+ compatible = "s25fl256s1", "jedec,spi-nor";
reg = <0>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <4>;
diff --git a/arch/arm/dts/keystone-k2hk-evm.dts b/arch/arm/dts/keystone-k2hk-evm.dts
index 76a675f..84c58d7 100644
--- a/arch/arm/dts/keystone-k2hk-evm.dts
+++ b/arch/arm/dts/keystone-k2hk-evm.dts
@@ -151,7 +151,7 @@
nor_flash: n25q128a11 at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "Micron,n25q128a11", "spi-flash";
+ compatible = "Micron,n25q128a11", "jedec,spi-nor";
spi-max-frequency = <54000000>;
m25p,fast-read;
reg = <0>;
diff --git a/arch/arm/dts/keystone-k2l-evm.dts b/arch/arm/dts/keystone-k2l-evm.dts
index b5c5617..91cefdf 100644
--- a/arch/arm/dts/keystone-k2l-evm.dts
+++ b/arch/arm/dts/keystone-k2l-evm.dts
@@ -100,7 +100,7 @@
nor_flash: n25q128a11 at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "Micron,n25q128a11", "spi-flash";
+ compatible = "Micron,n25q128a11", "jedec,spi-nor";
spi-max-frequency = <54000000>;
m25p,fast-read;
reg = <0>;
diff --git a/arch/arm/dts/kirkwood-atl-sbx81lifkw.dts b/arch/arm/dts/kirkwood-atl-sbx81lifkw.dts
index e5b1efa..4ae74f4 100644
--- a/arch/arm/dts/kirkwood-atl-sbx81lifkw.dts
+++ b/arch/arm/dts/kirkwood-atl-sbx81lifkw.dts
@@ -78,7 +78,7 @@
flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "st,m25p128", "jedec,spi-nor", "spi-flash";
+ compatible = "st,m25p128", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <50000000>;
mode = <0>;
diff --git a/arch/arm/dts/kirkwood-atl-sbx81lifxcat.dts b/arch/arm/dts/kirkwood-atl-sbx81lifxcat.dts
index c234449..6e3418f 100644
--- a/arch/arm/dts/kirkwood-atl-sbx81lifxcat.dts
+++ b/arch/arm/dts/kirkwood-atl-sbx81lifxcat.dts
@@ -92,7 +92,7 @@
flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "st,m25p128", "jedec,spi-nor", "spi-flash";
+ compatible = "st,m25p128", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <50000000>;
mode = <0>;
diff --git a/arch/arm/dts/kirkwood-dreamplug.dts b/arch/arm/dts/kirkwood-dreamplug.dts
index a647a65..7f326e2 100644
--- a/arch/arm/dts/kirkwood-dreamplug.dts
+++ b/arch/arm/dts/kirkwood-dreamplug.dts
@@ -43,7 +43,7 @@
m25p40 at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "mxicy,mx25l1606e", "jedec,spi-nor", "spi-flash";
+ compatible = "mxicy,mx25l1606e", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <50000000>;
mode = <0>;
diff --git a/arch/arm/dts/kirkwood-lsxl.dtsi b/arch/arm/dts/kirkwood-lsxl.dtsi
index 479a750..c99c0da 100644
--- a/arch/arm/dts/kirkwood-lsxl.dtsi
+++ b/arch/arm/dts/kirkwood-lsxl.dtsi
@@ -79,7 +79,7 @@
m25p40 at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "m25p40", "jedec,spi-nor", "spi-flash";
+ compatible = "m25p40", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
mode = <0>;
diff --git a/arch/arm/dts/kirkwood-netxbig.dtsi b/arch/arm/dts/kirkwood-netxbig.dtsi
index 135ac80..b573702 100644
--- a/arch/arm/dts/kirkwood-netxbig.dtsi
+++ b/arch/arm/dts/kirkwood-netxbig.dtsi
@@ -32,7 +32,7 @@
flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "mxicy,mx25l4005a", "jedec,spi-nor", "spi-flash";
+ compatible = "mxicy,mx25l4005a", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <20000000>;
mode = <0>;
diff --git a/arch/arm/dts/kirkwood-ns2-common.dtsi b/arch/arm/dts/kirkwood-ns2-common.dtsi
index f997bb4..51530ea 100644
--- a/arch/arm/dts/kirkwood-ns2-common.dtsi
+++ b/arch/arm/dts/kirkwood-ns2-common.dtsi
@@ -30,7 +30,7 @@
flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "mxicy,mx25l4005a", "jedec,spi-nor", "spi-flash";
+ compatible = "mxicy,mx25l4005a", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <20000000>;
mode = <0>;
diff --git a/arch/arm/dts/kirkwood-synology.dtsi b/arch/arm/dts/kirkwood-synology.dtsi
index b80d8ee..c97ed29 100644
--- a/arch/arm/dts/kirkwood-synology.dtsi
+++ b/arch/arm/dts/kirkwood-synology.dtsi
@@ -201,7 +201,7 @@
m25p80 at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "st,m25p80", "jedec,spi-nor", "spi-flash";
+ compatible = "st,m25p80", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <20000000>;
mode = <0>;
diff --git a/arch/arm/dts/ls1021a-iot.dtsi b/arch/arm/dts/ls1021a-iot.dtsi
index d27b601..44dd9b6 100644
--- a/arch/arm/dts/ls1021a-iot.dtsi
+++ b/arch/arm/dts/ls1021a-iot.dtsi
@@ -27,7 +27,7 @@
qflash0: n25q128a13 at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <20000000>;
reg = <0>;
};
@@ -40,7 +40,7 @@
dspiflash: at26df081a at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <16000000>;
spi-cpol;
spi-cpha;
diff --git a/arch/arm/dts/ls1021a-qds.dtsi b/arch/arm/dts/ls1021a-qds.dtsi
index f7783e5..b12102a 100644
--- a/arch/arm/dts/ls1021a-qds.dtsi
+++ b/arch/arm/dts/ls1021a-qds.dtsi
@@ -43,7 +43,7 @@
qflash0: s25fl128s at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <20000000>;
reg = <0>;
};
diff --git a/arch/arm/dts/ls1021a-twr.dtsi b/arch/arm/dts/ls1021a-twr.dtsi
index 928e100..5d3275c 100644
--- a/arch/arm/dts/ls1021a-twr.dtsi
+++ b/arch/arm/dts/ls1021a-twr.dtsi
@@ -30,7 +30,7 @@
qflash0: n25q128a13 at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <20000000>;
reg = <0>;
};
@@ -43,7 +43,7 @@
dspiflash: at26df081a at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <16000000>;
spi-cpol;
spi-cpha;
diff --git a/arch/arm/dts/mt7629-rfb.dts b/arch/arm/dts/mt7629-rfb.dts
index 95d10aa..4612218 100644
--- a/arch/arm/dts/mt7629-rfb.dts
+++ b/arch/arm/dts/mt7629-rfb.dts
@@ -62,7 +62,7 @@
status = "okay";
spi-flash at 0{
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
u-boot,dm-pre-reloc;
};
diff --git a/arch/arm/dts/omap5-u-boot.dtsi b/arch/arm/dts/omap5-u-boot.dtsi
index 54a7285..1b1d765 100644
--- a/arch/arm/dts/omap5-u-boot.dtsi
+++ b/arch/arm/dts/omap5-u-boot.dtsi
@@ -68,7 +68,7 @@
u-boot,dm-spl;
m25p80 at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
u-boot,dm-spl;
};
};
diff --git a/arch/arm/dts/r8a77970-eagle-u-boot.dts b/arch/arm/dts/r8a77970-eagle-u-boot.dts
index 5b17f1d..eb868ed 100644
--- a/arch/arm/dts/r8a77970-eagle-u-boot.dts
+++ b/arch/arm/dts/r8a77970-eagle-u-boot.dts
@@ -44,7 +44,7 @@
flash0: spi-flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "s25fs512s", "spi-flash", "jedec,spi-nor";
+ compatible = "s25fs512s", "jedec,spi-nor";
spi-max-frequency = <50000000>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <1>;
diff --git a/arch/arm/dts/rk3288-veyron.dtsi b/arch/arm/dts/rk3288-veyron.dtsi
index 49ba3f3..916dd48 100644
--- a/arch/arm/dts/rk3288-veyron.dtsi
+++ b/arch/arm/dts/rk3288-veyron.dtsi
@@ -307,7 +307,7 @@
spi_flash: spiflash at 0 {
u-boot,dm-pre-reloc;
- compatible = "spidev", "spi-flash";
+ compatible = "spidev", "jedec,spi-nor";
spi-max-frequency = <20000000>; /* Reduce for Dediprog em100 pro */
reg = <0>;
};
diff --git a/arch/arm/dts/rk3368-lion.dts b/arch/arm/dts/rk3368-lion.dts
index 5e578b1..2814542 100644
--- a/arch/arm/dts/rk3368-lion.dts
+++ b/arch/arm/dts/rk3368-lion.dts
@@ -185,7 +185,7 @@
#size-cells = <0>;
spiflash: w25q32dw at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <49500000>;
spi-cpol;
diff --git a/arch/arm/dts/rk3399-gru.dtsi b/arch/arm/dts/rk3399-gru.dtsi
index df19263..4cdb432 100644
--- a/arch/arm/dts/rk3399-gru.dtsi
+++ b/arch/arm/dts/rk3399-gru.dtsi
@@ -552,7 +552,7 @@ ap_i2c_audio: &i2c8 {
spi_flash: spiflash at 0 {
u-boot,dm-pre-reloc;
- compatible = "jedec,spi-nor", "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
/* May run faster once verified. */
diff --git a/arch/arm/dts/rk3399-puma.dtsi b/arch/arm/dts/rk3399-puma.dtsi
index 8304f67..aec13a2 100644
--- a/arch/arm/dts/rk3399-puma.dtsi
+++ b/arch/arm/dts/rk3399-puma.dtsi
@@ -658,7 +658,7 @@
spiflash: w25q32dw at 0 {
u-boot,dm-pre-reloc;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <49500000>;
spi-cpol;
diff --git a/arch/arm/dts/rv1108-evb.dts b/arch/arm/dts/rv1108-evb.dts
index ccb9969..c91776b 100644
--- a/arch/arm/dts/rv1108-evb.dts
+++ b/arch/arm/dts/rv1108-evb.dts
@@ -45,7 +45,7 @@
&sfc {
status = "okay";
flash at 0 {
- compatible = "gd25q256","spi-flash";
+ compatible = "gd25q256","jedec,spi-nor";
reg = <0>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <1>;
diff --git a/arch/arm/dts/sama5d27_som1.dtsi b/arch/arm/dts/sama5d27_som1.dtsi
index 9efcf63..ea7540b 100644
--- a/arch/arm/dts/sama5d27_som1.dtsi
+++ b/arch/arm/dts/sama5d27_som1.dtsi
@@ -66,7 +66,7 @@
u-boot,dm-pre-reloc;
spi_flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <50000000>;
spi-rx-bus-width = <4>;
diff --git a/arch/arm/dts/sama5d3xmb.dtsi b/arch/arm/dts/sama5d3xmb.dtsi
index f9ef905..c75b76a 100644
--- a/arch/arm/dts/sama5d3xmb.dtsi
+++ b/arch/arm/dts/sama5d3xmb.dtsi
@@ -35,7 +35,7 @@
u-boot,dm-pre-reloc;
spi_flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
u-boot,dm-pre-reloc;
diff --git a/arch/arm/dts/sama5d3xmb_cmp.dtsi b/arch/arm/dts/sama5d3xmb_cmp.dtsi
index 9792b2a..5566fde 100644
--- a/arch/arm/dts/sama5d3xmb_cmp.dtsi
+++ b/arch/arm/dts/sama5d3xmb_cmp.dtsi
@@ -32,7 +32,7 @@
dmas = <0>, <0>; /* Do not use DMA for spi0 */
spi_flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
};
diff --git a/arch/arm/dts/socfpga_arria5_socdk-u-boot.dtsi b/arch/arm/dts/socfpga_arria5_socdk-u-boot.dtsi
index c44d1ee..e75f290 100644
--- a/arch/arm/dts/socfpga_arria5_socdk-u-boot.dtsi
+++ b/arch/arm/dts/socfpga_arria5_socdk-u-boot.dtsi
@@ -30,7 +30,7 @@
};
&flash {
- compatible = "n25q00", "spi-flash";
+ compatible = "n25q00", "jedec,spi-nor";
u-boot,dm-pre-reloc;
};
diff --git a/arch/arm/dts/socfpga_cyclone5_is1.dts b/arch/arm/dts/socfpga_cyclone5_is1.dts
index b7054bf..93e4d45 100644
--- a/arch/arm/dts/socfpga_cyclone5_is1.dts
+++ b/arch/arm/dts/socfpga_cyclone5_is1.dts
@@ -91,7 +91,7 @@
u-boot,dm-pre-reloc;
#address-cells = <1>;
#size-cells = <1>;
- compatible = "n25q00", "spi-flash";
+ compatible = "n25q00", "jedec,spi-nor";
reg = <0>; /* chip select */
spi-max-frequency = <100000000>;
m25p,fast-read;
diff --git a/arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi b/arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi
index 9436e0f..2fafd7e 100644
--- a/arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi
+++ b/arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi
@@ -34,7 +34,7 @@
};
&flash0 {
- compatible = "n25q00", "spi-flash";
+ compatible = "n25q00", "jedec,spi-nor";
u-boot,dm-pre-reloc;
partition at qspi-boot {
diff --git a/arch/arm/dts/socfpga_cyclone5_sockit-u-boot.dtsi b/arch/arm/dts/socfpga_cyclone5_sockit-u-boot.dtsi
index 648f1bd..7ef3053 100644
--- a/arch/arm/dts/socfpga_cyclone5_sockit-u-boot.dtsi
+++ b/arch/arm/dts/socfpga_cyclone5_sockit-u-boot.dtsi
@@ -30,7 +30,7 @@
};
&flash {
- compatible = "n25q00", "spi-flash";
+ compatible = "n25q00", "jedec,spi-nor";
u-boot,dm-pre-reloc;
};
diff --git a/arch/arm/dts/socfpga_cyclone5_socrates-u-boot.dtsi b/arch/arm/dts/socfpga_cyclone5_socrates-u-boot.dtsi
index 31bd1db..1003115 100644
--- a/arch/arm/dts/socfpga_cyclone5_socrates-u-boot.dtsi
+++ b/arch/arm/dts/socfpga_cyclone5_socrates-u-boot.dtsi
@@ -30,7 +30,7 @@
};
&flash {
- compatible = "n25q256a", "spi-flash";
+ compatible = "n25q256a", "jedec,spi-nor";
u-boot,dm-pre-reloc;
};
diff --git a/arch/arm/dts/socfpga_cyclone5_sr1500.dts b/arch/arm/dts/socfpga_cyclone5_sr1500.dts
index 6a6c29b..1a18c4f 100644
--- a/arch/arm/dts/socfpga_cyclone5_sr1500.dts
+++ b/arch/arm/dts/socfpga_cyclone5_sr1500.dts
@@ -99,7 +99,7 @@
u-boot,dm-pre-reloc;
#address-cells = <1>;
#size-cells = <1>;
- compatible = "n25q00", "spi-flash";
+ compatible = "n25q00", "jedec,spi-nor";
reg = <0>; /* chip select */
spi-max-frequency = <100000000>;
m25p,fast-read;
diff --git a/arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi b/arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi
index 360b946..e05ca82 100644
--- a/arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi
+++ b/arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi
@@ -29,11 +29,11 @@
u-boot,dm-pre-reloc;
n25q128 at 0 {
- compatible = "n25q128", "spi-flash";
+ compatible = "n25q128", "jedec,spi-nor";
u-boot,dm-pre-reloc;
};
n25q00 at 1 {
- compatible = "n25q00", "spi-flash";
+ compatible = "n25q00", "jedec,spi-nor";
u-boot,dm-pre-reloc;
};
};
diff --git a/arch/arm/dts/stm32f746-disco.dts b/arch/arm/dts/stm32f746-disco.dts
index 7ef33d6..babd37f 100644
--- a/arch/arm/dts/stm32f746-disco.dts
+++ b/arch/arm/dts/stm32f746-disco.dts
@@ -297,7 +297,7 @@
qflash0: n25q128a {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "micron,n25q128a13", "spi-flash";
+ compatible = "micron,n25q128a13", "jedec,spi-nor";
spi-max-frequency = <108000000>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <1>;
diff --git a/arch/arm/dts/stm32f769-disco.dts b/arch/arm/dts/stm32f769-disco.dts
index 1e8ef74..a23d02d 100644
--- a/arch/arm/dts/stm32f769-disco.dts
+++ b/arch/arm/dts/stm32f769-disco.dts
@@ -246,7 +246,7 @@
qflash0: n25q128a {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "micron,n25q128a13", "spi-flash";
+ compatible = "micron,n25q128a13", "jedec,spi-nor";
spi-max-frequency = <108000000>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <1>;
diff --git a/arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi
index 30b1734..409f983 100644
--- a/arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi
@@ -14,11 +14,11 @@
};
&flash0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
};
&flash1 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
};
&v3v3 {
diff --git a/arch/arm/dts/stv0991.dts b/arch/arm/dts/stv0991.dts
index 98bd5df..b04e899 100644
--- a/arch/arm/dts/stv0991.dts
+++ b/arch/arm/dts/stv0991.dts
@@ -40,7 +40,7 @@
flash0: n25q32 at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>; /* chip select */
spi-max-frequency = <50000000>;
m25p,fast-read;
diff --git a/arch/arm/dts/zynq-zed.dts b/arch/arm/dts/zynq-zed.dts
index 9c505fb..8b1cf54 100644
--- a/arch/arm/dts/zynq-zed.dts
+++ b/arch/arm/dts/zynq-zed.dts
@@ -53,7 +53,7 @@
status = "okay";
num-cs = <1>;
flash at 0 {
- compatible = "spansion,s25fl256s", "spi-flash";
+ compatible = "spansion,s25fl256s", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <30000000>;
m25p,fast-read;
diff --git a/arch/arm/dts/zynqmp-zc1232-revA.dts b/arch/arm/dts/zynqmp-zc1232-revA.dts
index 5c212ba..6117f83 100644
--- a/arch/arm/dts/zynqmp-zc1232-revA.dts
+++ b/arch/arm/dts/zynqmp-zc1232-revA.dts
@@ -41,7 +41,7 @@
&qspi {
status = "okay";
flash at 0 {
- compatible = "m25p80", "spi-flash"; /* 32MB FIXME */
+ compatible = "m25p80", "jedec,spi-nor"; /* 32MB FIXME */
#address-cells = <1>;
#size-cells = <1>;
reg = <0x0>;
diff --git a/arch/arm/dts/zynqmp-zc1254-revA.dts b/arch/arm/dts/zynqmp-zc1254-revA.dts
index 881aacc..6ac8346 100644
--- a/arch/arm/dts/zynqmp-zc1254-revA.dts
+++ b/arch/arm/dts/zynqmp-zc1254-revA.dts
@@ -41,7 +41,7 @@
&qspi {
status = "okay";
flash at 0 {
- compatible = "m25p80", "spi-flash"; /* 32MB */
+ compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
#address-cells = <1>;
#size-cells = <1>;
reg = <0x0>;
diff --git a/arch/arm/dts/zynqmp-zc1275-revA.dts b/arch/arm/dts/zynqmp-zc1275-revA.dts
index 7403f15..82c30a3 100644
--- a/arch/arm/dts/zynqmp-zc1275-revA.dts
+++ b/arch/arm/dts/zynqmp-zc1275-revA.dts
@@ -41,7 +41,7 @@
&qspi {
status = "okay";
flash at 0 {
- compatible = "m25p80", "spi-flash"; /* 32MB */
+ compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
#address-cells = <1>;
#size-cells = <1>;
reg = <0x0>;
diff --git a/arch/arm/dts/zynqmp-zc1275-revB.dts b/arch/arm/dts/zynqmp-zc1275-revB.dts
index e84b2da..c6348ff 100644
--- a/arch/arm/dts/zynqmp-zc1275-revB.dts
+++ b/arch/arm/dts/zynqmp-zc1275-revB.dts
@@ -42,7 +42,7 @@
&qspi {
status = "okay";
flash at 0 {
- compatible = "m25p80", "spi-flash"; /* 32MB */
+ compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
#address-cells = <1>;
#size-cells = <1>;
reg = <0x0>;
diff --git a/arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts b/arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts
index 9768dfe..8824f5c 100644
--- a/arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts
+++ b/arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts
@@ -101,7 +101,7 @@
&qspi {
status = "okay";
flash at 0 {
- compatible = "m25p80", "spi-flash"; /* Micron MT25QU512ABB8ESF */
+ compatible = "m25p80", "jedec,spi-nor"; /* Micron MT25QU512ABB8ESF */
#address-cells = <1>;
#size-cells = <1>;
reg = <0x0>;
diff --git a/arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts b/arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts
index 9afbbb6..84c2904 100644
--- a/arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts
+++ b/arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts
@@ -180,7 +180,7 @@
&qspi {
status = "okay";
flash at 0 {
- compatible = "m25p80", "spi-flash"; /* 32MB */
+ compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
#address-cells = <1>;
#size-cells = <1>;
reg = <0x0>;
diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/arm/dts/zynqmp-zcu102-revA.dts
index 05be919..d209355 100644
--- a/arch/arm/dts/zynqmp-zcu102-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu102-revA.dts
@@ -536,7 +536,7 @@
status = "okay";
is-dual = <1>;
flash at 0 {
- compatible = "m25p80", "spi-flash"; /* 32MB */
+ compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
#address-cells = <1>;
#size-cells = <1>;
reg = <0x0>;
diff --git a/arch/arm/dts/zynqmp-zcu104-revA.dts b/arch/arm/dts/zynqmp-zcu104-revA.dts
index 431dff5..c7a3cdc 100644
--- a/arch/arm/dts/zynqmp-zcu104-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu104-revA.dts
@@ -169,7 +169,7 @@
&qspi {
status = "okay";
flash at 0 {
- compatible = "m25p80", "spi-flash"; /* n25q512a 128MiB */
+ compatible = "m25p80", "jedec,spi-nor"; /* n25q512a 128MiB */
#address-cells = <1>;
#size-cells = <1>;
reg = <0x0>;
diff --git a/arch/arm/dts/zynqmp-zcu104-revC.dts b/arch/arm/dts/zynqmp-zcu104-revC.dts
index becc6a0..2d9d195 100644
--- a/arch/arm/dts/zynqmp-zcu104-revC.dts
+++ b/arch/arm/dts/zynqmp-zcu104-revC.dts
@@ -175,7 +175,7 @@
&qspi {
status = "okay";
flash at 0 {
- compatible = "m25p80", "spi-flash"; /* n25q512a 128MiB */
+ compatible = "m25p80", "jedec,spi-nor"; /* n25q512a 128MiB */
#address-cells = <1>;
#size-cells = <1>;
reg = <0x0>;
diff --git a/arch/arm/dts/zynqmp-zcu106-revA.dts b/arch/arm/dts/zynqmp-zcu106-revA.dts
index 7735e9d..2358c24 100644
--- a/arch/arm/dts/zynqmp-zcu106-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu106-revA.dts
@@ -514,7 +514,7 @@
status = "okay";
is-dual = <1>;
flash at 0 {
- compatible = "m25p80", "spi-flash"; /* 32MB */
+ compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
#address-cells = <1>;
#size-cells = <1>;
reg = <0x0>;
diff --git a/arch/arm/dts/zynqmp-zcu111-revA.dts b/arch/arm/dts/zynqmp-zcu111-revA.dts
index 172e6cc..7653e11 100644
--- a/arch/arm/dts/zynqmp-zcu111-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu111-revA.dts
@@ -451,7 +451,7 @@
status = "okay";
is-dual = <1>;
flash at 0 {
- compatible = "m25p80", "spi-flash"; /* 32MB */
+ compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
#address-cells = <1>;
#size-cells = <1>;
reg = <0x0>;
diff --git a/arch/mips/dts/ap121.dts b/arch/mips/dts/ap121.dts
index 4ca1c70..f30af50 100644
--- a/arch/mips/dts/ap121.dts
+++ b/arch/mips/dts/ap121.dts
@@ -34,7 +34,7 @@
spi-flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
memory-map = <0x9f000000 0x00800000>;
spi-max-frequency = <25000000>;
reg = <0>;
diff --git a/arch/mips/dts/ap143.dts b/arch/mips/dts/ap143.dts
index 6aedd87..82bf637 100644
--- a/arch/mips/dts/ap143.dts
+++ b/arch/mips/dts/ap143.dts
@@ -34,7 +34,7 @@
spi-flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
memory-map = <0x9f000000 0x00800000>;
spi-max-frequency = <25000000>;
reg = <0>;
diff --git a/arch/mips/dts/comtrend,ar-5315u.dts b/arch/mips/dts/comtrend,ar-5315u.dts
index eb60aaa..28443b3 100644
--- a/arch/mips/dts/comtrend,ar-5315u.dts
+++ b/arch/mips/dts/comtrend,ar-5315u.dts
@@ -110,7 +110,7 @@
status = "okay";
spi-flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
diff --git a/arch/mips/dts/comtrend,ar-5387un.dts b/arch/mips/dts/comtrend,ar-5387un.dts
index 03e3851..12ace64 100644
--- a/arch/mips/dts/comtrend,ar-5387un.dts
+++ b/arch/mips/dts/comtrend,ar-5387un.dts
@@ -94,7 +94,7 @@
status = "okay";
spi-flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
diff --git a/arch/mips/dts/gardena-smart-gateway-mt7688.dts b/arch/mips/dts/gardena-smart-gateway-mt7688.dts
index 75f6037..2f2cfdd 100644
--- a/arch/mips/dts/gardena-smart-gateway-mt7688.dts
+++ b/arch/mips/dts/gardena-smart-gateway-mt7688.dts
@@ -97,7 +97,7 @@
spi-flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash", "jedec,spi-nor";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <40000000>;
reg = <0>;
};
diff --git a/arch/mips/dts/jr2_pcb110.dts b/arch/mips/dts/jr2_pcb110.dts
index ddc30ff..1e12397 100644
--- a/arch/mips/dts/jr2_pcb110.dts
+++ b/arch/mips/dts/jr2_pcb110.dts
@@ -43,7 +43,7 @@
&spi0 {
status = "okay";
spi-flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <18000000>; /* input clock */
reg = <0>; /* CS0 */
};
diff --git a/arch/mips/dts/jr2_pcb111.dts b/arch/mips/dts/jr2_pcb111.dts
index 4d411b6..fcd8455 100644
--- a/arch/mips/dts/jr2_pcb111.dts
+++ b/arch/mips/dts/jr2_pcb111.dts
@@ -43,7 +43,7 @@
&spi0 {
status = "okay";
spi-flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <18000000>; /* input clock */
reg = <0>; /* CS0 */
};
diff --git a/arch/mips/dts/linkit-smart-7688.dts b/arch/mips/dts/linkit-smart-7688.dts
index c9db136..bb10402 100644
--- a/arch/mips/dts/linkit-smart-7688.dts
+++ b/arch/mips/dts/linkit-smart-7688.dts
@@ -38,7 +38,7 @@
spi-flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash", "jedec,spi-nor";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <25000000>;
reg = <0>;
};
diff --git a/arch/mips/dts/luton_pcb090.dts b/arch/mips/dts/luton_pcb090.dts
index 315172b..fe457ba 100644
--- a/arch/mips/dts/luton_pcb090.dts
+++ b/arch/mips/dts/luton_pcb090.dts
@@ -48,7 +48,7 @@
&spi0 {
status = "okay";
spi-flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <18000000>; /* input clock */
reg = <0>; /* CS0 */
spi-cs-high;
diff --git a/arch/mips/dts/luton_pcb091.dts b/arch/mips/dts/luton_pcb091.dts
index 9b4d628..f684cc8 100644
--- a/arch/mips/dts/luton_pcb091.dts
+++ b/arch/mips/dts/luton_pcb091.dts
@@ -54,7 +54,7 @@
&spi0 {
status = "okay";
spi-flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <18000000>; /* input clock */
reg = <0>; /* CS0 */
spi-cs-high;
diff --git a/arch/mips/dts/mscc,ocelot_pcb.dtsi b/arch/mips/dts/mscc,ocelot_pcb.dtsi
index 90725d3..885b564 100644
--- a/arch/mips/dts/mscc,ocelot_pcb.dtsi
+++ b/arch/mips/dts/mscc,ocelot_pcb.dtsi
@@ -29,7 +29,7 @@
pinctrl-names = "default";
spi-flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <18000000>; /* input clock */
reg = <0>; /* CS0 */
};
diff --git a/arch/mips/dts/netgear,cg3100d.dts b/arch/mips/dts/netgear,cg3100d.dts
index a3d4cd5..a42a0da 100644
--- a/arch/mips/dts/netgear,cg3100d.dts
+++ b/arch/mips/dts/netgear,cg3100d.dts
@@ -93,7 +93,7 @@
status = "okay";
spi-flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
diff --git a/arch/mips/dts/sagem,f at st1704.dts b/arch/mips/dts/sagem,f at st1704.dts
index ec6846d..98ed353 100644
--- a/arch/mips/dts/sagem,f at st1704.dts
+++ b/arch/mips/dts/sagem,f at st1704.dts
@@ -59,7 +59,7 @@
status = "okay";
spi-flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
diff --git a/arch/mips/dts/serval2_pcb112.dts b/arch/mips/dts/serval2_pcb112.dts
index fe025f4..2921c44 100644
--- a/arch/mips/dts/serval2_pcb112.dts
+++ b/arch/mips/dts/serval2_pcb112.dts
@@ -43,7 +43,7 @@
&spi0 {
status = "okay";
spi-flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <18000000>; /* input clock */
reg = <0>; /* CS0 */
};
diff --git a/arch/mips/dts/serval_pcb105.dts b/arch/mips/dts/serval_pcb105.dts
index d0d6fac..1598669 100644
--- a/arch/mips/dts/serval_pcb105.dts
+++ b/arch/mips/dts/serval_pcb105.dts
@@ -43,7 +43,7 @@
&spi0 {
status = "okay";
spi-flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <18000000>; /* input clock */
reg = <0>; /* CS0 */
spi-cs-high;
diff --git a/arch/mips/dts/serval_pcb106.dts b/arch/mips/dts/serval_pcb106.dts
index 1198249..fb3524b 100644
--- a/arch/mips/dts/serval_pcb106.dts
+++ b/arch/mips/dts/serval_pcb106.dts
@@ -43,7 +43,7 @@
&spi0 {
status = "okay";
spi-flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <18000000>; /* input clock */
reg = <0>; /* CS0 */
spi-cs-high;
diff --git a/arch/mips/dts/servalt_pcb116.dts b/arch/mips/dts/servalt_pcb116.dts
index fb33312..4de3e25 100644
--- a/arch/mips/dts/servalt_pcb116.dts
+++ b/arch/mips/dts/servalt_pcb116.dts
@@ -43,7 +43,7 @@
&spi0 {
status = "okay";
spi-flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <18000000>; /* input clock */
reg = <0>; /* CS0 */
spi-cs-high;
diff --git a/arch/mips/dts/tplink_wdr4300.dts b/arch/mips/dts/tplink_wdr4300.dts
index 96cf0da..2bcad6d 100644
--- a/arch/mips/dts/tplink_wdr4300.dts
+++ b/arch/mips/dts/tplink_wdr4300.dts
@@ -35,7 +35,7 @@
spi-flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
memory-map = <0x1e000000 0x00800000>;
spi-max-frequency = <25000000>;
reg = <0>;
diff --git a/arch/nds32/dts/ae3xx.dts b/arch/nds32/dts/ae3xx.dts
index 272eb33..7bba2a2 100644
--- a/arch/nds32/dts/ae3xx.dts
+++ b/arch/nds32/dts/ae3xx.dts
@@ -93,7 +93,7 @@
clocks = <&spiclk>;
interrupts = <3 4>;
flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
spi-cpol;
diff --git a/arch/riscv/dts/ae350_32.dts b/arch/riscv/dts/ae350_32.dts
index 0679827..15bff2b 100644
--- a/arch/riscv/dts/ae350_32.dts
+++ b/arch/riscv/dts/ae350_32.dts
@@ -219,7 +219,7 @@
interrupts = <4 4>;
interrupt-parent = <&plic0>;
flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
spi-cpol;
diff --git a/arch/riscv/dts/ae350_64.dts b/arch/riscv/dts/ae350_64.dts
index e48c298..7aec9a4 100644
--- a/arch/riscv/dts/ae350_64.dts
+++ b/arch/riscv/dts/ae350_64.dts
@@ -219,7 +219,7 @@
interrupts = <4 4>;
interrupt-parent = <&plic0>;
flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
spi-cpol;
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 1d011de..7afbb2a 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -565,7 +565,7 @@
cs-gpios = <0>, <&gpio_a 0>;
spi.bin at 0 {
reg = <0>;
- compatible = "spansion,m25p16", "spi-flash";
+ compatible = "spansion,m25p16", "jedec,spi-nor";
spi-max-frequency = <40000000>;
sandbox,filename = "spi.bin";
};
--
2.7.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [U-Boot] [PATCH v4 2/4] x86: dts: switch spi-flash to jedec, spi-nor compatible
2019-02-10 10:16 [U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding Neil Armstrong
2019-02-10 10:16 ` [U-Boot] [PATCH v4 1/4] dts: switch spi-flash to jedec, spi-nor compatible Neil Armstrong
@ 2019-02-10 10:16 ` Neil Armstrong
2019-02-10 10:16 ` [U-Boot] [PATCH v4 3/4] mtd: sf_probe: remove spi-flash compatible Neil Armstrong
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Neil Armstrong @ 2019-02-10 10:16 UTC (permalink / raw)
To: u-boot
The x86 code and DT uses "spi-flash" to detect a flash node, switch to
"jedec,spi-nor" in the DTS files and in fdtdec by switching the
GENERIC_SPI_FLASH value to to jedec,spi-nor.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
---
arch/x86/dts/bayleybay.dts | 2 +-
arch/x86/dts/baytrail_som-db5800-som-6867.dts | 2 +-
arch/x86/dts/cherryhill.dts | 2 +-
arch/x86/dts/chromebook_link.dts | 2 +-
arch/x86/dts/chromebook_samus.dts | 2 +-
arch/x86/dts/chromebox_panther.dts | 2 +-
arch/x86/dts/conga-qeval20-qa3-e3845.dts | 2 +-
arch/x86/dts/cougarcanyon2.dts | 2 +-
arch/x86/dts/crownbay.dts | 2 +-
arch/x86/dts/dfi-bt700.dtsi | 2 +-
arch/x86/dts/galileo.dts | 2 +-
arch/x86/dts/minnowmax.dts | 2 +-
lib/fdtdec.c | 2 +-
13 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/arch/x86/dts/bayleybay.dts b/arch/x86/dts/bayleybay.dts
index 291dc07..d0168e8 100644
--- a/arch/x86/dts/bayleybay.dts
+++ b/arch/x86/dts/bayleybay.dts
@@ -175,7 +175,7 @@
#size-cells = <1>;
reg = <0>;
compatible = "winbond,w25q64dw",
- "spi-flash";
+ "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>;
rw-mrc-cache {
label = "rw-mrc-cache";
diff --git a/arch/x86/dts/baytrail_som-db5800-som-6867.dts b/arch/x86/dts/baytrail_som-db5800-som-6867.dts
index 4e8a761..5abbc66 100644
--- a/arch/x86/dts/baytrail_som-db5800-som-6867.dts
+++ b/arch/x86/dts/baytrail_som-db5800-som-6867.dts
@@ -199,7 +199,7 @@
#size-cells = <1>;
reg = <0>;
compatible = "macronix,mx25l6405d",
- "spi-flash";
+ "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>;
rw-mrc-cache {
label = "rw-mrc-cache";
diff --git a/arch/x86/dts/cherryhill.dts b/arch/x86/dts/cherryhill.dts
index 39e2d2f..37146fd 100644
--- a/arch/x86/dts/cherryhill.dts
+++ b/arch/x86/dts/cherryhill.dts
@@ -147,7 +147,7 @@
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
- compatible = "macronix,mx25u6435f", "spi-flash";
+ compatible = "macronix,mx25u6435f", "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>;
rw-mrc-cache {
label = "rw-mrc-cache";
diff --git a/arch/x86/dts/chromebook_link.dts b/arch/x86/dts/chromebook_link.dts
index f9f0979..fc9d156 100644
--- a/arch/x86/dts/chromebook_link.dts
+++ b/arch/x86/dts/chromebook_link.dts
@@ -401,7 +401,7 @@
u-boot,dm-pre-reloc;
reg = <0>;
compatible = "winbond,w25q64",
- "spi-flash";
+ "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>;
rw-mrc-cache {
label = "rw-mrc-cache";
diff --git a/arch/x86/dts/chromebook_samus.dts b/arch/x86/dts/chromebook_samus.dts
index b58936b..0866a72 100644
--- a/arch/x86/dts/chromebook_samus.dts
+++ b/arch/x86/dts/chromebook_samus.dts
@@ -538,7 +538,7 @@
#address-cells = <1>;
reg = <0>;
compatible = "winbond,w25q64",
- "spi-flash";
+ "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>;
rw-mrc-cache {
label = "rw-mrc-cache";
diff --git a/arch/x86/dts/chromebox_panther.dts b/arch/x86/dts/chromebox_panther.dts
index f56e482..bcd4c4d 100644
--- a/arch/x86/dts/chromebox_panther.dts
+++ b/arch/x86/dts/chromebox_panther.dts
@@ -47,7 +47,7 @@
#address-cells = <1>;
reg = <0>;
compatible = "winbond,w25q64",
- "spi-flash";
+ "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>;
rw-mrc-cache {
label = "rw-mrc-cache";
diff --git a/arch/x86/dts/conga-qeval20-qa3-e3845.dts b/arch/x86/dts/conga-qeval20-qa3-e3845.dts
index 5884dbc..70b8c04 100644
--- a/arch/x86/dts/conga-qeval20-qa3-e3845.dts
+++ b/arch/x86/dts/conga-qeval20-qa3-e3845.dts
@@ -186,7 +186,7 @@
#size-cells = <1>;
reg = <0>;
compatible = "stmicro,n25q064a",
- "spi-flash";
+ "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>;
rw-mrc-cache {
label = "rw-mrc-cache";
diff --git a/arch/x86/dts/cougarcanyon2.dts b/arch/x86/dts/cougarcanyon2.dts
index 9801790..c6ba811 100644
--- a/arch/x86/dts/cougarcanyon2.dts
+++ b/arch/x86/dts/cougarcanyon2.dts
@@ -154,7 +154,7 @@
spi-flash at 0 {
reg = <0>;
- compatible = "winbond,w25q64bv", "spi-flash";
+ compatible = "winbond,w25q64bv", "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>;
};
};
diff --git a/arch/x86/dts/crownbay.dts b/arch/x86/dts/crownbay.dts
index 2ffcc5f..f5b1ac6 100644
--- a/arch/x86/dts/crownbay.dts
+++ b/arch/x86/dts/crownbay.dts
@@ -223,7 +223,7 @@
spi-flash at 0 {
reg = <0>;
compatible = "sst,25vf016b",
- "spi-flash";
+ "jedec,spi-nor";
memory-map = <0xffe00000 0x00200000>;
};
};
diff --git a/arch/x86/dts/dfi-bt700.dtsi b/arch/x86/dts/dfi-bt700.dtsi
index 51d33e7..e9930cb 100644
--- a/arch/x86/dts/dfi-bt700.dtsi
+++ b/arch/x86/dts/dfi-bt700.dtsi
@@ -197,7 +197,7 @@
#size-cells = <1>;
reg = <0>;
compatible = "stmicro,n25q064a",
- "spi-flash";
+ "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>;
rw-mrc-cache {
label = "rw-mrc-cache";
diff --git a/arch/x86/dts/galileo.dts b/arch/x86/dts/galileo.dts
index 3a5d168..5de4568 100644
--- a/arch/x86/dts/galileo.dts
+++ b/arch/x86/dts/galileo.dts
@@ -139,7 +139,7 @@
#address-cells = <1>;
reg = <0>;
compatible = "winbond,w25q64",
- "spi-flash";
+ "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>;
rw-mrc-cache {
label = "rw-mrc-cache";
diff --git a/arch/x86/dts/minnowmax.dts b/arch/x86/dts/minnowmax.dts
index 6c65fb9..f4cdb2c 100644
--- a/arch/x86/dts/minnowmax.dts
+++ b/arch/x86/dts/minnowmax.dts
@@ -199,7 +199,7 @@
#size-cells = <1>;
reg = <0>;
compatible = "stmicro,n25q064a",
- "spi-flash";
+ "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>;
rw-mrc-cache {
label = "rw-mrc-cache";
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 18663ce..b2f898f 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -49,7 +49,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(SAMSUNG_EXYNOS_MIPI_DSI, "samsung,exynos-mipi-dsi"),
COMPAT(SAMSUNG_EXYNOS_DWMMC, "samsung,exynos-dwmmc"),
COMPAT(SAMSUNG_EXYNOS_MMC, "samsung,exynos-mmc"),
- COMPAT(GENERIC_SPI_FLASH, "spi-flash"),
+ COMPAT(GENERIC_SPI_FLASH, "jedec,spi-nor"),
COMPAT(MAXIM_98095_CODEC, "maxim,max98095-codec"),
COMPAT(SAMSUNG_EXYNOS5_I2C, "samsung,exynos5-hsi2c"),
COMPAT(SAMSUNG_EXYNOS_SYSMMU, "samsung,sysmmu-v3.3"),
--
2.7.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [U-Boot] [PATCH v4 3/4] mtd: sf_probe: remove spi-flash compatible
2019-02-10 10:16 [U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding Neil Armstrong
2019-02-10 10:16 ` [U-Boot] [PATCH v4 1/4] dts: switch spi-flash to jedec, spi-nor compatible Neil Armstrong
2019-02-10 10:16 ` [U-Boot] [PATCH v4 2/4] x86: " Neil Armstrong
@ 2019-02-10 10:16 ` Neil Armstrong
2019-02-10 10:16 ` [U-Boot] [PATCH v4 4/4] doc: device-tree-bindings: switch from spi-flash to jedec, spi-nor Neil Armstrong
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Neil Armstrong @ 2019-02-10 10:16 UTC (permalink / raw)
To: u-boot
Now the "spi-flash" compatible has been removed in the DTS files,
remove this compatible from sf_probe to finally use the Linux "jedec,spi-nor"
compatible.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
---
drivers/mtd/spi/sf_probe.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c
index 7f1378f..73297e1 100644
--- a/drivers/mtd/spi/sf_probe.c
+++ b/drivers/mtd/spi/sf_probe.c
@@ -166,7 +166,6 @@ static const struct dm_spi_flash_ops spi_flash_std_ops = {
};
static const struct udevice_id spi_flash_std_ids[] = {
- { .compatible = "spi-flash" },
{ .compatible = "jedec,spi-nor" },
{ }
};
--
2.7.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [U-Boot] [PATCH v4 4/4] doc: device-tree-bindings: switch from spi-flash to jedec, spi-nor
2019-02-10 10:16 [U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding Neil Armstrong
` (2 preceding siblings ...)
2019-02-10 10:16 ` [U-Boot] [PATCH v4 3/4] mtd: sf_probe: remove spi-flash compatible Neil Armstrong
@ 2019-02-10 10:16 ` Neil Armstrong
2019-02-10 10:25 ` [U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding Peter Robinson
2019-02-11 7:27 ` Jagan Teki
5 siblings, 0 replies; 8+ messages in thread
From: Neil Armstrong @ 2019-02-10 10:16 UTC (permalink / raw)
To: u-boot
Since all DTS files has been switched to "jedec,spi-nor", remove
the "spi-flash" compatible from the bindings examples.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Reviewed-by: Patrick Delaunay <Patrick.delaunay@st.com>
---
doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 2 +-
doc/device-tree-bindings/spi/spi-atcspi200.txt | 2 +-
doc/device-tree-bindings/spi/spi-stm32-qspi.txt | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt b/doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt
index a1b5596..a376c6f 100644
--- a/doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt
+++ b/doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt
@@ -42,7 +42,7 @@ Example:
status = "okay";
spi_flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <50000000>;
};
diff --git a/doc/device-tree-bindings/spi/spi-atcspi200.txt b/doc/device-tree-bindings/spi/spi-atcspi200.txt
index 9c0630b..e67b342 100644
--- a/doc/device-tree-bindings/spi/spi-atcspi200.txt
+++ b/doc/device-tree-bindings/spi/spi-atcspi200.txt
@@ -28,7 +28,7 @@ Example:
clocks = <&spiclk>;
interrupts = <3 4>;
flash at 0 {
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
spi-cpol;
diff --git a/doc/device-tree-bindings/spi/spi-stm32-qspi.txt b/doc/device-tree-bindings/spi/spi-stm32-qspi.txt
index 6c7da1d..cec3e12 100644
--- a/doc/device-tree-bindings/spi/spi-stm32-qspi.txt
+++ b/doc/device-tree-bindings/spi/spi-stm32-qspi.txt
@@ -29,7 +29,7 @@ Example:
qflash0: n25q128a {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "micron,n25q128a13", "spi-flash";
+ compatible = "micron,n25q128a13", "jedec,spi-nor";
spi-max-frequency = <108000000>;
spi-tx-bus-width = <4>;
spi-rx-bus-width = <4>;
--
2.7.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding
2019-02-10 10:16 [U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding Neil Armstrong
` (3 preceding siblings ...)
2019-02-10 10:16 ` [U-Boot] [PATCH v4 4/4] doc: device-tree-bindings: switch from spi-flash to jedec, spi-nor Neil Armstrong
@ 2019-02-10 10:25 ` Peter Robinson
2019-02-10 10:50 ` Neil Armstrong
2019-02-11 7:27 ` Jagan Teki
5 siblings, 1 reply; 8+ messages in thread
From: Peter Robinson @ 2019-02-10 10:25 UTC (permalink / raw)
To: u-boot
Hi Neil,
> There is no reason not to use the Linux "jedec,spi-nor" binding in u-boot.
> This patchset :
> - switches all DTS/DTSI files to "jedec,spi-nor"
> - remove the "spi-flash" compatible from sf-probe
A number of boards, or even all boards for a SoC type just resync the
dts files from the Linux kernel every so often, or even every cycle,
do we know all the boards have the appropriate "jedec,spi-nor" or
something more specific so those boards won't break on resync?
Peter
> - switch GENERIC_SPI_FLASH to jedec,spi-nor in fdtdec
> - switches dt bindings examples files to "jedec,spi-nor"
>
> Changes since v3:
> - collected tags
> - dropped patch 1
> - updated for new boards
>
> Changes since v2:
> - collected tags
> - extracted x86 dts changed and merged it with the fdtdec change
> - updated for new boards
>
> Neil Armstrong (4):
> dts: switch spi-flash to jedec, spi-nor compatible
> x86: dts: switch spi-flash to jedec, spi-nor compatible
> mtd: sf_probe: remove spi-flash compatible
> doc: device-tree-bindings: switch from spi-flash to jedec, spi-nor
>
> arch/arc/dts/axs10x_mb.dtsi | 2 +-
> arch/arc/dts/hsdk.dts | 2 +-
> arch/arm/dts/am335x-brppt1-spi.dts | 2 +-
> arch/arm/dts/am437x-idk-evm.dts | 2 +-
> arch/arm/dts/am437x-sk-evm.dts | 2 +-
> arch/arm/dts/armada-3720-db.dts | 2 +-
> arch/arm/dts/armada-3720-espressobin.dts | 2 +-
> arch/arm/dts/armada-3720-turris-mox.dts | 2 +-
> arch/arm/dts/armada-385-amc.dts | 2 +-
> arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi | 2 +-
> arch/arm/dts/armada-38x-controlcenterdc.dts | 4 ++--
> arch/arm/dts/armada-38x-solidrun-microsom.dtsi | 2 +-
> arch/arm/dts/armada-8040-clearfog-gt-8k.dts | 2 +-
> arch/arm/dts/armada-xp-theadorable.dts | 2 +-
> arch/arm/dts/at91-sama5d2_xplained.dts | 2 +-
> arch/arm/dts/at91-sama5d4_xplained.dts | 2 +-
> arch/arm/dts/at91-sama5d4ek.dts | 2 +-
> arch/arm/dts/at91sam9n12ek.dts | 2 +-
> arch/arm/dts/at91sam9x5ek.dtsi | 2 +-
> arch/arm/dts/bk4r1.dts | 4 ++--
> arch/arm/dts/da850-evm-u-boot.dtsi | 2 +-
> arch/arm/dts/exynos5250-snow.dts | 2 +-
> arch/arm/dts/exynos5250-spring.dts | 2 +-
> arch/arm/dts/exynos5420-peach-pit.dts | 2 +-
> arch/arm/dts/fsl-ls1012a-2g5rdb.dts | 2 +-
> arch/arm/dts/fsl-ls1012a-frdm.dtsi | 2 +-
> arch/arm/dts/fsl-ls1012a-frwy.dts | 2 +-
> arch/arm/dts/fsl-ls1012a-qds.dtsi | 8 ++++----
> arch/arm/dts/fsl-ls1012a-rdb.dtsi | 2 +-
> arch/arm/dts/fsl-ls1043a-qds.dtsi | 8 ++++----
> arch/arm/dts/fsl-ls1043a-rdb.dts | 2 +-
> arch/arm/dts/fsl-ls1046a-qds.dtsi | 8 ++++----
> arch/arm/dts/fsl-ls1046a-rdb.dts | 4 ++--
> arch/arm/dts/fsl-ls1088a-qds.dts | 10 +++++-----
> arch/arm/dts/fsl-ls1088a-rdb.dts | 4 ++--
> arch/arm/dts/fsl-ls2080a-qds.dts | 8 ++++----
> arch/arm/dts/fsl-ls2080a-rdb.dts | 2 +-
> arch/arm/dts/fsl-ls2081a-rdb.dts | 6 +++---
> arch/arm/dts/fsl-ls2088a-rdb-qspi.dts | 6 +++---
> arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi | 4 ++--
> arch/arm/dts/imx6sx-sdb-u-boot.dtsi | 4 ++--
> arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi | 2 +-
> arch/arm/dts/imx6ul-9x9-evk-u-boot.dtsi | 2 +-
> arch/arm/dts/imx6ull-14x14-evk.dts | 2 +-
> arch/arm/dts/imx7d-sdb-qspi-u-boot.dtsi | 2 +-
> arch/arm/dts/keystone-k2e-evm.dts | 2 +-
> arch/arm/dts/keystone-k2g-evm.dts | 4 ++--
> arch/arm/dts/keystone-k2g-ice.dts | 2 +-
> arch/arm/dts/keystone-k2hk-evm.dts | 2 +-
> arch/arm/dts/keystone-k2l-evm.dts | 2 +-
> arch/arm/dts/kirkwood-atl-sbx81lifkw.dts | 2 +-
> arch/arm/dts/kirkwood-atl-sbx81lifxcat.dts | 2 +-
> arch/arm/dts/kirkwood-dreamplug.dts | 2 +-
> arch/arm/dts/kirkwood-lsxl.dtsi | 2 +-
> arch/arm/dts/kirkwood-netxbig.dtsi | 2 +-
> arch/arm/dts/kirkwood-ns2-common.dtsi | 2 +-
> arch/arm/dts/kirkwood-synology.dtsi | 2 +-
> arch/arm/dts/ls1021a-iot.dtsi | 4 ++--
> arch/arm/dts/ls1021a-qds.dtsi | 2 +-
> arch/arm/dts/ls1021a-twr.dtsi | 4 ++--
> arch/arm/dts/mt7629-rfb.dts | 2 +-
> arch/arm/dts/omap5-u-boot.dtsi | 2 +-
> arch/arm/dts/r8a77970-eagle-u-boot.dts | 2 +-
> arch/arm/dts/rk3288-veyron.dtsi | 2 +-
> arch/arm/dts/rk3368-lion.dts | 2 +-
> arch/arm/dts/rk3399-gru.dtsi | 2 +-
> arch/arm/dts/rk3399-puma.dtsi | 2 +-
> arch/arm/dts/rv1108-evb.dts | 2 +-
> arch/arm/dts/sama5d27_som1.dtsi | 2 +-
> arch/arm/dts/sama5d3xmb.dtsi | 2 +-
> arch/arm/dts/sama5d3xmb_cmp.dtsi | 2 +-
> arch/arm/dts/socfpga_arria5_socdk-u-boot.dtsi | 2 +-
> arch/arm/dts/socfpga_cyclone5_is1.dts | 2 +-
> arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi | 2 +-
> arch/arm/dts/socfpga_cyclone5_sockit-u-boot.dtsi | 2 +-
> arch/arm/dts/socfpga_cyclone5_socrates-u-boot.dtsi | 2 +-
> arch/arm/dts/socfpga_cyclone5_sr1500.dts | 2 +-
> arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi | 4 ++--
> arch/arm/dts/stm32f746-disco.dts | 2 +-
> arch/arm/dts/stm32f769-disco.dts | 2 +-
> arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 4 ++--
> arch/arm/dts/stv0991.dts | 2 +-
> arch/arm/dts/zynq-zed.dts | 2 +-
> arch/arm/dts/zynqmp-zc1232-revA.dts | 2 +-
> arch/arm/dts/zynqmp-zc1254-revA.dts | 2 +-
> arch/arm/dts/zynqmp-zc1275-revA.dts | 2 +-
> arch/arm/dts/zynqmp-zc1275-revB.dts | 2 +-
> arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts | 2 +-
> arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts | 2 +-
> arch/arm/dts/zynqmp-zcu102-revA.dts | 2 +-
> arch/arm/dts/zynqmp-zcu104-revA.dts | 2 +-
> arch/arm/dts/zynqmp-zcu104-revC.dts | 2 +-
> arch/arm/dts/zynqmp-zcu106-revA.dts | 2 +-
> arch/arm/dts/zynqmp-zcu111-revA.dts | 2 +-
> arch/mips/dts/ap121.dts | 2 +-
> arch/mips/dts/ap143.dts | 2 +-
> arch/mips/dts/comtrend,ar-5315u.dts | 2 +-
> arch/mips/dts/comtrend,ar-5387un.dts | 2 +-
> arch/mips/dts/gardena-smart-gateway-mt7688.dts | 2 +-
> arch/mips/dts/jr2_pcb110.dts | 2 +-
> arch/mips/dts/jr2_pcb111.dts | 2 +-
> arch/mips/dts/linkit-smart-7688.dts | 2 +-
> arch/mips/dts/luton_pcb090.dts | 2 +-
> arch/mips/dts/luton_pcb091.dts | 2 +-
> arch/mips/dts/mscc,ocelot_pcb.dtsi | 2 +-
> arch/mips/dts/netgear,cg3100d.dts | 2 +-
> arch/mips/dts/sagem,f at st1704.dts | 2 +-
> arch/mips/dts/serval2_pcb112.dts | 2 +-
> arch/mips/dts/serval_pcb105.dts | 2 +-
> arch/mips/dts/serval_pcb106.dts | 2 +-
> arch/mips/dts/servalt_pcb116.dts | 2 +-
> arch/mips/dts/tplink_wdr4300.dts | 2 +-
> arch/nds32/dts/ae3xx.dts | 2 +-
> arch/riscv/dts/ae350_32.dts | 2 +-
> arch/riscv/dts/ae350_64.dts | 2 +-
> arch/sandbox/dts/test.dts | 2 +-
> arch/x86/dts/bayleybay.dts | 2 +-
> arch/x86/dts/baytrail_som-db5800-som-6867.dts | 2 +-
> arch/x86/dts/cherryhill.dts | 2 +-
> arch/x86/dts/chromebook_link.dts | 2 +-
> arch/x86/dts/chromebook_samus.dts | 2 +-
> arch/x86/dts/chromebox_panther.dts | 2 +-
> arch/x86/dts/conga-qeval20-qa3-e3845.dts | 2 +-
> arch/x86/dts/cougarcanyon2.dts | 2 +-
> arch/x86/dts/crownbay.dts | 2 +-
> arch/x86/dts/dfi-bt700.dtsi | 2 +-
> arch/x86/dts/galileo.dts | 2 +-
> arch/x86/dts/minnowmax.dts | 2 +-
> doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 2 +-
> doc/device-tree-bindings/spi/spi-atcspi200.txt | 2 +-
> doc/device-tree-bindings/spi/spi-stm32-qspi.txt | 2 +-
> drivers/mtd/spi/sf_probe.c | 1 -
> lib/fdtdec.c | 2 +-
> 133 files changed, 163 insertions(+), 164 deletions(-)
>
> --
> 2.7.4
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding
2019-02-10 10:25 ` [U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding Peter Robinson
@ 2019-02-10 10:50 ` Neil Armstrong
0 siblings, 0 replies; 8+ messages in thread
From: Neil Armstrong @ 2019-02-10 10:50 UTC (permalink / raw)
To: u-boot
Hi Peter,
Le 10/02/2019 11:25, Peter Robinson a écrit :
> Hi Neil,
>
>> There is no reason not to use the Linux "jedec,spi-nor" binding in u-boot.
>> This patchset :
>> - switches all DTS/DTSI files to "jedec,spi-nor"
>> - remove the "spi-flash" compatible from sf-probe
>
> A number of boards, or even all boards for a SoC type just resync the
> dts files from the Linux kernel every so often, or even every cycle,
> do we know all the boards have the appropriate "jedec,spi-nor" or
> something more specific so those boards won't break on resync?
"spi-flash" is U-Boot specific, Linux dts files should not contain it at all
linux$ find ./ -name "*.dts*" -exec grep \"spi-flash\" {} \; | wc -l
0
Neil
>
> Peter
>
>> - switch GENERIC_SPI_FLASH to jedec,spi-nor in fdtdec
>> - switches dt bindings examples files to "jedec,spi-nor"
>>
>> Changes since v3:
>> - collected tags
>> - dropped patch 1
>> - updated for new boards
>>
>> Changes since v2:
>> - collected tags
>> - extracted x86 dts changed and merged it with the fdtdec change
>> - updated for new boards
>>
>> Neil Armstrong (4):
>> dts: switch spi-flash to jedec, spi-nor compatible
>> x86: dts: switch spi-flash to jedec, spi-nor compatible
>> mtd: sf_probe: remove spi-flash compatible
>> doc: device-tree-bindings: switch from spi-flash to jedec, spi-nor
>>
>> arch/arc/dts/axs10x_mb.dtsi | 2 +-
>> arch/arc/dts/hsdk.dts | 2 +-
>> arch/arm/dts/am335x-brppt1-spi.dts | 2 +-
>> arch/arm/dts/am437x-idk-evm.dts | 2 +-
>> arch/arm/dts/am437x-sk-evm.dts | 2 +-
>> arch/arm/dts/armada-3720-db.dts | 2 +-
>> arch/arm/dts/armada-3720-espressobin.dts | 2 +-
>> arch/arm/dts/armada-3720-turris-mox.dts | 2 +-
>> arch/arm/dts/armada-385-amc.dts | 2 +-
>> arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi | 2 +-
>> arch/arm/dts/armada-38x-controlcenterdc.dts | 4 ++--
>> arch/arm/dts/armada-38x-solidrun-microsom.dtsi | 2 +-
>> arch/arm/dts/armada-8040-clearfog-gt-8k.dts | 2 +-
>> arch/arm/dts/armada-xp-theadorable.dts | 2 +-
>> arch/arm/dts/at91-sama5d2_xplained.dts | 2 +-
>> arch/arm/dts/at91-sama5d4_xplained.dts | 2 +-
>> arch/arm/dts/at91-sama5d4ek.dts | 2 +-
>> arch/arm/dts/at91sam9n12ek.dts | 2 +-
>> arch/arm/dts/at91sam9x5ek.dtsi | 2 +-
>> arch/arm/dts/bk4r1.dts | 4 ++--
>> arch/arm/dts/da850-evm-u-boot.dtsi | 2 +-
>> arch/arm/dts/exynos5250-snow.dts | 2 +-
>> arch/arm/dts/exynos5250-spring.dts | 2 +-
>> arch/arm/dts/exynos5420-peach-pit.dts | 2 +-
>> arch/arm/dts/fsl-ls1012a-2g5rdb.dts | 2 +-
>> arch/arm/dts/fsl-ls1012a-frdm.dtsi | 2 +-
>> arch/arm/dts/fsl-ls1012a-frwy.dts | 2 +-
>> arch/arm/dts/fsl-ls1012a-qds.dtsi | 8 ++++----
>> arch/arm/dts/fsl-ls1012a-rdb.dtsi | 2 +-
>> arch/arm/dts/fsl-ls1043a-qds.dtsi | 8 ++++----
>> arch/arm/dts/fsl-ls1043a-rdb.dts | 2 +-
>> arch/arm/dts/fsl-ls1046a-qds.dtsi | 8 ++++----
>> arch/arm/dts/fsl-ls1046a-rdb.dts | 4 ++--
>> arch/arm/dts/fsl-ls1088a-qds.dts | 10 +++++-----
>> arch/arm/dts/fsl-ls1088a-rdb.dts | 4 ++--
>> arch/arm/dts/fsl-ls2080a-qds.dts | 8 ++++----
>> arch/arm/dts/fsl-ls2080a-rdb.dts | 2 +-
>> arch/arm/dts/fsl-ls2081a-rdb.dts | 6 +++---
>> arch/arm/dts/fsl-ls2088a-rdb-qspi.dts | 6 +++---
>> arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi | 4 ++--
>> arch/arm/dts/imx6sx-sdb-u-boot.dtsi | 4 ++--
>> arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi | 2 +-
>> arch/arm/dts/imx6ul-9x9-evk-u-boot.dtsi | 2 +-
>> arch/arm/dts/imx6ull-14x14-evk.dts | 2 +-
>> arch/arm/dts/imx7d-sdb-qspi-u-boot.dtsi | 2 +-
>> arch/arm/dts/keystone-k2e-evm.dts | 2 +-
>> arch/arm/dts/keystone-k2g-evm.dts | 4 ++--
>> arch/arm/dts/keystone-k2g-ice.dts | 2 +-
>> arch/arm/dts/keystone-k2hk-evm.dts | 2 +-
>> arch/arm/dts/keystone-k2l-evm.dts | 2 +-
>> arch/arm/dts/kirkwood-atl-sbx81lifkw.dts | 2 +-
>> arch/arm/dts/kirkwood-atl-sbx81lifxcat.dts | 2 +-
>> arch/arm/dts/kirkwood-dreamplug.dts | 2 +-
>> arch/arm/dts/kirkwood-lsxl.dtsi | 2 +-
>> arch/arm/dts/kirkwood-netxbig.dtsi | 2 +-
>> arch/arm/dts/kirkwood-ns2-common.dtsi | 2 +-
>> arch/arm/dts/kirkwood-synology.dtsi | 2 +-
>> arch/arm/dts/ls1021a-iot.dtsi | 4 ++--
>> arch/arm/dts/ls1021a-qds.dtsi | 2 +-
>> arch/arm/dts/ls1021a-twr.dtsi | 4 ++--
>> arch/arm/dts/mt7629-rfb.dts | 2 +-
>> arch/arm/dts/omap5-u-boot.dtsi | 2 +-
>> arch/arm/dts/r8a77970-eagle-u-boot.dts | 2 +-
>> arch/arm/dts/rk3288-veyron.dtsi | 2 +-
>> arch/arm/dts/rk3368-lion.dts | 2 +-
>> arch/arm/dts/rk3399-gru.dtsi | 2 +-
>> arch/arm/dts/rk3399-puma.dtsi | 2 +-
>> arch/arm/dts/rv1108-evb.dts | 2 +-
>> arch/arm/dts/sama5d27_som1.dtsi | 2 +-
>> arch/arm/dts/sama5d3xmb.dtsi | 2 +-
>> arch/arm/dts/sama5d3xmb_cmp.dtsi | 2 +-
>> arch/arm/dts/socfpga_arria5_socdk-u-boot.dtsi | 2 +-
>> arch/arm/dts/socfpga_cyclone5_is1.dts | 2 +-
>> arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi | 2 +-
>> arch/arm/dts/socfpga_cyclone5_sockit-u-boot.dtsi | 2 +-
>> arch/arm/dts/socfpga_cyclone5_socrates-u-boot.dtsi | 2 +-
>> arch/arm/dts/socfpga_cyclone5_sr1500.dts | 2 +-
>> arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi | 4 ++--
>> arch/arm/dts/stm32f746-disco.dts | 2 +-
>> arch/arm/dts/stm32f769-disco.dts | 2 +-
>> arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 4 ++--
>> arch/arm/dts/stv0991.dts | 2 +-
>> arch/arm/dts/zynq-zed.dts | 2 +-
>> arch/arm/dts/zynqmp-zc1232-revA.dts | 2 +-
>> arch/arm/dts/zynqmp-zc1254-revA.dts | 2 +-
>> arch/arm/dts/zynqmp-zc1275-revA.dts | 2 +-
>> arch/arm/dts/zynqmp-zc1275-revB.dts | 2 +-
>> arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts | 2 +-
>> arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts | 2 +-
>> arch/arm/dts/zynqmp-zcu102-revA.dts | 2 +-
>> arch/arm/dts/zynqmp-zcu104-revA.dts | 2 +-
>> arch/arm/dts/zynqmp-zcu104-revC.dts | 2 +-
>> arch/arm/dts/zynqmp-zcu106-revA.dts | 2 +-
>> arch/arm/dts/zynqmp-zcu111-revA.dts | 2 +-
>> arch/mips/dts/ap121.dts | 2 +-
>> arch/mips/dts/ap143.dts | 2 +-
>> arch/mips/dts/comtrend,ar-5315u.dts | 2 +-
>> arch/mips/dts/comtrend,ar-5387un.dts | 2 +-
>> arch/mips/dts/gardena-smart-gateway-mt7688.dts | 2 +-
>> arch/mips/dts/jr2_pcb110.dts | 2 +-
>> arch/mips/dts/jr2_pcb111.dts | 2 +-
>> arch/mips/dts/linkit-smart-7688.dts | 2 +-
>> arch/mips/dts/luton_pcb090.dts | 2 +-
>> arch/mips/dts/luton_pcb091.dts | 2 +-
>> arch/mips/dts/mscc,ocelot_pcb.dtsi | 2 +-
>> arch/mips/dts/netgear,cg3100d.dts | 2 +-
>> arch/mips/dts/sagem,f at st1704.dts | 2 +-
>> arch/mips/dts/serval2_pcb112.dts | 2 +-
>> arch/mips/dts/serval_pcb105.dts | 2 +-
>> arch/mips/dts/serval_pcb106.dts | 2 +-
>> arch/mips/dts/servalt_pcb116.dts | 2 +-
>> arch/mips/dts/tplink_wdr4300.dts | 2 +-
>> arch/nds32/dts/ae3xx.dts | 2 +-
>> arch/riscv/dts/ae350_32.dts | 2 +-
>> arch/riscv/dts/ae350_64.dts | 2 +-
>> arch/sandbox/dts/test.dts | 2 +-
>> arch/x86/dts/bayleybay.dts | 2 +-
>> arch/x86/dts/baytrail_som-db5800-som-6867.dts | 2 +-
>> arch/x86/dts/cherryhill.dts | 2 +-
>> arch/x86/dts/chromebook_link.dts | 2 +-
>> arch/x86/dts/chromebook_samus.dts | 2 +-
>> arch/x86/dts/chromebox_panther.dts | 2 +-
>> arch/x86/dts/conga-qeval20-qa3-e3845.dts | 2 +-
>> arch/x86/dts/cougarcanyon2.dts | 2 +-
>> arch/x86/dts/crownbay.dts | 2 +-
>> arch/x86/dts/dfi-bt700.dtsi | 2 +-
>> arch/x86/dts/galileo.dts | 2 +-
>> arch/x86/dts/minnowmax.dts | 2 +-
>> doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 2 +-
>> doc/device-tree-bindings/spi/spi-atcspi200.txt | 2 +-
>> doc/device-tree-bindings/spi/spi-stm32-qspi.txt | 2 +-
>> drivers/mtd/spi/sf_probe.c | 1 -
>> lib/fdtdec.c | 2 +-
>> 133 files changed, 163 insertions(+), 164 deletions(-)
>>
>> --
>> 2.7.4
>>
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> https://lists.denx.de/listinfo/u-boot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding
2019-02-10 10:16 [U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding Neil Armstrong
` (4 preceding siblings ...)
2019-02-10 10:25 ` [U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding Peter Robinson
@ 2019-02-11 7:27 ` Jagan Teki
5 siblings, 0 replies; 8+ messages in thread
From: Jagan Teki @ 2019-02-11 7:27 UTC (permalink / raw)
To: u-boot
On Sun, Feb 10, 2019 at 3:46 PM Neil Armstrong <narmstrong@baylibre.com> wrote:
>
> There is no reason not to use the Linux "jedec,spi-nor" binding in u-boot.
> This patchset :
> - switches all DTS/DTSI files to "jedec,spi-nor"
> - remove the "spi-flash" compatible from sf-probe
> - switch GENERIC_SPI_FLASH to jedec,spi-nor in fdtdec
> - switches dt bindings examples files to "jedec,spi-nor"
>
> Changes since v3:
> - collected tags
> - dropped patch 1
> - updated for new boards
>
> Changes since v2:
> - collected tags
> - extracted x86 dts changed and merged it with the fdtdec change
> - updated for new boards
>
> Neil Armstrong (4):
> dts: switch spi-flash to jedec, spi-nor compatible
> x86: dts: switch spi-flash to jedec, spi-nor compatible
> mtd: sf_probe: remove spi-flash compatible
> doc: device-tree-bindings: switch from spi-flash to jedec, spi-nor
Reviewed-by: Jagan Teki <jagan@openedev.com>
Applied to u-boot-spi/next
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2019-02-11 7:27 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-10 10:16 [U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding Neil Armstrong
2019-02-10 10:16 ` [U-Boot] [PATCH v4 1/4] dts: switch spi-flash to jedec, spi-nor compatible Neil Armstrong
2019-02-10 10:16 ` [U-Boot] [PATCH v4 2/4] x86: " Neil Armstrong
2019-02-10 10:16 ` [U-Boot] [PATCH v4 3/4] mtd: sf_probe: remove spi-flash compatible Neil Armstrong
2019-02-10 10:16 ` [U-Boot] [PATCH v4 4/4] doc: device-tree-bindings: switch from spi-flash to jedec, spi-nor Neil Armstrong
2019-02-10 10:25 ` [U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding Peter Robinson
2019-02-10 10:50 ` Neil Armstrong
2019-02-11 7:27 ` Jagan Teki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox