zephyr/soc/nxp/kinetis/kwx/soc.h

36 lines
655 B
C

/*
* Copyright (c) 2017, 2023 NXP
* Copyright (c) 2017, Phytec Messtechnik GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _SOC__H_
#define _SOC__H_
#include <zephyr/sys/util.h>
#include <fsl_port.h>
#if defined(CONFIG_SOC_MKW40Z4) || defined(CONFIG_SOC_MKW41Z4)
#define LPUART0_CLK_SRC kCLOCK_CoreSysClk
#endif
#if defined(CONFIG_SOC_MKW22D5) || defined(CONFIG_SOC_MKW24D5)
#define PERIPH_ADDR_BASE_WDOG 0x40052000 /* Watchdog Timer module */
#endif
#define PORT_MUX_GPIO kPORT_MuxAsGpio /* GPIO setting for the Port Mux Register */
#ifndef _ASMLANGUAGE
#include <fsl_common.h>
#endif /* !_ASMLANGUAGE */
#endif /* _SOC__H_ */