galileo: Update Kconfig with defaults for gpio-mmio

Change-Id: I5d396fa58f9ef9f217c94d491897ec931c2efa81
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-09-20 14:26:41 -04:00
commit e34cd9c1cc

View file

@ -74,3 +74,34 @@ config GPIO_PCAL9535A_2_I2C_ADDR
config GPIO_PCAL9535A_2_I2C_MASTER_DEV_NAME
default "I2C0"
endif
if GPIO
if GPIO_MMIO_0
config GPIO_MMIO_0_DEV_NAME
default "GPIO_M0"
config GPIO_MMIO_0_CFG
default 0x0
config GPIO_MMIO_0_EN
default 0x1080
config GPIO_MMIO_0_DIR
default 0x1084
config GPIO_MMIO_0_INPUT
default 0x1088
config GPIO_MMIO_0_OUTPUT
default 0x1088
endif
if GPIO_MMIO_1
config GPIO_MMIO_1_DEV_NAME
default "GPIO_M1"
config GPIO_MMIO_1_CFG
default 0x0
config GPIO_MMIO_1_EN
default 0x10A0
config GPIO_MMIO_1_DIR
default 0x10A4
config GPIO_MMIO_1_INPUT
default 0x10A8
config GPIO_MMIO_1_OUTPUT
default 0x10A8
endif
endif