board: freescale: ls1028a: mux changes for lpuart
[oweals/u-boot.git] / board / chipspark / popmetal_rk3288 / popmetal-rk3288.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
4  */
5
6 #include <common.h>
7 #include <init.h>
8 #include <asm/gpio.h>
9
10 #define GPIO7A3_HUB_RST 227
11
12 int rk3288_board_late_init(void)
13 {
14         int ret;
15
16         ret = gpio_request(GPIO7A3_HUB_RST, "hub_rst");
17         if (ret)
18                 return ret;
19         ret = gpio_direction_output(GPIO7A3_HUB_RST, 1);
20         if (ret)
21                 return ret;
22
23         return 0;
24 }