upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
684 B
21 lines
684 B
/*
|
|
* (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#define AXP_GPIO
|
|
|
|
extern int axp209_set_dcdc2(int mvolt);
|
|
extern int axp209_set_dcdc3(int mvolt);
|
|
extern int axp209_set_ldo2(int mvolt);
|
|
extern int axp209_set_ldo3(int mvolt);
|
|
extern int axp209_set_ldo4(int mvolt);
|
|
extern int axp209_init(void);
|
|
extern int axp209_poweron_by_dc(void);
|
|
extern int axp209_power_button(void);
|
|
|
|
extern int axp_gpio_direction_input(unsigned int pin);
|
|
extern int axp_gpio_direction_output(unsigned int pin, unsigned int val);
|
|
extern int axp_gpio_get_value(unsigned int pin);
|
|
extern int axp_gpio_set_value(unsigned int pin, unsigned int val);
|
|
|