boards: silabs: xg23_rb4210a: added spi nor

Added external mx25r8035f SPI NOR to xg23_rb4210a board

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
This commit is contained in:
Yishai Jaffe 2025-01-23 14:30:06 +02:00 committed by Benjamin Cabé
parent dfbdff580e
commit d503f60c70
3 changed files with 25 additions and 3 deletions

View File

@ -23,6 +23,7 @@ Hardware
- Crystals for LFXO (32.768 kHz) and HFXO (39 MHz).
- Silicon Labs Si7021 relative humidity and temperature sensor
- Low-power 128x128 pixel Memory LCD
- Macronix ultra low power 8-Mbit SPI flash (MX25R8035F)
For more information about the EFR32ZG23 SoC and BRD4210A board, refer to these
documents:
@ -89,9 +90,13 @@ means Pin number 2 on PORTA, as used in the board's datasheets and manuals.
+-------+-------------+-------------------------------------+
| PB3 | GPIO | Push Button 1 |
+-------+-------------+-------------------------------------+
| PC1 | EUSART1_TX | Display SPI MOSI |
| PC1 | EUSART1_TX | Display/Flash SPI MOSI |
+-------+-------------+-------------------------------------+
| PC3 | EUSART1_CLK | Display SPI Clock |
| PC2 | EUSART1_RX | Flash SPI MISO |
+-------+-------------+-------------------------------------+
| PC3 | EUSART1_CLK | Display/Flash SPI Clock |
+-------+-------------+-------------------------------------+
| PC4 | GPIO | Flash SPI Chip Select |
+-------+-------------+-------------------------------------+
| PC5 | I2C0_SCL | Si7021 I2C Clock |
+-------+-------------+-------------------------------------+

View File

@ -26,6 +26,11 @@
drive-push-pull;
output-high;
};
group1 {
pins = <EUSART1_RX_PC2>;
input-enable;
silabs,input-filter;
};
};
i2c0_default: i2c0_default {

View File

@ -131,7 +131,7 @@
#size-cells = <0>;
pinctrl-0 = <&eusart1_default>;
pinctrl-names = "default";
cs-gpios = <&gpioc 8 GPIO_ACTIVE_HIGH>;
cs-gpios = <&gpioc 8 GPIO_ACTIVE_HIGH>, <&gpioc 4 GPIO_ACTIVE_LOW>;
ls0xx_ls013b7dh03: ls0xx@0 {
compatible = "sharp,ls0xx";
@ -143,6 +143,18 @@
extcomin-frequency = <60>;
disp-en-gpios = <&gpioc 9 GPIO_ACTIVE_HIGH>;
};
mx25r80: mx25r8035f@1 {
compatible = "jedec,spi-nor";
reg = <1>;
spi-max-frequency = <DT_FREQ_M(33)>;
size = <DT_SIZE_M(8)>;
jedec-id = [c2 28 14];
has-dpd;
dpd-wakeup-sequence = <30000 20 35000>;
t-enter-dpd = <0>;
mxicy,mx25r-power-mode = "low-power";
};
};
&i2c0 {