1/* 2 * Copyright (c) 2022 Nordic Semiconductor ASA 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6/ { 7 regulator: regulator { 8 compatible = "zephyr,fake-regulator"; 9 10 reg0: REG0 {}; 11 12 reg1: REG1 { 13 regulator-always-on; 14 }; 15 16 reg2: REG2 { 17 regulator-boot-on; 18 }; 19 20 reg3: REG3 { 21 regulator-min-microvolt = <100>; 22 regulator-max-microvolt = <200>; 23 regulator-min-microamp = <100>; 24 regulator-max-microamp = <200>; 25 regulator-allowed-modes = <1 10>; 26 regulator-initial-mode = <1>; 27 regulator-active-discharge = <1>; 28 }; 29 30 reg4: REG4 { 31 regulator-boot-off; 32 }; 33 34 reg5: REG5 { 35 regulator-boot-off; 36 fake-is-enabled-in-hardware; 37 }; 38 }; 39}; 40