1 AXP family PMIC device tree bindings
3 The axp20x family current members :
9 - compatible: "x-powers,axp202", "x-powers,axp209", "x-powers,axp221"
10 - reg: The I2C slave address for the AXP chip
11 - interrupt-parent: The parent interrupt controller
12 - interrupts: SoC NMI / GPIO interrupt connected to the PMIC's IRQ pin
13 - interrupt-controller: The PMIC has its own internal IRQs
14 - #interrupt-cells: Should be set to 1
17 - x-powers,dcdc-freq: defines the work frequency of DC-DC in KHz
18 (range: 750-1875). Default: 1.5MHz
19 - <input>-supply: a phandle to the regulator supply node. May be omitted if
20 inputs are unregulated, such as using the IPSOUT output
23 - regulators: A node that houses a sub-node for each regulator. Regulators
24 not used but preferred to be managed by the OS should be
26 See Documentation/devicetree/bindings/regulator/regulator.txt
27 for more information on standard regulator bindings.
29 Optional properties for DCDC regulators:
30 - x-powers,dcdc-workmode: 1 for PWM mode, 0 for AUTO (PWM/PFM) mode
31 Default: Current hardware setting
32 The DCDC regulators work in a mixed PWM/PFM mode,
33 using PFM under light loads and switching to PWM
34 for heavier loads. Forcing PWM mode trades efficiency
35 under light loads for lower output noise. This
36 probably makes sense for HiFi audio related
37 applications that aren't battery constrained.
40 AXP202/AXP209 regulators, type, and corresponding input supply names:
42 Regulator Type Supply Name Notes
43 --------- ---- ----------- -----
44 DCDC2 : DC-DC buck : vin2-supply
45 DCDC3 : DC-DC buck : vin3-supply
46 LDO1 : LDO : acin-supply : always on
47 LDO2 : LDO : ldo24in-supply : shared supply
48 LDO3 : LDO : ldo3in-supply
49 LDO4 : LDO : ldo24in-supply : shared supply
50 LDO5 : LDO : ldo5in-supply
52 AXP221 regulators, type, and corresponding input supply names:
54 Regulator Type Supply Name Notes
55 --------- ---- ----------- -----
56 DCDC1 : DC-DC buck : vin1-supply
57 DCDC2 : DC-DC buck : vin2-supply
58 DCDC3 : DC-DC buck : vin3-supply
59 DCDC4 : DC-DC buck : vin4-supply
60 DCDC5 : DC-DC buck : vin5-supply
61 DC1SW : On/Off Switch : dcdc1-supply : DCDC1 secondary output
62 DC5LDO : LDO : dcdc5-supply : input from DCDC5
63 ALDO1 : LDO : aldoin-supply : shared supply
64 ALDO2 : LDO : aldoin-supply : shared supply
65 ALDO3 : LDO : aldoin-supply : shared supply
66 DLDO1 : LDO : dldoin-supply : shared supply
67 DLDO2 : LDO : dldoin-supply : shared supply
68 DLDO3 : LDO : dldoin-supply : shared supply
69 DLDO4 : LDO : dldoin-supply : shared supply
70 ELDO1 : LDO : eldoin-supply : shared supply
71 ELDO2 : LDO : eldoin-supply : shared supply
72 ELDO3 : LDO : eldoin-supply : shared supply
73 LDO_IO0 : LDO : ips-supply : GPIO 0
74 LDO_IO1 : LDO : ips-supply : GPIO 1
75 RTC_LDO : LDO : ips-supply : always on
80 compatible = "x-powers,axp209";
82 interrupt-parent = <&nmi_intc>;
83 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
85 #interrupt-cells = <1>;
88 x-powers,dcdc-freq = <1500>;
92 regulator-min-microvolt = <1000000>;
93 regulator-max-microvolt = <1450000>;
94 regulator-name = "vdd-cpu";
99 regulator-min-microvolt = <1000000>;
100 regulator-max-microvolt = <1400000>;
101 regulator-name = "vdd-int-dll";
106 regulator-min-microvolt = <1200000>;
107 regulator-max-microvolt = <1400000>;
108 regulator-name = "vdd-rtc";
113 regulator-min-microvolt = <2700000>;
114 regulator-max-microvolt = <3300000>;
115 regulator-name = "avcc";
119 /* unused but preferred to be managed by OS */