2018-07-17 09:37:14 +08:00
|
|
|
/*
|
2019-01-30 11:34:41 +08:00
|
|
|
* Copyright (c) 2018-2019 Intel Corporation Inc.
|
2018-07-17 09:37:14 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* SoC level DTS fixup file */
|
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_PHYS_RAM_ADDR CONFIG_SRAM_BASE_ADDRESS
|
2018-07-17 09:37:14 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_PHYS_LOAD_ADDR CONFIG_FLASH_BASE_ADDRESS
|
2018-07-17 09:37:14 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_RAM_SIZE CONFIG_SRAM_SIZE
|
2018-07-17 09:37:14 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_ROM_SIZE CONFIG_FLASH_SIZE
|
2018-07-17 09:37:14 +08:00
|
|
|
|
2019-01-30 11:34:41 +08:00
|
|
|
#define DT_IOAPIC_BASE_ADDRESS \
|
|
|
|
DT_INTEL_IOAPIC_FEC00000_BASE_ADDRESS
|
|
|
|
|
|
|
|
#define DT_APL_GPIO_BASE_ADDRESS_N \
|
|
|
|
DT_INTEL_APL_GPIO_D0C50000_BASE_ADDRESS_0
|
|
|
|
|
|
|
|
#define DT_APL_GPIO_BASE_ADDRESS_NW \
|
|
|
|
DT_INTEL_APL_GPIO_D0C50000_BASE_ADDRESS_1
|
|
|
|
|
|
|
|
#define DT_APL_GPIO_BASE_ADDRESS_W \
|
|
|
|
DT_INTEL_APL_GPIO_D0C50000_BASE_ADDRESS_2
|
|
|
|
|
|
|
|
#define DT_APL_GPIO_BASE_ADDRESS_SW \
|
|
|
|
DT_INTEL_APL_GPIO_D0C50000_BASE_ADDRESS_3
|
2018-11-13 19:24:15 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_APL_GPIO_IRQ DT_INTEL_APL_GPIO_D0C50000_IRQ_0
|
2019-01-30 11:34:41 +08:00
|
|
|
|
|
|
|
#define DT_APL_GPIO_IRQ_PRIORITY \
|
|
|
|
DT_INTEL_APL_GPIO_D0C50000_IRQ_0_PRIORITY
|
|
|
|
|
|
|
|
#define DT_APL_GPIO_IRQ_SENSE \
|
|
|
|
DT_INTEL_APL_GPIO_D0C50000_IRQ_0_SENSE
|
|
|
|
|
|
|
|
#define DT_APL_GPIO_MEM_SIZE_N DT_INTEL_APL_GPIO_D0C50000_SIZE_0
|
|
|
|
#define DT_APL_GPIO_MEM_SIZE_NW DT_INTEL_APL_GPIO_D0C50000_SIZE_1
|
|
|
|
#define DT_APL_GPIO_MEM_SIZE_W DT_INTEL_APL_GPIO_D0C50000_SIZE_2
|
|
|
|
#define DT_APL_GPIO_MEM_SIZE_SW DT_INTEL_APL_GPIO_D0C50000_SIZE_3
|
|
|
|
|
|
|
|
#define DT_APL_GPIO_LABEL_N_0 \
|
|
|
|
DT_INTEL_APL_GPIO_D0C50000_LABEL "_N_0"
|
|
|
|
|
|
|
|
#define DT_APL_GPIO_LABEL_N_1 \
|
|
|
|
DT_INTEL_APL_GPIO_D0C50000_LABEL "_N_1"
|
|
|
|
|
|
|
|
#define DT_APL_GPIO_LABEL_N_2 \
|
|
|
|
DT_INTEL_APL_GPIO_D0C50000_LABEL "_N_2"
|
|
|
|
|
|
|
|
#define DT_APL_GPIO_LABEL_NW_0 \
|
|
|
|
DT_INTEL_APL_GPIO_D0C50000_LABEL "_NW_0"
|
|
|
|
|
|
|
|
#define DT_APL_GPIO_LABEL_NW_1 \
|
|
|
|
DT_INTEL_APL_GPIO_D0C50000_LABEL "_NW_1"
|
|
|
|
|
|
|
|
#define DT_APL_GPIO_LABEL_NW_2 \
|
|
|
|
DT_INTEL_APL_GPIO_D0C50000_LABEL "_NW_2"
|
|
|
|
|
|
|
|
#define DT_APL_GPIO_LABEL_W_0 \
|
|
|
|
DT_INTEL_APL_GPIO_D0C50000_LABEL "_W_0"
|
|
|
|
|
|
|
|
#define DT_APL_GPIO_LABEL_W_1 \
|
|
|
|
DT_INTEL_APL_GPIO_D0C50000_LABEL "_W_1"
|
|
|
|
|
|
|
|
#define DT_APL_GPIO_LABEL_SW_0 \
|
|
|
|
DT_INTEL_APL_GPIO_D0C50000_LABEL "_SW_0"
|
|
|
|
|
|
|
|
#define DT_APL_GPIO_LABEL_SW_1 \
|
|
|
|
DT_INTEL_APL_GPIO_D0C50000_LABEL "_SW_1"
|
2018-11-02 01:34:10 +08:00
|
|
|
|
2018-07-17 09:37:14 +08:00
|
|
|
/* End of SoC Level DTS fixup file */
|