Skip to content
Permalink
Browse files

soc: nxp: ke1xf: add DTS SPI definitions

Add missing DTS define for SPI.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information...
nashif committed Jun 13, 2019
1 parent 51cc6a4 commit ac2b8eee4ac6bd121e5446b7261bd1ac42739be2
Showing with 15 additions and 0 deletions.
  1. +15 −0 soc/arm/nxp_kinetis/ke1xf/dts_fixup.h
@@ -78,3 +78,18 @@
#define DT_ADC_0_NAME DT_NXP_KINETIS_ADC12_4003B000_LABEL
#define DT_ADC_1_NAME DT_NXP_KINETIS_ADC12_40027000_LABEL
#define DT_ADC_2_NAME DT_NXP_KINETIS_ADC12_4003C000_LABEL


#define DT_SPI_1_NAME DT_NXP_IMX_LPSPI_4002C000_LABEL
#define DT_SPI_1_BASE_ADDRESS DT_NXP_IMX_LPSPI_4002C000_BASE_ADDRESS
#define DT_SPI_1_IRQ DT_NXP_IMX_LPSPI_4002C000_IRQ_0
#define DT_SPI_1_IRQ_PRI DT_NXP_IMX_LPSPI_4002C000_IRQ_0_PRIORITY
#define DT_SPI_1_CLOCK_NAME DT_NXP_IMX_LPSPI_4002C000_CLOCK_CONTROLLER
#define DT_SPI_1_CLOCK_SUBSYS DT_NXP_IMX_LPSPI_4002C000_CLOCK_NAME

#define DT_SPI_2_NAME DT_NXP_IMX_LPSPI_4002D000_LABEL
#define DT_SPI_2_BASE_ADDRESS DT_NXP_IMX_LPSPI_4002D000_BASE_ADDRESS
#define DT_SPI_2_IRQ DT_NXP_IMX_LPSPI_4002D000_IRQ_0
#define DT_SPI_2_IRQ_PRI DT_NXP_IMX_LPSPI_4002D000_IRQ_0_PRIORITY
#define DT_SPI_2_CLOCK_NAME DT_NXP_IMX_LPSPI_4002D000_CLOCK_CONTROLLER
#define DT_SPI_2_CLOCK_SUBSYS DT_NXP_IMX_LPSPI_4002D000_CLOCK_NAME

0 comments on commit ac2b8ee

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