xref: /rk3399_ARM-atf/drivers/allwinner/axp/axp803.c (revision 2ca915ba9c48c2f8ee0480a7240609f56de23434)
10bc752c9SSamuel Holland /*
20bc752c9SSamuel Holland  * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.
30bc752c9SSamuel Holland  *
40bc752c9SSamuel Holland  * SPDX-License-Identifier: BSD-3-Clause
50bc752c9SSamuel Holland  */
60bc752c9SSamuel Holland 
70bc752c9SSamuel Holland #include <drivers/allwinner/axp.h>
80bc752c9SSamuel Holland 
90bc752c9SSamuel Holland const uint8_t axp_chip_id = AXP803_CHIP_ID;
100bc752c9SSamuel Holland const char *const axp_compatible = "x-powers,axp803";
110bc752c9SSamuel Holland 
1267412e4dSAndre Przywara #if SUNXI_SETUP_REGULATORS == 1
130bc752c9SSamuel Holland const struct axp_regulator axp_regulators[] = {
14*a29f6e76SThierry Bultel 	{"aldo1",  700, 3300, 100, NA, 0x28, 0x13, 5},
150bc752c9SSamuel Holland 	{"dcdc1", 1600, 3400, 100, NA, 0x20, 0x10, 0},
160bc752c9SSamuel Holland 	{"dcdc5",  800, 1840,  10, 32, 0x24, 0x10, 4},
170bc752c9SSamuel Holland 	{"dcdc6",  600, 1520,  10, 50, 0x25, 0x10, 5},
180bc752c9SSamuel Holland 	{"dldo1",  700, 3300, 100, NA, 0x15, 0x12, 3},
190bc752c9SSamuel Holland 	{"dldo2",  700, 4200, 100, 27, 0x16, 0x12, 4},
200bc752c9SSamuel Holland 	{"dldo3",  700, 3300, 100, NA, 0x17, 0x12, 5},
210bc752c9SSamuel Holland 	{"dldo4",  700, 3300, 100, NA, 0x18, 0x12, 6},
220bc752c9SSamuel Holland 	{"fldo1",  700, 1450,  50, NA, 0x1c, 0x13, 2},
230bc752c9SSamuel Holland 	{}
240bc752c9SSamuel Holland };
2567412e4dSAndre Przywara #endif
26