blob: e500c05727b8dac3f4c63d49213467b1560dad88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/*
* Walter-specific application-level DT additions.
*
* Walter has a MOSFET on GPIO0 (active-low) that gates the on-board 3.3V
* output rail. The rail is OFF at reset; any external sensor wired to V3.3
* is unpowered until something asserts this GPIO. Modeled as a regulator-fixed
* with regulator-boot-on so Zephyr's regulator framework enables it during
* kernel init, before driver init runs.
*/
/ {
v3_3_regulator: v3_3-regulator {
compatible = "regulator-fixed";
regulator-name = "walter-3v3-output";
enable-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
regulator-boot-on;
regulator-always-on;
};
};
|