Kinetis: add MK60N512VLL100 support
This commit is contained in:
parent
9d0c378dbc
commit
43303a5786
@ -561,6 +561,7 @@
|
|||||||
# define KINETIS_EXTBUS 1 /* External bus interface */
|
# define KINETIS_EXTBUS 1 /* External bus interface */
|
||||||
# define KINETIS_NDMACH 16 /* Up to 16 DMA channels */
|
# define KINETIS_NDMACH 16 /* Up to 16 DMA channels */
|
||||||
# define KINETIS_NENET 1 /* One IEEE 1588 Ethernet controller */
|
# define KINETIS_NENET 1 /* One IEEE 1588 Ethernet controller */
|
||||||
|
# define KINETIS_ENET_HAS_DBSWAP /* MAC-NET supports DBSWP bit */
|
||||||
# define KINETIS_NUSBHOST 1 /* One USB host controller */
|
# define KINETIS_NUSBHOST 1 /* One USB host controller */
|
||||||
# define KINETIS_NUSBOTG 1 /* With USB OTG controller */
|
# define KINETIS_NUSBOTG 1 /* With USB OTG controller */
|
||||||
# define KINETIS_NUSBDEV 1 /* One USB device controller */
|
# define KINETIS_NUSBDEV 1 /* One USB device controller */
|
||||||
|
@ -276,7 +276,8 @@
|
|||||||
|
|
||||||
#elif defined(CONFIG_ARCH_CHIP_MK60N256VLQ100) || defined(CONFIG_ARCH_CHIP_MK60X256VLQ100) || \
|
#elif defined(CONFIG_ARCH_CHIP_MK60N256VLQ100) || defined(CONFIG_ARCH_CHIP_MK60X256VLQ100) || \
|
||||||
defined(CONFIG_ARCH_CHIP_MK60N512VLQ100) || defined(CONFIG_ARCH_CHIP_MK60N256VMD100) || \
|
defined(CONFIG_ARCH_CHIP_MK60N512VLQ100) || defined(CONFIG_ARCH_CHIP_MK60N256VMD100) || \
|
||||||
defined(CONFIG_ARCH_CHIP_MK60X256VMD100) || defined(CONFIG_ARCH_CHIP_MK60N512VMD100)
|
defined(CONFIG_ARCH_CHIP_MK60X256VMD100) || defined(CONFIG_ARCH_CHIP_MK60N512VMD100) || \
|
||||||
|
defined(CONFIG_ARCH_CHIP_MK60N512VLL100)
|
||||||
|
|
||||||
# define KINETIS_IRQ_DMACH0 (16) /* Vector 16: DMA channel 0 transfer complete */
|
# define KINETIS_IRQ_DMACH0 (16) /* Vector 16: DMA channel 0 transfer complete */
|
||||||
# define KINETIS_IRQ_DMACH1 (17) /* Vector 17: DMA channel 1 transfer complete */
|
# define KINETIS_IRQ_DMACH1 (17) /* Vector 17: DMA channel 1 transfer complete */
|
||||||
|
@ -78,6 +78,10 @@ config ARCH_CHIP_MK60N256VMD100
|
|||||||
bool "MK60N256VMD100"
|
bool "MK60N256VMD100"
|
||||||
select ARCH_FAMILY_K60
|
select ARCH_FAMILY_K60
|
||||||
|
|
||||||
|
config ARCH_CHIP_MK60N512VLL100
|
||||||
|
bool "MK60N512VLL100"
|
||||||
|
select ARCH_FAMILY_K60
|
||||||
|
|
||||||
config ARCH_CHIP_MK60N512VLQ100
|
config ARCH_CHIP_MK60N512VLQ100
|
||||||
bool "MK60N512VLQ100"
|
bool "MK60N512VLQ100"
|
||||||
select ARCH_FAMILY_K60
|
select ARCH_FAMILY_K60
|
||||||
|
@ -57,7 +57,8 @@
|
|||||||
|
|
||||||
#if defined(CONFIG_ARCH_CHIP_MK60N256VLQ100) || defined(CONFIG_ARCH_CHIP_MK60X256VLQ100) || \
|
#if defined(CONFIG_ARCH_CHIP_MK60N256VLQ100) || defined(CONFIG_ARCH_CHIP_MK60X256VLQ100) || \
|
||||||
defined(CONFIG_ARCH_CHIP_MK60N512VLQ100) || defined(CONFIG_ARCH_CHIP_MK60N256VMD100) || \
|
defined(CONFIG_ARCH_CHIP_MK60N512VLQ100) || defined(CONFIG_ARCH_CHIP_MK60N256VMD100) || \
|
||||||
defined(CONFIG_ARCH_CHIP_MK60X256VMD100) || defined(CONFIG_ARCH_CHIP_MK60N512VMD100)
|
defined(CONFIG_ARCH_CHIP_MK60X256VMD100) || defined(CONFIG_ARCH_CHIP_MK60N512VMD100) || \
|
||||||
|
defined(CONFIG_ARCH_CHIP_MK60N512VLL100)
|
||||||
|
|
||||||
#define PIN_TSI0_CH1 (PIN_ANALOG | PIN_PORTA | PIN0)
|
#define PIN_TSI0_CH1 (PIN_ANALOG | PIN_PORTA | PIN0)
|
||||||
#define PIN_UART0_CTS_1 (PIN_ALT2 | PIN_PORTA | PIN0)
|
#define PIN_UART0_CTS_1 (PIN_ALT2 | PIN_PORTA | PIN0)
|
||||||
|
@ -310,7 +310,8 @@
|
|||||||
|
|
||||||
#elif defined(CONFIG_ARCH_CHIP_MK60N256VLQ100) || defined(CONFIG_ARCH_CHIP_MK60X256VLQ100) || \
|
#elif defined(CONFIG_ARCH_CHIP_MK60N256VLQ100) || defined(CONFIG_ARCH_CHIP_MK60X256VLQ100) || \
|
||||||
defined(CONFIG_ARCH_CHIP_MK60N512VLQ100) || defined(CONFIG_ARCH_CHIP_MK60N256VMD100) || \
|
defined(CONFIG_ARCH_CHIP_MK60N512VLQ100) || defined(CONFIG_ARCH_CHIP_MK60N256VMD100) || \
|
||||||
defined(CONFIG_ARCH_CHIP_MK60X256VMD100) || defined(CONFIG_ARCH_CHIP_MK60N512VMD100)
|
defined(CONFIG_ARCH_CHIP_MK60X256VMD100) || defined(CONFIG_ARCH_CHIP_MK60N512VMD100) || \
|
||||||
|
defined(CONFIG_ARCH_CHIP_MK60N512VLL100)
|
||||||
|
|
||||||
# define KINETIS_FLASH_BASE 0x00000000 /* –0x0fffffff Program flash and read-
|
# define KINETIS_FLASH_BASE 0x00000000 /* –0x0fffffff Program flash and read-
|
||||||
* only data (Includes exception
|
* only data (Includes exception
|
||||||
|
@ -371,7 +371,8 @@ _vectors:
|
|||||||
|
|
||||||
#elif defined(CONFIG_ARCH_CHIP_MK60N256VLQ100) || defined(CONFIG_ARCH_CHIP_MK60X256VLQ100) || \
|
#elif defined(CONFIG_ARCH_CHIP_MK60N256VLQ100) || defined(CONFIG_ARCH_CHIP_MK60X256VLQ100) || \
|
||||||
defined(CONFIG_ARCH_CHIP_MK60N512VLQ100) || defined(CONFIG_ARCH_CHIP_MK60N256VMD100) || \
|
defined(CONFIG_ARCH_CHIP_MK60N512VLQ100) || defined(CONFIG_ARCH_CHIP_MK60N256VMD100) || \
|
||||||
defined(CONFIG_ARCH_CHIP_MK60X256VMD100) || defined(CONFIG_ARCH_CHIP_MK60N512VMD100)
|
defined(CONFIG_ARCH_CHIP_MK60X256VMD100) || defined(CONFIG_ARCH_CHIP_MK60N512VMD100) || \
|
||||||
|
defined(CONFIG_ARCH_CHIP_MK60N512VLL100)
|
||||||
|
|
||||||
.word kinetis_dmach0 /* Vector 16: DMA channel 0 transfer complete */
|
.word kinetis_dmach0 /* Vector 16: DMA channel 0 transfer complete */
|
||||||
.word kinetis_dmach1 /* Vector 17: DMA channel 1 transfer complete */
|
.word kinetis_dmach1 /* Vector 17: DMA channel 1 transfer complete */
|
||||||
@ -680,7 +681,8 @@ handlers:
|
|||||||
|
|
||||||
#elif defined(CONFIG_ARCH_CHIP_MK60N256VLQ100) || defined(CONFIG_ARCH_CHIP_MK60X256VLQ100) || \
|
#elif defined(CONFIG_ARCH_CHIP_MK60N256VLQ100) || defined(CONFIG_ARCH_CHIP_MK60X256VLQ100) || \
|
||||||
defined(CONFIG_ARCH_CHIP_MK60N512VLQ100) || defined(CONFIG_ARCH_CHIP_MK60N256VMD100) || \
|
defined(CONFIG_ARCH_CHIP_MK60N512VLQ100) || defined(CONFIG_ARCH_CHIP_MK60N256VMD100) || \
|
||||||
defined(CONFIG_ARCH_CHIP_MK60X256VMD100) || defined(CONFIG_ARCH_CHIP_MK60N512VMD100)
|
defined(CONFIG_ARCH_CHIP_MK60X256VMD100) || defined(CONFIG_ARCH_CHIP_MK60N512VMD100) || \
|
||||||
|
defined(CONFIG_ARCH_CHIP_MK60N512VLL100)
|
||||||
|
|
||||||
HANDLER kinetis_dmach0, KINETIS_IRQ_DMACH0 /* Vector 16: DMA channel 0 transfer complete */
|
HANDLER kinetis_dmach0, KINETIS_IRQ_DMACH0 /* Vector 16: DMA channel 0 transfer complete */
|
||||||
HANDLER kinetis_dmach1, KINETIS_IRQ_DMACH1 /* Vector 17: DMA channel 1 transfer complete */
|
HANDLER kinetis_dmach1, KINETIS_IRQ_DMACH1 /* Vector 17: DMA channel 1 transfer complete */
|
||||||
|
Loading…
Reference in New Issue
Block a user