boards: npm6001_ek: add regulator entries

Add entries for the BUCK0/1/2/3 and LDO0/1 regulators. Note that voltage
min/max limits have been set to the hardware limits. They can be
adjusted using overlays in applications, depending on the consumer
circuit constraints.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-12-12 12:33:01 +01:00 committed by Carles Cufí
commit 5f8d59d69f
2 changed files with 39 additions and 0 deletions

View file

@ -6,6 +6,9 @@ if SHIELD_NPM6001_EK
config GPIO
default y
config REGULATOR
default y
config WATCHDOG
default y

View file

@ -18,5 +18,41 @@
npm6001_ek_wdt: watchdog {
compatible = "nordic,npm6001-wdt";
};
regulators {
compatible = "nordic,npm6001-regulator";
/* limits are set to min/max allowed values */
npm6001_ek_buck0: BUCK0 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
npm6001_ek_buck1: BUCK1 {
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1400000>;
};
npm6001_ek_buck2: BUCK2 {
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1400000>;
};
npm6001_ek_buck3: BUCK3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3300000>;
};
npm6001_ek_ldo0: LDO0 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
npm6001_ek_ldo1: LDO1 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
};
};
};