File tree Expand file tree Collapse file tree 2 files changed +55
-0
lines changed
boards/arduino/portenta_h7 Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change 87
87
88
88
&i2c1 {
89
89
status = "okay";
90
+
91
+ pf1550: pmic@8 {
92
+ status = "okay";
93
+ reg = <0x8>;
94
+ compatible = "nxp,pf1550";
95
+
96
+ pmic_regulators: regulators {
97
+ status = "okay";
98
+ compatible = "nxp,pf1550-regulator";
99
+ pf1550_sw1: BUCK1 {
100
+ regulator-init-microvolt = <3000000>;
101
+ regulator-boot-on;
102
+ };
103
+ pf1550_sw2: BUCK2 {
104
+ regulator-init-microvolt = <3300000>;
105
+ regulator-boot-on;
106
+ };
107
+ pf1550_sw3: BUCK3 {
108
+ regulator-init-microvolt = <3300000>;
109
+ regulator-init-microamp = <2000000>;
110
+ regulator-boot-on;
111
+ };
112
+ pf1550_ldo1: LDO1 {
113
+ regulator-init-microvolt = <1000000>;
114
+ regulator-boot-on;
115
+ };
116
+ pf1550_ldo2: LDO2 {
117
+ regulator-init-microvolt = <1800000>;
118
+ regulator-boot-on;
119
+ };
120
+ pf1550_ldo3: LDO3 {
121
+ regulator-init-microvolt = <1200000>;
122
+ regulator-boot-on;
123
+ };
124
+ };
125
+
126
+ pmic_charger: charger {
127
+ status = "okay";
128
+ compatible = "nxp,pf1550-charger";
129
+ constant-charge-current-max-microamp = <100000>;
130
+ vbus-current-limit-microamp = <1500000>;
131
+ system-voltage-min-threshold-microvolt = <3500000>;
132
+ constant-charge-voltage-max-microvolt = <4200000>;
133
+ thermistor-monitoring-mode = "thermistor";
134
+ int-gpios = <&gpiok 0 0>;
135
+ };
136
+ };
90
137
};
91
138
92
139
/* Only one should be enabled */
Original file line number Diff line number Diff line change @@ -25,6 +25,14 @@ CONFIG_UART_LINE_CTRL=y
25
25
# Enable regulator
26
26
CONFIG_REGULATOR=y
27
27
CONFIG_REGULATOR_FIXED=y
28
+ CONFIG_REGULATOR_PF1550=y
29
+
30
+ # Enable charger
31
+ CONFIG_CHARGER=y
32
+ CONFIG_CHARGER_PF1550=y
28
33
29
34
# Enable USB Stack
30
35
CONFIG_USB_DEVICE_STACK=y
36
+
37
+ # Enable i2c driver
38
+ CONFIG_I2C=y
You can’t perform that action at this time.
0 commit comments