1# Copyright (c), 2023 TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2# SPDX -License-Identifier: Apache-2.0
3
4description: |
5  RaspberryPi Pico core supply regurator
6
7compatible: "raspberrypi,core-supply-regulator"
8
9include:
10  - name: base.yaml
11  - name: regulator.yaml
12    property-allowlist:
13      - regulator-always-on
14      - regulator-boot-on
15      - regulator-min-microvolt
16      - regulator-max-microvolt
17      - regulator-allowed-modes
18      - regulator-initial-mode
19
20properties:
21  raspberrypi,brown-out-detection:
22    type: boolean
23    description:
24      Enable brown-out detection
25
26  raspberrypi,brown-out-threshold:
27    type: int
28    default: 860000
29    enum:
30      - 473000
31      - 516000
32      - 559000
33      - 602000
34      - 645000
35      - 688000
36      - 731000
37      - 774000
38      - 817000
39      - 860000
40      - 903000
41      - 946000
42      - 989000
43      - 1032000
44      - 1075000
45      - 1118000
46    description: |
47      Reset if the core voltage drops below this threshold for a particular time
48      (determined by the 'brown-out detection assertion delay').
49