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