1# Copyright (c), 2022 Nordic Semiconductor ASA
2# SPDX -License-Identifier: Apache-2.0
3
4description: |
5  Nordic nPM6001 PMIC
6
7  The PMIC has four buck converters and two LDOs. All need to be defined as
8  children nodes, strictly following the BUCK0..3, LDO0..1 node names. For
9  example:
10
11  pmic@70 {
12    reg = <0x70>;
13    ...
14    regulators {
15      compatible = "nordic,npm6001-regulator";
16
17      BUCK0 {
18        /* all properties for BUCK0 */
19      };
20      BUCK1 {
21        /* all properties for BUCK1 */
22      };
23      BUCK2 {
24        /* all properties for BUCK2 */
25      };
26      BUCK3 {
27        /* all properties for BUCK3 */
28      };
29      LDO0 {
30        /* all properties for LDO0 */
31      };
32      LDO1 {
33        /* all properties for LDO1 */
34      };
35    };
36  };
37
38compatible: "nordic,npm6001-regulator"
39
40include: base.yaml
41
42child-binding:
43  include:
44    - name: regulator.yaml
45      property-allowlist:
46        - regulator-always-on
47        - regulator-boot-on
48        - regulator-max-microamp
49        - regulator-min-microvolt
50        - regulator-max-microvolt
51        - regulator-allowed-modes
52        - regulator-initial-mode
53