soc: arm: atmel_sam: Add macros to create a soc_gpio_pin info from dts

Add a set of macros that will create a struct soc_gpio_pin
initialization based on data extracted from device tree.  This should
allow replacing the static data in soc_pinmap.h with data coming from
devicetree instead.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-04-09 16:08:32 -05:00 committed by Kumar Gala
commit 1335176bfa
6 changed files with 51 additions and 0 deletions

View file

@ -37,6 +37,7 @@
#include "../common/soc_pmc.h"
#include "../common/soc_gpio.h"
#include "../common/atmel_sam_dt.h"
#endif /* !_ASMLANGUAGE */