xref: /rk3399_ARM-atf/drivers/allwinner/axp/axp803.c (revision 0bc752c9adedbda4434fddf68d3bc18c5274360b)
1*0bc752c9SSamuel Holland /*
2*0bc752c9SSamuel Holland  * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.
3*0bc752c9SSamuel Holland  *
4*0bc752c9SSamuel Holland  * SPDX-License-Identifier: BSD-3-Clause
5*0bc752c9SSamuel Holland  */
6*0bc752c9SSamuel Holland 
7*0bc752c9SSamuel Holland #include <drivers/allwinner/axp.h>
8*0bc752c9SSamuel Holland 
9*0bc752c9SSamuel Holland const uint8_t axp_chip_id = AXP803_CHIP_ID;
10*0bc752c9SSamuel Holland const char *const axp_compatible = "x-powers,axp803";
11*0bc752c9SSamuel Holland 
12*0bc752c9SSamuel Holland const struct axp_regulator axp_regulators[] = {
13*0bc752c9SSamuel Holland 	{"dcdc1", 1600, 3400, 100, NA, 0x20, 0x10, 0},
14*0bc752c9SSamuel Holland 	{"dcdc5",  800, 1840,  10, 32, 0x24, 0x10, 4},
15*0bc752c9SSamuel Holland 	{"dcdc6",  600, 1520,  10, 50, 0x25, 0x10, 5},
16*0bc752c9SSamuel Holland 	{"dldo1",  700, 3300, 100, NA, 0x15, 0x12, 3},
17*0bc752c9SSamuel Holland 	{"dldo2",  700, 4200, 100, 27, 0x16, 0x12, 4},
18*0bc752c9SSamuel Holland 	{"dldo3",  700, 3300, 100, NA, 0x17, 0x12, 5},
19*0bc752c9SSamuel Holland 	{"dldo4",  700, 3300, 100, NA, 0x18, 0x12, 6},
20*0bc752c9SSamuel Holland 	{"fldo1",  700, 1450,  50, NA, 0x1c, 0x13, 2},
21*0bc752c9SSamuel Holland 	{}
22*0bc752c9SSamuel Holland };
23