soc: x86: apollo_lake: Fix incorrect DTS gpio nodelabel references

The nodelabel references for the GPIO region MMU setup were incorrect.
The nodelabel names didn't match what is in the dts.  Fix this otherwise
we get a compile error when enabling the functionality.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-05-14 09:12:17 -05:00 committed by Carles Cufí
parent 845abb04cf
commit 5496ea2d9b
1 changed files with 8 additions and 8 deletions

View File

@ -98,17 +98,17 @@ MMU_BOOT_REGION(DT_REG_ADDR(DT_INST(7, snps_designware_i2c)), 0x1000,
/* for GPIO controller */
#ifdef CONFIG_GPIO_INTEL_APL
MMU_BOOT_REGION(DT_REG_ADDR(DT_NODELABEL(gpio_n_000)),
DT_REG_SIZE(DT_NODELABEL(gpio_n_000)),
MMU_BOOT_REGION(DT_REG_ADDR(DT_NODELABEL(gpio_n_000_031)),
DT_REG_SIZE(DT_NODELABEL(gpio_n_000_031)),
(MMU_ENTRY_READ | MMU_ENTRY_WRITE));
MMU_BOOT_REGION(DT_REG_ADDR(DT_NODELABEL(gpio_nw_000)),
DT_REG_SIZE(DT_NODELABEL(gpio_nw_000)),
MMU_BOOT_REGION(DT_REG_ADDR(DT_NODELABEL(gpio_nw_000_031)),
DT_REG_SIZE(DT_NODELABEL(gpio_nw_000_031)),
(MMU_ENTRY_READ | MMU_ENTRY_WRITE));
MMU_BOOT_REGION(DT_REG_ADDR(DT_NODELABEL(gpio_w_000)),
DT_REG_SIZE(DT_NODELABEL(gpio_w_000)),
MMU_BOOT_REGION(DT_REG_ADDR(DT_NODELABEL(gpio_w_000_031)),
DT_REG_SIZE(DT_NODELABEL(gpio_w_000_031)),
(MMU_ENTRY_READ | MMU_ENTRY_WRITE));
MMU_BOOT_REGION(DT_REG_ADDR(DT_NODELABEL(gpio_sw_000)),
DT_REG_SIZE(DT_NODELABEL(gpio_sw_000)),
MMU_BOOT_REGION(DT_REG_ADDR(DT_NODELABEL(gpio_sw_000_031)),
DT_REG_SIZE(DT_NODELABEL(gpio_sw_000_031)),
(MMU_ENTRY_READ | MMU_ENTRY_WRITE));
#endif