boards: pinetime_devkit0: add compatible for generic spi nor flash

using the correct datasheet download from
official site: http://www.xtxtech.com/download/?AId=154

tested with samples/drivers/spi_flash

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
This commit is contained in:
Qingsong Gou 2022-02-12 19:03:20 +08:00 committed by Maureen Helm
commit b30248af3f

View file

@ -126,12 +126,13 @@
cs-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>, <&gpio0 25 GPIO_ACTIVE_LOW>; cs-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>, <&gpio0 25 GPIO_ACTIVE_LOW>;
/* Macronix MX25L CMOS Flash Memory */ xt25fb32: xt25fb32@0 {
mx25l: mx25l@0 { compatible = "jedec,spi-nor";
compatible = "mxicy,cmos-mx25l";
reg = <0>; reg = <0>;
spi-max-frequency = <8000000>; /* 8MHz */ spi-max-frequency = <8000000>; /* 8MHz */
label = "CMOS MX25L"; label = "XT25FB32";
jedec-id = [0b 40 16];
size = <DT_SIZE_M(32)>;
}; };
/* Sitronix ST7789V LCD */ /* Sitronix ST7789V LCD */