zephyr/soc/arm/nxp_imx/mcimx6x_m4/dts_fixup.h

99 lines
5.7 KiB
C

/*
* Copyright (c) 2018, NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
#define CONFIG_NUM_IRQ_PRIO_BITS ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
#define CONFIG_GPIO_IMX_PORT_1_BASE_ADDRESS NXP_IMX_GPIO_4209C000_BASE_ADDRESS
#define CONFIG_GPIO_IMX_PORT_1_NAME NXP_IMX_GPIO_4209C000_LABEL
#define CONFIG_GPIO_IMX_PORT_1_IRQ_0 NXP_IMX_GPIO_4209C000_IRQ_0
#define CONFIG_GPIO_IMX_PORT_1_IRQ_0_PRI NXP_IMX_GPIO_4209C000_IRQ_0_PRIORITY
#define CONFIG_GPIO_IMX_PORT_1_IRQ_1 NXP_IMX_GPIO_4209C000_IRQ_1
#define CONFIG_GPIO_IMX_PORT_1_IRQ_1_PRI NXP_IMX_GPIO_4209C000_IRQ_1_PRIORITY
#define CONFIG_GPIO_IMX_PORT_2_BASE_ADDRESS NXP_IMX_GPIO_420A0000_BASE_ADDRESS
#define CONFIG_GPIO_IMX_PORT_2_NAME NXP_IMX_GPIO_420A0000_LABEL
#define CONFIG_GPIO_IMX_PORT_2_IRQ_0 NXP_IMX_GPIO_420A0000_IRQ_0
#define CONFIG_GPIO_IMX_PORT_2_IRQ_0_PRI NXP_IMX_GPIO_420A0000_IRQ_0_PRIORITY
#define CONFIG_GPIO_IMX_PORT_2_IRQ_1 NXP_IMX_GPIO_420A0000_IRQ_1
#define CONFIG_GPIO_IMX_PORT_2_IRQ_1_PRI NXP_IMX_GPIO_420A0000_IRQ_1_PRIORITY
#define CONFIG_GPIO_IMX_PORT_3_BASE_ADDRESS NXP_IMX_GPIO_420A4000_BASE_ADDRESS
#define CONFIG_GPIO_IMX_PORT_3_NAME NXP_IMX_GPIO_420A4000_LABEL
#define CONFIG_GPIO_IMX_PORT_3_IRQ_0 NXP_IMX_GPIO_420A4000_IRQ_0
#define CONFIG_GPIO_IMX_PORT_3_IRQ_0_PRI NXP_IMX_GPIO_420A4000_IRQ_0_PRIORITY
#define CONFIG_GPIO_IMX_PORT_3_IRQ_1 NXP_IMX_GPIO_420A4000_IRQ_1
#define CONFIG_GPIO_IMX_PORT_3_IRQ_1_PRI NXP_IMX_GPIO_420A4000_IRQ_1_PRIORITY
#define CONFIG_GPIO_IMX_PORT_4_BASE_ADDRESS NXP_IMX_GPIO_420A8000_BASE_ADDRESS
#define CONFIG_GPIO_IMX_PORT_4_NAME NXP_IMX_GPIO_420A8000_LABEL
#define CONFIG_GPIO_IMX_PORT_4_IRQ_0 NXP_IMX_GPIO_420A8000_IRQ_0
#define CONFIG_GPIO_IMX_PORT_4_IRQ_0_PRI NXP_IMX_GPIO_420A8000_IRQ_0_PRIORITY
#define CONFIG_GPIO_IMX_PORT_4_IRQ_1 NXP_IMX_GPIO_420A8000_IRQ_1
#define CONFIG_GPIO_IMX_PORT_4_IRQ_1_PRI NXP_IMX_GPIO_420A8000_IRQ_1_PRIORITY
#define CONFIG_GPIO_IMX_PORT_5_BASE_ADDRESS NXP_IMX_GPIO_420AC000_BASE_ADDRESS
#define CONFIG_GPIO_IMX_PORT_5_NAME NXP_IMX_GPIO_420AC000_LABEL
#define CONFIG_GPIO_IMX_PORT_5_IRQ_0 NXP_IMX_GPIO_420AC000_IRQ_0
#define CONFIG_GPIO_IMX_PORT_5_IRQ_0_PRI NXP_IMX_GPIO_420AC000_IRQ_0_PRIORITY
#define CONFIG_GPIO_IMX_PORT_5_IRQ_1 NXP_IMX_GPIO_420AC000_IRQ_1
#define CONFIG_GPIO_IMX_PORT_5_IRQ_1_PRI NXP_IMX_GPIO_420AC000_IRQ_1_PRIORITY
#define CONFIG_GPIO_IMX_PORT_6_BASE_ADDRESS NXP_IMX_GPIO_420B0000_BASE_ADDRESS
#define CONFIG_GPIO_IMX_PORT_6_NAME NXP_IMX_GPIO_420B0000_LABEL
#define CONFIG_GPIO_IMX_PORT_6_IRQ_0 NXP_IMX_GPIO_420B0000_IRQ_0
#define CONFIG_GPIO_IMX_PORT_6_IRQ_0_PRI NXP_IMX_GPIO_420B0000_IRQ_0_PRIORITY
#define CONFIG_GPIO_IMX_PORT_6_IRQ_1 NXP_IMX_GPIO_420B0000_IRQ_1
#define CONFIG_GPIO_IMX_PORT_6_IRQ_1_PRI NXP_IMX_GPIO_420B0000_IRQ_1_PRIORITY
#define CONFIG_GPIO_IMX_PORT_7_BASE_ADDRESS NXP_IMX_GPIO_420B4000_BASE_ADDRESS
#define CONFIG_GPIO_IMX_PORT_7_NAME NXP_IMX_GPIO_420B4000_LABEL
#define CONFIG_GPIO_IMX_PORT_7_IRQ_0 NXP_IMX_GPIO_420B4000_IRQ_0
#define CONFIG_GPIO_IMX_PORT_7_IRQ_0_PRI NXP_IMX_GPIO_420B4000_IRQ_0_PRIORITY
#define CONFIG_GPIO_IMX_PORT_7_IRQ_1 NXP_IMX_GPIO_420B4000_IRQ_1
#define CONFIG_GPIO_IMX_PORT_7_IRQ_1_PRI NXP_IMX_GPIO_420B4000_IRQ_1_PRIORITY
#define CONFIG_UART_IMX_UART_1_BASE_ADDRESS NXP_IMX_UART_42020000_BASE_ADDRESS
#define CONFIG_UART_IMX_UART_1_NAME NXP_IMX_UART_42020000_LABEL
#define CONFIG_UART_IMX_UART_1_IRQ_NUM NXP_IMX_UART_42020000_IRQ_0
#define CONFIG_UART_IMX_UART_1_IRQ_PRI NXP_IMX_UART_42020000_IRQ_0_PRIORITY
#define CONFIG_UART_IMX_UART_1_BAUD_RATE NXP_IMX_UART_42020000_CURRENT_SPEED
#define CONFIG_UART_IMX_UART_1_MODEM_MODE NXP_IMX_UART_42020000_MODEM_MODE
#define CONFIG_UART_IMX_UART_2_BASE_ADDRESS NXP_IMX_UART_421E8000_BASE_ADDRESS
#define CONFIG_UART_IMX_UART_2_NAME NXP_IMX_UART_421E8000_LABEL
#define CONFIG_UART_IMX_UART_2_IRQ_NUM NXP_IMX_UART_421E8000_IRQ_0
#define CONFIG_UART_IMX_UART_2_IRQ_PRI NXP_IMX_UART_421E8000_IRQ_0_PRIORITY
#define CONFIG_UART_IMX_UART_2_BAUD_RATE NXP_IMX_UART_421E8000_CURRENT_SPEED
#define CONFIG_UART_IMX_UART_2_MODEM_MODE NXP_IMX_UART_421E8000_MODEM_MODE
#define CONFIG_UART_IMX_UART_3_BASE_ADDRESS NXP_IMX_UART_421EC000_BASE_ADDRESS
#define CONFIG_UART_IMX_UART_3_NAME NXP_IMX_UART_421EC000_LABEL
#define CONFIG_UART_IMX_UART_3_IRQ_NUM NXP_IMX_UART_421EC000_IRQ_0
#define CONFIG_UART_IMX_UART_3_IRQ_PRI NXP_IMX_UART_421EC000_IRQ_0_PRIORITY
#define CONFIG_UART_IMX_UART_3_BAUD_RATE NXP_IMX_UART_421EC000_CURRENT_SPEED
#define CONFIG_UART_IMX_UART_3_MODEM_MODE NXP_IMX_UART_421EC000_MODEM_MODE
#define CONFIG_UART_IMX_UART_4_BASE_ADDRESS NXP_IMX_UART_421F0000_BASE_ADDRESS
#define CONFIG_UART_IMX_UART_4_NAME NXP_IMX_UART_421F0000_LABEL
#define CONFIG_UART_IMX_UART_4_IRQ_NUM NXP_IMX_UART_421F0000_IRQ_0
#define CONFIG_UART_IMX_UART_4_IRQ_PRI NXP_IMX_UART_421F0000_IRQ_0_PRIORITY
#define CONFIG_UART_IMX_UART_4_BAUD_RATE NXP_IMX_UART_421F0000_CURRENT_SPEED
#define CONFIG_UART_IMX_UART_4_MODEM_MODE NXP_IMX_UART_421F0000_MODEM_MODE
#define CONFIG_UART_IMX_UART_5_BASE_ADDRESS NXP_IMX_UART_421F4000_BASE_ADDRESS
#define CONFIG_UART_IMX_UART_5_NAME NXP_IMX_UART_421F4000_LABEL
#define CONFIG_UART_IMX_UART_5_IRQ_NUM NXP_IMX_UART_421F4000_IRQ_0
#define CONFIG_UART_IMX_UART_5_IRQ_PRI NXP_IMX_UART_421F4000_IRQ_0_PRIORITY
#define CONFIG_UART_IMX_UART_5_BAUD_RATE NXP_IMX_UART_421F4000_CURRENT_SPEED
#define CONFIG_UART_IMX_UART_5_MODEM_MODE NXP_IMX_UART_421F4000_MODEM_MODE
#define CONFIG_UART_IMX_UART_6_BASE_ADDRESS NXP_IMX_UART_422A0000_BASE_ADDRESS
#define CONFIG_UART_IMX_UART_6_NAME NXP_IMX_UART_422A0000_LABEL
#define CONFIG_UART_IMX_UART_6_IRQ_NUM NXP_IMX_UART_422A0000_IRQ_0
#define CONFIG_UART_IMX_UART_6_IRQ_PRI NXP_IMX_UART_422A0000_IRQ_0_PRIORITY
#define CONFIG_UART_IMX_UART_6_BAUD_RATE NXP_IMX_UART_422A0000_CURRENT_SPEED
#define CONFIG_UART_IMX_UART_6_MODEM_MODE NXP_IMX_UART_422A0000_MODEM_MODE