diff options
author | davidcunado-arm <david.cunado@arm.com> | 2018-01-16 01:09:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-16 01:09:57 +0000 |
commit | 0cd67c39511e8a370e17190a85e95357e715e8ee (patch) | |
tree | 4f3de61996bc7a6d47ec8edaa59b6fde7f94a380 /plat/hisilicon | |
parent | 254ce52fbe9c23deb1e7fbb9e4b42c5ad4d3dd48 (diff) | |
parent | 294d74719d6bad7fdf19de8ae28d774bff8bf0c6 (diff) |
Merge pull request #1216 from hzhuang1/fix_psci
Hikey960: Fix hikey960 pcie mount fail
Diffstat (limited to 'plat/hisilicon')
-rw-r--r-- | plat/hisilicon/hikey960/hikey960_bl1_setup.c | 2 | ||||
-rw-r--r-- | plat/hisilicon/hikey960/include/hi3660.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/plat/hisilicon/hikey960/hikey960_bl1_setup.c b/plat/hisilicon/hikey960/hikey960_bl1_setup.c index ae33bd24..11f143a8 100644 --- a/plat/hisilicon/hikey960/hikey960_bl1_setup.c +++ b/plat/hisilicon/hikey960/hikey960_bl1_setup.c @@ -647,6 +647,8 @@ static void hikey960_pinmux_init(void) } /* GPIO005 - PMU SSI, 10mA */ mmio_write_32(IOCG_006_REG, 2 << 4); + /* GPIO213 - PCIE_CLKREQ_N */ + mmio_write_32(IOMG_AO_033_REG, 1); } /* diff --git a/plat/hisilicon/hikey960/include/hi3660.h b/plat/hisilicon/hikey960/include/hi3660.h index 83d1b363..ab7b8aa4 100644 --- a/plat/hisilicon/hikey960/include/hi3660.h +++ b/plat/hisilicon/hikey960/include/hi3660.h @@ -335,6 +335,8 @@ #define IOMG_AO_026_REG (IOMG_AO_REG_BASE + 0x068) /* GPIO219: PD interrupt. pull up */ #define IOMG_AO_039_REG (IOMG_AO_REG_BASE + 0x09C) +/* GPIO213: PCIE_CLKREQ_N */ +#define IOMG_AO_033_REG (IOMG_AO_REG_BASE + 0x084) #define IOCG_AO_REG_BASE 0xFFF1187C /* GPIO219: PD interrupt. pull up */ |