blob: dd0fb3aec2992d74526d9b6948e462af40e04caa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
* NXP PCA9450 Power Management Integrated Circuit (PMIC) bindings
Required properties:
- compatible : Should be "nxp,pca9450".
- reg : I2C slave address.
- pinctrl-0 : Pinctrl setting for pmic such as interrupt pin.
- gpio_intr : gpio pin used for interrupt pin.
- regulators: : List of child nodes that specify the regulator
initialization data. Including 6 buck regulators
and 5 ldo regulators.
Optional properties:
- i2c-lt-en : Sets I2C level translator enable in CONFIG2, valid:
0x100 = Forced Disable
0x101 = Enable only when STANDBY and RUN mode
0x102 = Enable only when RUN mode
0x103 = Forced enable
Any other value or if the property is missing CONFIG2
is not changed.
Example:
pmic: pca9450@25 {
reg = <0x25>;
compatible = "nxp,pca9450";
/* PMIC PCA9450 PMIC_nINT GPIO1_IO3 */
pinctrl-0 = <&pinctrl_pmic>;
gpio_intr = <&gpio1 3 GPIO_ACTIVE_LOW>;
i2c-lt-en = <0x101>;
regulators {
#address-cells = <1>;
#size-cells = <0>;
pca9450,pmic-buck2-uses-i2c-dvs;
/* Run/Standby voltage */
pca9450,pmic-buck2-dvs-voltage = <950000>, <850000>;
buck1_reg: regulator@0 {
reg = <0>;
regulator-compatible = "buck1";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <2187500>;
regulator-boot-on;
regulator-always-on;
regulator-ramp-delay = <3125>;
};
buck2_reg: regulator@1 {
reg = <1>;
regulator-compatible = "buck2";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <2187500>;
regulator-boot-on;
regulator-always-on;
regulator-ramp-delay = <3125>;
};
.....
};
};
|