board: thingy53_nrf5340: Add option to set PMIC to PWM mode

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

Signed-off-by: Jan Zyczkowski <jan.zyczkowski@nordicsemi.no>
This commit is contained in:
Jan Zyczkowski 2022-01-21 15:31:05 +01:00 committed by Carles Cufí
commit c7295aa6a6

View file

@ -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 { vbatt {
compatible = "voltage-divider"; compatible = "voltage-divider";
io-channels = <&adc 2>; io-channels = <&adc 2>;