Skip to content

Commit

Permalink
boards: pinetime_devkit0: add compatible for generic spi nor flash
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ck-telecom committed Mar 1, 2022
1 parent ba02864 commit 6a84e61
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions boards/arm/pinetime_devkit0/pinetime_devkit0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,13 @@

cs-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>, <&gpio0 25 GPIO_ACTIVE_LOW>;

/* Macronix MX25L CMOS Flash Memory */
mx25l: mx25l@0 {
compatible = "mxicy,cmos-mx25l";
xt25fb32: xt25fb32@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <8000000>; /* 8MHz */
label = "CMOS MX25L";
label = "XT25FB32";
jedec-id = [0b 40 16];
size = <DT_SIZE_M(32)>;
};

/* Sitronix ST7789V LCD */
Expand Down

0 comments on commit 6a84e61

Please sign in to comment.