Skip to content
Permalink
Browse files

soc: ke1xf: fix SPI device numbering

In previous patch used the wrong index for the SPI devices. There is 0
and 1 instead of 1 and 2.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information...
nashif committed Jun 14, 2019
1 parent 7d309ee commit 7662ba11ee598231340f328da41fa789ffc348b0
Showing with 12 additions and 13 deletions.
  1. +12 −13 soc/arm/nxp_kinetis/ke1xf/dts_fixup.h
@@ -81,19 +81,18 @@

#define DT_WDT_0_NAME DT_NXP_KINETIS_WDOG32_40052000_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
#define DT_SPI_0_NAME DT_NXP_IMX_LPSPI_4002C000_LABEL
#define DT_SPI_0_BASE_ADDRESS DT_NXP_IMX_LPSPI_4002C000_BASE_ADDRESS
#define DT_SPI_0_IRQ DT_NXP_IMX_LPSPI_4002C000_IRQ_0
#define DT_SPI_0_IRQ_PRI DT_NXP_IMX_LPSPI_4002C000_IRQ_0_PRIORITY
#define DT_SPI_0_CLOCK_NAME DT_NXP_IMX_LPSPI_4002C000_CLOCK_CONTROLLER
#define DT_SPI_0_CLOCK_SUBSYS DT_NXP_IMX_LPSPI_4002C000_CLOCK_NAME
#define DT_SPI_1_NAME DT_NXP_IMX_LPSPI_4002D000_LABEL
#define DT_SPI_1_BASE_ADDRESS DT_NXP_IMX_LPSPI_4002D000_BASE_ADDRESS
#define DT_SPI_1_IRQ DT_NXP_IMX_LPSPI_4002D000_IRQ_0
#define DT_SPI_1_IRQ_PRI DT_NXP_IMX_LPSPI_4002D000_IRQ_0_PRIORITY
#define DT_SPI_1_CLOCK_NAME DT_NXP_IMX_LPSPI_4002D000_CLOCK_CONTROLLER
#define DT_SPI_1_CLOCK_SUBSYS DT_NXP_IMX_LPSPI_4002D000_CLOCK_NAME

#define DT_CAN_0_NAME DT_NXP_KINETIS_FLEXCAN_40024000_LABEL
#define DT_CAN_1_NAME DT_NXP_KINETIS_FLEXCAN_40025000_LABEL

0 comments on commit 7662ba1

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