board: teensy: drop spi-nor from the flash nodes

These are RT1060 based boards that use the flash for XIP, the bus
(nxp,imx-flexspi) lives under memc or flash. Declaring the flash as
"jedec,spi-nor" causes the SPI NOR driver to create an instance for it,
but then there's no bus and the build fails.

Dropping the spi-nor compatible seems to fix the problem.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri
2023-03-01 21:56:52 +00:00
committed by Carles Cufí
parent 6dbc446342
commit 29cc07efbd
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@
reg = <0x402a8000 0x4000>, <0x60000000 0x200000>;
/* WINBOND flash memory*/
w25q16jvuxim: w25q16jvuxim@0 {
compatible = "winbond,w25q16jvuxim", "jedec,spi-nor";
compatible = "winbond,w25q16jvuxim";
size = <16777208>;
reg = <0>;
spi-max-frequency = <133000000>;

View File

@@ -11,7 +11,7 @@
reg = < 0x402a8000 0x4000 >, < 0x60000000 0x800000 >;
/* WINBOND flash memory*/
w25q64jvxgim: w25q64jvxgim@0 {
compatible = "winbond,w25q64jvxgim", "jedec,spi-nor";
compatible = "winbond,w25q64jvxgim";
size = < 8388607 >;
reg = < 0 >;
spi-max-frequency = < 133000000 >;