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:
parent
bdf58d11f0
commit
1335176bfa
6 changed files with 51 additions and 0 deletions
|
@ -37,6 +37,7 @@
|
|||
|
||||
#include "../common/soc_pmc.h"
|
||||
#include "../common/soc_gpio.h"
|
||||
#include "../common/atmel_sam_dt.h"
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue