drivers: watchdog: Convert Atmel SAM driver to DTS

The majority of bits where already in place, but some minor support
get the driver name from DTS was needed.  Now we select HAS_DTS_WDT
for the driver.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2018-11-14 09:23:40 -06:00 committed by Kumar Gala
commit ee9b08d7da
5 changed files with 5 additions and 1 deletions

View file

@ -39,5 +39,6 @@
#define DT_WDT_SAM_IRQ_PRIORITY DT_ATMEL_SAM_WATCHDOG_400E1A50_IRQ_0_PRIORITY
#define DT_WDT_SAM_LABEL DT_ATMEL_SAM_WATCHDOG_400E1A50_LABEL
#define DT_WDT_SAM_BASE_ADDRESS DT_ATMEL_SAM_WATCHDOG_400E1A50_BASE_ADDRESS
#define CONFIG_WDT_0_NAME DT_WDT_SAM_LABEL
/* End of SoC Level DTS fixup file */