blob: 5ca75d888b4a5b00219623048351aec7a2b3bd00 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001Device-Tree bindings for Active-semi ACT8945A MFD driver
2
3Required properties:
4 - compatible: "active-semi,act8945a".
5 - reg: the I2C slave address for the ACT8945A chip
6
7The chip exposes two subdevices:
8 - a regulators: see ../regulator/act8945a-regulator.txt
9 - a charger: see ../power/act8945a-charger.txt
10
11Example:
12 pmic@5b {
13 compatible = "active-semi,act8945a";
14 reg = <0x5b>;
15
16 active-semi,vsel-high;
17
18 regulators {
19 vdd_1v35_reg: REG_DCDC1 {
20 regulator-name = "VDD_1V35";
21 regulator-min-microvolt = <1350000>;
22 regulator-max-microvolt = <1350000>;
23 regulator-always-on;
24 };
25
26 vdd_1v2_reg: REG_DCDC2 {
27 regulator-name = "VDD_1V2";
28 regulator-min-microvolt = <1100000>;
29 regulator-max-microvolt = <1300000>;
30 regulator-always-on;
31 };
32
33 vdd_3v3_reg: REG_DCDC3 {
34 regulator-name = "VDD_3V3";
35 regulator-min-microvolt = <3300000>;
36 regulator-max-microvolt = <3300000>;
37 regulator-always-on;
38 };
39
40 vdd_fuse_reg: REG_LDO1 {
41 regulator-name = "VDD_FUSE";
42 regulator-min-microvolt = <2500000>;
43 regulator-max-microvolt = <2500000>;
44 regulator-always-on;
45 };
46
47 vdd_3v3_lp_reg: REG_LDO2 {
48 regulator-name = "VDD_3V3_LP";
49 regulator-min-microvolt = <3300000>;
50 regulator-max-microvolt = <3300000>;
51 regulator-always-on;
52 };
53
54 vdd_led_reg: REG_LDO3 {
55 regulator-name = "VDD_LED";
56 regulator-min-microvolt = <3300000>;
57 regulator-max-microvolt = <3300000>;
58 regulator-always-on;
59 };
60
61 vdd_sdhc_1v8_reg: REG_LDO4 {
62 regulator-name = "VDD_SDHC_1V8";
63 regulator-min-microvolt = <1800000>;
64 regulator-max-microvolt = <1800000>;
65 regulator-always-on;
66 };
67 };
68
69 charger {
70 compatible = "active-semi,act8945a-charger";
71 pinctrl-names = "default";
72 pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
73 interrupt-parent = <&pioA>;
74 interrupts = <45 IRQ_TYPE_LEVEL_LOW>;
75
76 active-semi,chglev-gpios = <&pioA 12 GPIO_ACTIVE_HIGH>;
77 active-semi,lbo-gpios = <&pioA 72 GPIO_ACTIVE_LOW>;
78 active-semi,input-voltage-threshold-microvolt = <6600>;
79 active-semi,precondition-timeout = <40>;
80 active-semi,total-timeout = <3>;
81 };
82 };