soc: silabs: Convert to new DT_INST macros
Convert older DT_INST_ macro use the new include/devicetree.h DT_INST macro APIs. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
4cb0a5d992
commit
64bd0951e4
5 changed files with 10 additions and 10 deletions
|
@ -14,9 +14,9 @@
|
|||
|
||||
#define DT_GPIO_GECKO_SWO_LOCATION DT_SILABS_GECKO_GPIO_40088400_LOCATION_SWO
|
||||
|
||||
#define DT_RTC_0_NAME DT_INST_0_SILABS_GECKO_RTCC_LABEL
|
||||
#define DT_RTC_0_NAME DT_LABEL(DT_INST(0, silabs_gecko_rtcc))
|
||||
|
||||
#define DT_WDT_0_NAME DT_INST_0_SILABS_GECKO_WDOG_LABEL
|
||||
#define DT_WDT_1_NAME DT_INST_1_SILABS_GECKO_WDOG_LABEL
|
||||
#define DT_WDT_0_NAME DT_LABEL(DT_INST(0, silabs_gecko_wdog))
|
||||
#define DT_WDT_1_NAME DT_LABEL(DT_INST(1, silabs_gecko_wdog))
|
||||
|
||||
/* End of SoC Level DTS fixup file */
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
|
||||
#define DT_GPIO_GECKO_SWO_LOCATION DT_SILABS_GECKO_GPIO_4000A400_LOCATION_SWO
|
||||
|
||||
#define DT_WDT_0_NAME DT_INST_0_SILABS_GECKO_WDOG_LABEL
|
||||
#define DT_WDT_1_NAME DT_INST_1_SILABS_GECKO_WDOG_LABEL
|
||||
#define DT_WDT_0_NAME DT_LABEL(DT_INST(0, silabs_gecko_wdog))
|
||||
#define DT_WDT_1_NAME DT_LABEL(DT_INST(1, silabs_gecko_wdog))
|
||||
#define CONFIG_ENTROPY_NAME DT_SILABS_GECKO_TRNG_4001D000_LABEL
|
||||
|
||||
/* End of SoC Level DTS fixup file */
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
|
||||
#define DT_GPIO_GECKO_SWO_LOCATION DT_SILABS_GECKO_GPIO_4000A400_LOCATION_SWO
|
||||
|
||||
#define DT_WDT_0_NAME DT_INST_0_SILABS_GECKO_WDOG_LABEL
|
||||
#define DT_WDT_1_NAME DT_INST_1_SILABS_GECKO_WDOG_LABEL
|
||||
#define DT_WDT_0_NAME DT_LABEL(DT_INST(0, silabs_gecko_wdog))
|
||||
#define DT_WDT_1_NAME DT_LABEL(DT_INST(1, silabs_gecko_wdog))
|
||||
#define CONFIG_ENTROPY_NAME DT_SILABS_GECKO_TRNG_4001D000_LABEL
|
||||
|
||||
/* End of SoC Level DTS fixup file */
|
||||
|
|
|
@ -16,6 +16,6 @@
|
|||
|
||||
#define DT_GPIO_GECKO_SWO_LOCATION DT_SILABS_GECKO_GPIO_4000A400_LOCATION_SWO
|
||||
|
||||
#define DT_WDT_0_NAME DT_INST_0_SILABS_GECKO_WDOG_LABEL
|
||||
#define DT_WDT_0_NAME DT_LABEL(DT_INST(0, silabs_gecko_wdog))
|
||||
|
||||
/* End of SoC Level DTS fixup file */
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
|
||||
#define DT_GPIO_GECKO_SWO_LOCATION DT_SILABS_GECKO_GPIO_4000A400_LOCATION_SWO
|
||||
|
||||
#define DT_WDT_0_NAME DT_INST_0_SILABS_GECKO_WDOG_LABEL
|
||||
#define DT_WDT_1_NAME DT_INST_1_SILABS_GECKO_WDOG_LABEL
|
||||
#define DT_WDT_0_NAME DT_LABEL(DT_INST(0, silabs_gecko_wdog))
|
||||
#define DT_WDT_1_NAME DT_LABEL(DT_INST(1, silabs_gecko_wdog))
|
||||
#define CONFIG_ENTROPY_NAME DT_SILABS_GECKO_TRNG_4001D000_LABEL
|
||||
|
||||
/* End of SoC Level DTS fixup file */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue