Skip to content

Commit

Permalink
[nrf fromtree] board: thingy53_nrf5340: Add option to set PMIC to PWM…
Browse files Browse the repository at this point in the history
… mode

Add dts node for thingy53 board to forcibly set
PMIC to PWM mode by setting GPIO pin high.

Signed-off-by: Jan Zyczkowski <[email protected]>
(cherry picked from commit c7295aa)
  • Loading branch information
zycz authored and jfischer-no committed Mar 2, 2022
1 parent bf8b406 commit b05b8ad
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions boards/arm/thingy53_nrf5340/thingy53_nrf5340_common.dts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,15 @@
};
};

npm1100_force_pwm_mode: npm1100_force_pwm_mode {
compatible = "regulator-fixed-sync", "regulator-fixed";
label = "npm1100_force_pwm_mode";
regulator-name = "npm1100_force_pwm_mode";
enable-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
status = "disabled";
regulator-boot-on;
};

vbatt {
compatible = "voltage-divider";
io-channels = <&adc 2>;
Expand Down

0 comments on commit b05b8ad

Please sign in to comment.