mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
ipq807x: Fixed the aquantia gpio
Change-Id: I160632ee56fd874b97a9eba8a6af9945d591e79d Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
This commit is contained in:
parent
527c7c22d6
commit
5ea7c14b64
1 changed files with 4 additions and 3 deletions
|
|
@ -323,9 +323,10 @@ void eth_clock_enable(void)
|
|||
|
||||
if (aquantia_gpio >=0) {
|
||||
aquantia_gpio_base = (unsigned int *)GPIO_CONFIG_ADDR(aquantia_gpio);
|
||||
writel(0x2C3, aquantia_gpio_base);
|
||||
writel(0, aquantia_gpio_base);
|
||||
writel(0x3, aquantia_gpio_base);
|
||||
writel(0x203, aquantia_gpio_base);
|
||||
gpio_set_value(aquantia_gpio, 0x0);
|
||||
mdelay(500);
|
||||
gpio_set_value(aquantia_gpio, 0x1);
|
||||
mdelay(500);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue