1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 // Copyright 2017 Icenowy Zheng <icenowy@aosc.xyz>
5 * AXP803 Integrated Power Management Chip
6 * http://files.pine64.org/doc/datasheet/pine64/AXP803_Datasheet_V1.0.pdf
11 #interrupt-cells = <1>;
13 ac_power_supply: ac-power-supply {
14 compatible = "x-powers,axp803-ac-power-supply",
15 "x-powers,axp813-ac-power-supply";
20 compatible = "x-powers,axp803-adc", "x-powers,axp813-adc";
21 #io-channel-cells = <1>;
25 compatible = "x-powers,axp803-gpio", "x-powers,axp813-gpio";
29 gpio0_ldo: gpio0-ldo {
34 gpio1_ldo: gpio1-ldo {
40 battery_power_supply: battery-power-supply {
41 compatible = "x-powers,axp803-battery-power-supply",
42 "x-powers,axp813-battery-power-supply";
47 /* Default work frequency for buck regulators */
48 x-powers,dcdc-freq = <3000>;
51 regulator-name = "aldo1";
55 regulator-name = "aldo2";
59 regulator-name = "aldo3";
63 regulator-name = "dc1sw";
67 regulator-name = "dcdc1";
71 regulator-name = "dcdc2";
75 regulator-name = "dcdc3";
79 regulator-name = "dcdc4";
83 regulator-name = "dcdc5";
87 regulator-name = "dcdc6";
91 regulator-name = "dldo1";
95 regulator-name = "dldo2";
99 regulator-name = "dldo3";
103 regulator-name = "dldo4";
107 regulator-name = "eldo1";
111 regulator-name = "eldo2";
115 regulator-name = "eldo3";
119 regulator-name = "fldo1";
123 regulator-name = "fldo2";
126 reg_ldo_io0: ldo-io0 {
127 regulator-name = "ldo-io0";
131 reg_ldo_io1: ldo-io1 {
132 regulator-name = "ldo-io1";
136 reg_rtc_ldo: rtc-ldo {
137 /* RTC_LDO is a fixed, always-on regulator */
139 regulator-min-microvolt = <3000000>;
140 regulator-max-microvolt = <3000000>;
141 regulator-name = "rtc-ldo";
144 reg_drivevbus: drivevbus {
145 regulator-name = "drivevbus";
150 usb_power_supply: usb-power-supply {
151 compatible = "x-powers,axp803-usb-power-supply",
152 "x-powers,axp813-usb-power-supply";