soc: sifive: 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
020a899ec3
commit
8e65c69bb4
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
||||||
#include <devicetree.h>
|
#include <devicetree.h>
|
||||||
|
|
||||||
/* PINMUX Configuration */
|
/* PINMUX Configuration */
|
||||||
#define SIFIVE_PINMUX_0_BASE_ADDR (DT_INST_0_SIFIVE_GPIO0_BASE_ADDRESS + 0x38)
|
#define SIFIVE_PINMUX_0_BASE_ADDR (DT_REG_ADDR(DT_INST(0, sifive_gpio0)) + 0x38)
|
||||||
|
|
||||||
/* PINMUX IO Hardware Functions */
|
/* PINMUX IO Hardware Functions */
|
||||||
#define SIFIVE_PINMUX_IOF0 0x00
|
#define SIFIVE_PINMUX_IOF0 0x00
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue