Skip to content
Permalink
Browse files

dts: Add missing spi-max-frequency for mimxrt/nxp/hifive1/qemu_riscv2

spi-max-frequency is marked as required in
dts/bindings/mtd/jedec,spi-nor.yaml.

I took the value from the datasheets (133 MHz for all), and guessed that
a dummy entry is fine for QEMU.

Fixes some errors in
#17532.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
  • Loading branch information...
ulfalizer authored and galak committed Jul 16, 2019
1 parent fd62a50 commit ad3ee99756a5cf9ec5469ec33d2e70995c025958
@@ -54,6 +54,7 @@ arduino_serial: &uart4 {};
at25sf128a: at25sf128a@0 {
compatible = "adesto,at25sf128a", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <133000000>;
status = "okay";
jedec-id = <0x1f 0x89 0x01>;
};
@@ -62,6 +62,7 @@ arduino_serial: &uart2 {};
is25wp064: is25wp064@0 {
compatible = "issi,is25wp064", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <133000000>;
status = "okay";
jedec-id = <0x9d 0x70 0x17>;
};
@@ -13,6 +13,7 @@
is25wp064: is25wp064@0 {
compatible = "issi,is25wp064", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <133000000>;
status = "okay";
jedec-id = <0x9d 0x70 0x17>;
};
@@ -68,6 +68,7 @@ arduino_serial: &uart3 {};
is25wp064: is25wp064@0 {
compatible = "issi,is25wp064", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <133000000>;
status = "okay";
jedec-id = <0x9d 0x70 0x17>;
};
@@ -65,6 +65,7 @@
compatible = "issi,is25lp128", "jedec,spi-nor";
jedec-id = <0x96 0x60 0x18>;
reg = <0>;
spi-max-frequency = <133000000>;
};
};

@@ -63,6 +63,7 @@
compatible = "issi,is25lp128", "jedec,spi-nor";
jedec-id = <0x96 0x60 0x18>;
reg = <0>;
spi-max-frequency = <133000000>;
};
};

@@ -41,6 +41,8 @@
compatible = "issi,is25lp128", "jedec,spi-nor";
jedec-id = <0x96 0x60 0x18>;
reg = <0>;
// Dummy entry
spi-max-frequency = <0>;
};
};

@@ -12,6 +12,7 @@
w25q32jvwj0: w25q32jvwj@0 {
compatible = "winbond,w25q32jvwj", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <133000000>;
status = "okay";
jedec-id = <0xef 0x40 0x16>;
};

0 comments on commit ad3ee99

Please sign in to comment.
You can’t perform that action at this time.