2019-04-06 21:08:09 +08:00
|
|
|
/* SPDX-License-Identifier: Apache-2.0 */
|
|
|
|
|
2018-02-24 00:01:12 +08:00
|
|
|
/* SoC level DTS fixup file */
|
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_UART_QMSI_0_BAUDRATE DT_INTEL_QMSI_UART_B0002000_CURRENT_SPEED
|
|
|
|
#define DT_UART_QMSI_0_NAME DT_INTEL_QMSI_UART_B0002000_LABEL
|
|
|
|
#define DT_UART_QMSI_0_IRQ DT_INTEL_QMSI_UART_B0002000_IRQ_0
|
2019-06-22 06:55:54 +08:00
|
|
|
#define DT_UART_QMSI_0_IRQ_PRI DT_INTEL_QMSI_UART_B0002000_IRQ_0_PRIORITY
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_UART_QMSI_0_IRQ_FLAGS DT_INTEL_QMSI_UART_B0002000_IRQ_0_SENSE
|
2017-06-23 01:49:42 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_UART_QMSI_1_BAUDRATE DT_INTEL_QMSI_UART_B0002400_CURRENT_SPEED
|
|
|
|
#define DT_UART_QMSI_1_NAME DT_INTEL_QMSI_UART_B0002400_LABEL
|
|
|
|
#define DT_UART_QMSI_1_IRQ DT_INTEL_QMSI_UART_B0002400_IRQ_0
|
2019-06-22 06:55:54 +08:00
|
|
|
#define DT_UART_QMSI_1_IRQ_PRI DT_INTEL_QMSI_UART_B0002400_IRQ_0_PRIORITY
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_UART_QMSI_1_IRQ_FLAGS DT_INTEL_QMSI_UART_B0002400_IRQ_0_SENSE
|
2017-06-23 01:49:42 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_PHYS_RAM_ADDR CONFIG_SRAM_BASE_ADDRESS
|
2017-06-23 01:49:42 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_PHYS_LOAD_ADDR CONFIG_FLASH_BASE_ADDRESS
|
2017-11-09 00:00:37 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_RAM_SIZE CONFIG_SRAM_SIZE
|
2018-05-10 18:22:56 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_ROM_SIZE CONFIG_FLASH_SIZE
|
2018-05-10 18:22:56 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_IOAPIC_BASE_ADDRESS DT_INTEL_IOAPIC_FEC00000_BASE_ADDRESS
|
2018-02-24 00:01:12 +08:00
|
|
|
|
2018-11-13 19:24:15 +08:00
|
|
|
#define CONFIG_I2C_0_NAME DT_INTEL_QMSI_I2C_B0002800_LABEL
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_I2C_0_BITRATE DT_INTEL_QMSI_I2C_B0002800_CLOCK_FREQUENCY
|
|
|
|
#define DT_I2C_0_IRQ DT_INTEL_QMSI_I2C_B0002800_IRQ_0
|
2018-11-16 10:14:07 +08:00
|
|
|
#define DT_I2C_0_IRQ_PRI DT_INTEL_QMSI_I2C_B0002800_IRQ_0_PRIORITY
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_I2C_0_IRQ_FLAGS DT_INTEL_QMSI_I2C_B0002800_IRQ_0_SENSE
|
2018-11-13 19:24:15 +08:00
|
|
|
#define CONFIG_I2C_1_NAME DT_INTEL_QMSI_I2C_B0002C00_LABEL
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_I2C_1_BITRATE DT_INTEL_QMSI_I2C_B0002C00_CLOCK_FREQUENCY
|
|
|
|
#define DT_I2C_1_IRQ DT_INTEL_QMSI_I2C_B0002C00_IRQ_0
|
2018-11-16 10:14:07 +08:00
|
|
|
#define DT_I2C_1_IRQ_PRI DT_INTEL_QMSI_I2C_B0002C00_IRQ_0_PRIORITY
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_I2C_1_IRQ_FLAGS DT_INTEL_QMSI_I2C_B0002C00_IRQ_0_SENSE
|
2018-02-28 22:21:31 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_GPIO_QMSI_0_NAME DT_INTEL_QMSI_GPIO_B0000C00_LABEL
|
|
|
|
#define DT_GPIO_QMSI_0_IRQ DT_INTEL_QMSI_GPIO_B0000C00_IRQ_0
|
2019-06-22 06:55:54 +08:00
|
|
|
#define DT_GPIO_QMSI_0_IRQ_PRI DT_INTEL_QMSI_GPIO_B0000C00_IRQ_0_PRIORITY
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_GPIO_QMSI_0_IRQ_FLAGS DT_INTEL_QMSI_GPIO_B0000C00_IRQ_0_SENSE
|
|
|
|
#define DT_GPIO_QMSI_1_NAME DT_INTEL_QMSI_GPIO_B0800B00_LABEL
|
|
|
|
#define DT_GPIO_QMSI_1_IRQ DT_INTEL_QMSI_GPIO_B0800B00_IRQ_0
|
|
|
|
#define DT_GPIO_QMSI_1_IRQ_PRI DT_INTEL_QMSI_GPIO_B0800B00_IRQ_0_PRIORITY
|
|
|
|
#define DT_GPIO_QMSI_1_IRQ_FLAGS DT_INTEL_QMSI_GPIO_B0800B00_IRQ_0_SENSE
|
2018-03-03 05:30:42 +08:00
|
|
|
|
2018-12-18 17:33:59 +08:00
|
|
|
#define DT_RTC_0_NAME DT_INTEL_QMSI_RTC_B0000400_LABEL
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_RTC_0_IRQ DT_INTEL_QMSI_RTC_B0000400_IRQ_0
|
2019-06-22 06:55:54 +08:00
|
|
|
#define DT_RTC_0_IRQ_PRI DT_INTEL_QMSI_RTC_B0000400_IRQ_0_PRIORITY
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_RTC_0_IRQ_FLAGS DT_INTEL_QMSI_RTC_B0000400_IRQ_0_SENSE
|
2018-03-05 20:10:07 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_SPI_0_BASE_ADDRESS DT_SNPS_DESIGNWARE_SPI_B0001000_BASE_ADDRESS
|
2018-11-15 23:02:14 +08:00
|
|
|
#define DT_SPI_0_NAME DT_SNPS_DESIGNWARE_SPI_B0001000_LABEL
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_SPI_0_IRQ DT_SNPS_DESIGNWARE_SPI_B0001000_IRQ_0
|
2018-11-21 20:33:39 +08:00
|
|
|
#define DT_SPI_0_IRQ_PRI DT_SNPS_DESIGNWARE_SPI_B0001000_IRQ_0_PRIORITY
|
2018-09-27 04:31:53 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_SPI_1_BASE_ADDRESS DT_SNPS_DESIGNWARE_SPI_B0001400_BASE_ADDRESS
|
2018-11-15 23:02:14 +08:00
|
|
|
#define DT_SPI_1_NAME DT_SNPS_DESIGNWARE_SPI_B0001400_LABEL
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_SPI_1_IRQ DT_SNPS_DESIGNWARE_SPI_B0001400_IRQ_0
|
2018-11-21 20:33:39 +08:00
|
|
|
#define DT_SPI_1_IRQ_PRI DT_SNPS_DESIGNWARE_SPI_B0001400_IRQ_0_PRIORITY
|
2018-09-27 04:31:53 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_SPI_2_BASE_ADDRESS DT_SNPS_DESIGNWARE_SPI_B0001800_BASE_ADDRESS
|
2018-11-15 23:02:14 +08:00
|
|
|
#define DT_SPI_2_NAME DT_SNPS_DESIGNWARE_SPI_B0001800_LABEL
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_SPI_2_IRQ DT_SNPS_DESIGNWARE_SPI_B0001800_IRQ_0
|
2018-11-21 20:33:39 +08:00
|
|
|
#define DT_SPI_2_IRQ_PRI DT_SNPS_DESIGNWARE_SPI_B0001800_IRQ_0_PRIORITY
|
2018-09-27 04:31:53 +08:00
|
|
|
|
2018-11-13 19:24:15 +08:00
|
|
|
#define CONFIG_WDT_0_NAME DT_INTEL_QMSI_WATCHDOG_B0000000_LABEL
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_WDT_0_IRQ DT_INTEL_QMSI_WATCHDOG_B0000000_IRQ_0
|
|
|
|
#define DT_WDT_0_IRQ_PRI DT_INTEL_QMSI_WATCHDOG_B0000000_IRQ_0_PRIORITY
|
|
|
|
#define DT_WDT_0_IRQ_FLAGS DT_INTEL_QMSI_WATCHDOG_B0000000_IRQ_0_SENSE
|
2018-09-20 21:23:13 +08:00
|
|
|
|
2018-02-24 00:01:12 +08:00
|
|
|
/* End of SoC Level DTS fixup file */
|