1 /* 2 * Copyright (c) 2017, 2023 NXP 3 * Copyright (c) 2017, Phytec Messtechnik GmbH 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8 #ifndef _SOC__H_ 9 #define _SOC__H_ 10 11 #include <zephyr/sys/util.h> 12 #include <fsl_port.h> 13 14 #if defined(CONFIG_SOC_MKW40Z4) || defined(CONFIG_SOC_MKW41Z4) 15 16 #define LPUART0_CLK_SRC kCLOCK_CoreSysClk 17 18 #endif 19 20 #if defined(CONFIG_SOC_MKW22D5) || defined(CONFIG_SOC_MKW24D5) 21 22 #define PERIPH_ADDR_BASE_WDOG 0x40052000 /* Watchdog Timer module */ 23 24 #endif 25 26 #define PORT_MUX_GPIO kPORT_MuxAsGpio /* GPIO setting for the Port Mux Register */ 27 28 #ifndef _ASMLANGUAGE 29 30 #include <fsl_common.h> 31 32 33 #endif /* !_ASMLANGUAGE */ 34 35 #endif /* _SOC__H_ */ 36