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