2019-11-01 13:45:29 +01:00
|
|
|
# USB-KW24D512 board
|
|
|
|
|
2017-07-19 16:51:09 +02:00
|
|
|
# Copyright (c) 2017, Phytec Messtechnik GmbH
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if BOARD_USB_KW24D512
|
|
|
|
|
|
|
|
config BOARD
|
2018-05-25 20:56:38 +02:00
|
|
|
default "usb_kw24d512"
|
2017-07-19 16:51:09 +02:00
|
|
|
|
|
|
|
config OSC_XTAL0_FREQ
|
|
|
|
# The MCU is configured to use 4 MHz external
|
|
|
|
# clock from the transceiver provided at the CLK_OUT output.
|
|
|
|
# CLK_OUT is internally connected to the input pin EXTAL0
|
|
|
|
# of the MCU.
|
|
|
|
default 4000000
|
|
|
|
|
|
|
|
config MCG_PRDIV0
|
|
|
|
default 0x1
|
|
|
|
|
|
|
|
config MCG_VDIV0
|
|
|
|
default 0x0
|
|
|
|
|
|
|
|
config MCG_FCRDIV
|
|
|
|
default 2
|
|
|
|
|
|
|
|
if PINMUX_MCUX
|
|
|
|
|
|
|
|
config PINMUX_MCUX_PORTA
|
2020-05-21 15:32:04 +02:00
|
|
|
default y if "$(dt_nodelabel_enabled,uart0)" && SERIAL
|
2017-07-19 16:51:09 +02:00
|
|
|
|
|
|
|
config PINMUX_MCUX_PORTB
|
2018-11-13 17:15:49 +01:00
|
|
|
default y if SPI_1
|
2017-07-19 16:51:09 +02:00
|
|
|
|
|
|
|
config PINMUX_MCUX_PORTC
|
2018-11-13 17:15:49 +01:00
|
|
|
default y
|
2017-07-19 16:51:09 +02:00
|
|
|
|
|
|
|
config PINMUX_MCUX_PORTD
|
2018-11-13 17:15:49 +01:00
|
|
|
default y
|
2017-07-19 16:51:09 +02:00
|
|
|
|
|
|
|
endif # PINMUX_MCUX
|
|
|
|
|
|
|
|
config SPI_1
|
2018-11-13 17:15:49 +01:00
|
|
|
default y
|
2020-02-10 04:18:50 +01:00
|
|
|
depends on SPI
|
2017-07-19 16:51:09 +02:00
|
|
|
|
|
|
|
config MCR20A_IS_PART_OF_KW2XD_SIP
|
|
|
|
default y
|
2020-02-10 04:18:50 +01:00
|
|
|
depends on IEEE802154_MCR20A
|
2017-07-19 16:51:09 +02:00
|
|
|
|
|
|
|
endif # BOARD_USB_KW24D512
|