|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Constants for non-power signals exposed on the ST M.2 serial memory connector. More...
Files | |
| file | m2-memory-connector.h |
| M.2 Key A serial memory connector pin constants. | |
Macros | |
| #define | M2MEM_CONNECTOR_GPIO_SPI_SCK 16 |
| Optional auxiliary SPI clock. | |
| #define | M2MEM_CONNECTOR_GPIO_SPI_MOSI 17 |
| Optional auxiliary SPI controller-out. | |
| #define | M2MEM_CONNECTOR_GPIO_LDO_EN 18 |
| Mandatory open-drain LDO enable. | |
| #define | M2MEM_CONNECTOR_GPIO_SPI_MISO 19 |
| Optional auxiliary SPI controller-in. | |
| #define | M2MEM_CONNECTOR_XSPI_NCS2 20 |
| XSPI chip select 2. | |
| #define | M2MEM_CONNECTOR_GPIO_SPI_NSS 21 |
| Optional auxiliary SPI chip select. | |
| #define | M2MEM_CONNECTOR_XSPI_NCS1 22 |
| XSPI chip select 1. | |
| #define | M2MEM_CONNECTOR_XSPI_DQS0 25 |
| XSPI data strobe 0. | |
| #define | M2MEM_CONNECTOR_XSPI_D6 26 |
| XSPI data 6. | |
| #define | M2MEM_CONNECTOR_XSPI_D7 27 |
| XSPI data 7. | |
| #define | M2MEM_CONNECTOR_XSPI_D5 28 |
| XSPI data 5. | |
| #define | M2MEM_CONNECTOR_XSPI_D4 31 |
| XSPI data 4. | |
| #define | M2MEM_CONNECTOR_XSPI_D3 32 |
| XSPI data 3. | |
| #define | M2MEM_CONNECTOR_XSPI_D2 34 |
| XSPI data 2. | |
| #define | M2MEM_CONNECTOR_XSPI_D1 35 |
| XSPI data 1. | |
| #define | M2MEM_CONNECTOR_XSPI_D0 37 |
| XSPI data 0. | |
| #define | M2MEM_CONNECTOR_LED2 38 |
| Red LED (LD2). | |
| #define | M2MEM_CONNECTOR_INT1 40 |
| Optional GPIO, error, or interrupt 1. | |
| #define | M2MEM_CONNECTOR_XSPI_CLK1 41 |
| XSPI clock 1. | |
| #define | M2MEM_CONNECTOR_LED1 42 |
| Green LED (LD1). | |
| #define | M2MEM_CONNECTOR_XSPI_NCLK1 43 |
| XSPI differential clock complement 1. | |
| #define | M2MEM_CONNECTOR_XSPI_D15 47 |
| XSPI data 15. | |
| #define | M2MEM_CONNECTOR_XSPI_D14 49 |
| XSPI data 14. | |
| #define | M2MEM_CONNECTOR_XSPI_NCS4 52 |
| XSPI chip select 4. | |
| #define | M2MEM_CONNECTOR_XSPI_D13 53 |
| XSPI data 13. | |
| #define | M2MEM_CONNECTOR_XSPI_NCS3 54 |
| XSPI chip select 3. | |
| #define | M2MEM_CONNECTOR_XSPI_D12 55 |
| XSPI data 12. | |
| #define | M2MEM_CONNECTOR_XSPI_DQS1 56 |
| XSPI data strobe 1. | |
| #define | M2MEM_CONNECTOR_I2C_SDA 58 |
| I2C data for identification EEPROM or auxiliaries. | |
| #define | M2MEM_CONNECTOR_XSPI_D11 59 |
| XSPI data 11. | |
| #define | M2MEM_CONNECTOR_I2C_SCL 60 |
| I2C clock for identification EEPROM or auxiliaries. | |
| #define | M2MEM_CONNECTOR_XSPI_D10 61 |
| XSPI data 10. | |
| #define | M2MEM_CONNECTOR_INT2 62 |
| Optional GPIO, error, or interrupt 2. | |
| #define | M2MEM_CONNECTOR_XSPI_D9 65 |
| XSPI data 9. | |
| #define | M2MEM_CONNECTOR_NRST 66 |
| Memory reset. | |
| #define | M2MEM_CONNECTOR_XSPI_D8 67 |
| XSPI data 8. | |
| #define | M2MEM_CONNECTOR_XSPI_CLK2 71 |
| XSPI clock 2. | |
| #define | M2MEM_CONNECTOR_XSPI_NCLK2 73 |
| XSPI differential clock complement 2. | |
Constants for non-power signals exposed on the ST M.2 serial memory connector.
Values match the physical M.2 Key A connector pin numbers from TN1618. Power, ground, reserved, and key pins are intentionally omitted.
| #define M2MEM_CONNECTOR_GPIO_LDO_EN 18 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
Mandatory open-drain LDO enable.
| #define M2MEM_CONNECTOR_GPIO_SPI_MISO 19 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
Optional auxiliary SPI controller-in.
| #define M2MEM_CONNECTOR_GPIO_SPI_MOSI 17 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
Optional auxiliary SPI controller-out.
| #define M2MEM_CONNECTOR_GPIO_SPI_NSS 21 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
Optional auxiliary SPI chip select.
| #define M2MEM_CONNECTOR_GPIO_SPI_SCK 16 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
Optional auxiliary SPI clock.
| #define M2MEM_CONNECTOR_I2C_SCL 60 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
I2C clock for identification EEPROM or auxiliaries.
| #define M2MEM_CONNECTOR_I2C_SDA 58 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
I2C data for identification EEPROM or auxiliaries.
| #define M2MEM_CONNECTOR_INT1 40 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
Optional GPIO, error, or interrupt 1.
| #define M2MEM_CONNECTOR_INT2 62 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
Optional GPIO, error, or interrupt 2.
| #define M2MEM_CONNECTOR_LED1 42 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
Green LED (LD1).
| #define M2MEM_CONNECTOR_LED2 38 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
Red LED (LD2).
| #define M2MEM_CONNECTOR_NRST 66 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
Memory reset.
| #define M2MEM_CONNECTOR_XSPI_CLK1 41 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI clock 1.
| #define M2MEM_CONNECTOR_XSPI_CLK2 71 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI clock 2.
| #define M2MEM_CONNECTOR_XSPI_D0 37 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data 0.
| #define M2MEM_CONNECTOR_XSPI_D1 35 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data 1.
| #define M2MEM_CONNECTOR_XSPI_D10 61 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data 10.
| #define M2MEM_CONNECTOR_XSPI_D11 59 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data 11.
| #define M2MEM_CONNECTOR_XSPI_D12 55 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data 12.
| #define M2MEM_CONNECTOR_XSPI_D13 53 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data 13.
| #define M2MEM_CONNECTOR_XSPI_D14 49 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data 14.
| #define M2MEM_CONNECTOR_XSPI_D15 47 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data 15.
| #define M2MEM_CONNECTOR_XSPI_D2 34 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data 2.
| #define M2MEM_CONNECTOR_XSPI_D3 32 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data 3.
| #define M2MEM_CONNECTOR_XSPI_D4 31 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data 4.
| #define M2MEM_CONNECTOR_XSPI_D5 28 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data 5.
| #define M2MEM_CONNECTOR_XSPI_D6 26 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data 6.
| #define M2MEM_CONNECTOR_XSPI_D7 27 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data 7.
| #define M2MEM_CONNECTOR_XSPI_D8 67 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data 8.
| #define M2MEM_CONNECTOR_XSPI_D9 65 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data 9.
| #define M2MEM_CONNECTOR_XSPI_DQS0 25 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data strobe 0.
| #define M2MEM_CONNECTOR_XSPI_DQS1 56 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI data strobe 1.
| #define M2MEM_CONNECTOR_XSPI_NCLK1 43 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI differential clock complement 1.
| #define M2MEM_CONNECTOR_XSPI_NCLK2 73 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI differential clock complement 2.
| #define M2MEM_CONNECTOR_XSPI_NCS1 22 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI chip select 1.
| #define M2MEM_CONNECTOR_XSPI_NCS2 20 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI chip select 2.
| #define M2MEM_CONNECTOR_XSPI_NCS3 54 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI chip select 3.
| #define M2MEM_CONNECTOR_XSPI_NCS4 52 |
#include <zephyr/dt-bindings/gpio/m2-memory-connector.h>
XSPI chip select 4.