5f94e593c0
Reworked i2c_sam_twi driver to utilize new DT_INST macros as part of this rework we also now get pin ctrl/mux configuration information from the device tree instead of via Kconfig and defines in soc_pinmap.h We remove defines from dts_fixup.h and soc_pinmap.h and associated Kconfig symbols that are no longer needed due to getting all that information from devicetree. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
22 lines
291 B
Text
22 lines
291 B
Text
# Arduino Due Board configuration
|
|
|
|
# Copyright (c) 2017 Justin Watson
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_ARDUINO_DUE
|
|
|
|
config BOARD
|
|
default "arduino_due"
|
|
|
|
config GPIO_SAM
|
|
default y
|
|
depends on GPIO
|
|
|
|
if I2C
|
|
|
|
config I2C_SAM_TWI
|
|
default y
|
|
|
|
endif # I2C
|
|
|
|
endif # BOARD_ARDUINO_DUE
|