1cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2cb7aa33aSEmmanuel Vadot%YAML 1.2 3cb7aa33aSEmmanuel Vadot--- 4cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/regulator/active-semi,act8865.yaml# 5cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6cb7aa33aSEmmanuel Vadot 7cb7aa33aSEmmanuel Vadottitle: Active-semi ACT8865 regulator 8cb7aa33aSEmmanuel Vadot 9cb7aa33aSEmmanuel Vadotmaintainers: 10cb7aa33aSEmmanuel Vadot - Paul Cercueil <paul@crapouillou.net> 11cb7aa33aSEmmanuel Vadot 12cb7aa33aSEmmanuel Vadotproperties: 13cb7aa33aSEmmanuel Vadot compatible: 14cb7aa33aSEmmanuel Vadot const: active-semi,act8865 15cb7aa33aSEmmanuel Vadot 16cb7aa33aSEmmanuel Vadot reg: 17cb7aa33aSEmmanuel Vadot maxItems: 1 18cb7aa33aSEmmanuel Vadot 19cb7aa33aSEmmanuel Vadot system-power-controller: 20cb7aa33aSEmmanuel Vadot description: 21cb7aa33aSEmmanuel Vadot Indicates that the ACT8865 is responsible for powering OFF 22cb7aa33aSEmmanuel Vadot the system. 23cb7aa33aSEmmanuel Vadot type: boolean 24cb7aa33aSEmmanuel Vadot 25cb7aa33aSEmmanuel Vadot active-semi,vsel-high: 26cb7aa33aSEmmanuel Vadot description: 27cb7aa33aSEmmanuel Vadot Indicates the VSEL pin is high. If this property is missing, 28cb7aa33aSEmmanuel Vadot the VSEL pin is assumed to be low. 29cb7aa33aSEmmanuel Vadot type: boolean 30cb7aa33aSEmmanuel Vadot 31cb7aa33aSEmmanuel Vadot regulators: 32cb7aa33aSEmmanuel Vadot type: object 33cb7aa33aSEmmanuel Vadot additionalProperties: false 34cb7aa33aSEmmanuel Vadot 35cb7aa33aSEmmanuel Vadot properties: 36cb7aa33aSEmmanuel Vadot DCDC_REG1: 37cb7aa33aSEmmanuel Vadot type: object 38cb7aa33aSEmmanuel Vadot $ref: /schemas/regulator/regulator.yaml# 39cb7aa33aSEmmanuel Vadot unevaluatedProperties: false 40cb7aa33aSEmmanuel Vadot 41cb7aa33aSEmmanuel Vadot properties: 42cb7aa33aSEmmanuel Vadot vp1-supply: 43cb7aa33aSEmmanuel Vadot description: Handle to the VP1 input supply 44cb7aa33aSEmmanuel Vadot 45cb7aa33aSEmmanuel Vadot DCDC_REG2: 46cb7aa33aSEmmanuel Vadot type: object 47cb7aa33aSEmmanuel Vadot $ref: /schemas/regulator/regulator.yaml# 48cb7aa33aSEmmanuel Vadot unevaluatedProperties: false 49cb7aa33aSEmmanuel Vadot 50cb7aa33aSEmmanuel Vadot properties: 51cb7aa33aSEmmanuel Vadot vp2-supply: 52cb7aa33aSEmmanuel Vadot description: Handle to the VP2 input supply 53cb7aa33aSEmmanuel Vadot 54cb7aa33aSEmmanuel Vadot DCDC_REG3: 55cb7aa33aSEmmanuel Vadot type: object 56cb7aa33aSEmmanuel Vadot $ref: /schemas/regulator/regulator.yaml# 57cb7aa33aSEmmanuel Vadot unevaluatedProperties: false 58cb7aa33aSEmmanuel Vadot 59cb7aa33aSEmmanuel Vadot properties: 60cb7aa33aSEmmanuel Vadot vp3-supply: 61cb7aa33aSEmmanuel Vadot description: Handle to the VP3 input supply 62cb7aa33aSEmmanuel Vadot 63cb7aa33aSEmmanuel Vadot patternProperties: 64cb7aa33aSEmmanuel Vadot "^LDO_REG[1-2]$": 65cb7aa33aSEmmanuel Vadot type: object 66cb7aa33aSEmmanuel Vadot $ref: /schemas/regulator/regulator.yaml# 67cb7aa33aSEmmanuel Vadot unevaluatedProperties: false 68cb7aa33aSEmmanuel Vadot 69cb7aa33aSEmmanuel Vadot properties: 70cb7aa33aSEmmanuel Vadot inl45-supply: 71cb7aa33aSEmmanuel Vadot description: Handle to the INL45 input supply 72cb7aa33aSEmmanuel Vadot 73cb7aa33aSEmmanuel Vadot "^LDO_REG[3-4]$": 74cb7aa33aSEmmanuel Vadot type: object 75cb7aa33aSEmmanuel Vadot $ref: /schemas/regulator/regulator.yaml# 76cb7aa33aSEmmanuel Vadot unevaluatedProperties: false 77cb7aa33aSEmmanuel Vadot 78cb7aa33aSEmmanuel Vadot properties: 79cb7aa33aSEmmanuel Vadot inl67-supply: 80cb7aa33aSEmmanuel Vadot description: Handle to the INL67 input supply 81cb7aa33aSEmmanuel Vadot 82cb7aa33aSEmmanuel VadotadditionalProperties: false 83cb7aa33aSEmmanuel Vadot 84cb7aa33aSEmmanuel Vadotrequired: 85cb7aa33aSEmmanuel Vadot - reg 86cb7aa33aSEmmanuel Vadot - compatible 87cb7aa33aSEmmanuel Vadot - regulators 88cb7aa33aSEmmanuel Vadot 89cb7aa33aSEmmanuel Vadotexamples: 90cb7aa33aSEmmanuel Vadot - | 91cb7aa33aSEmmanuel Vadot #include <dt-bindings/regulator/active-semi,8865-regulator.h> 92cb7aa33aSEmmanuel Vadot 93*fac71e4eSEmmanuel Vadot i2c { 94cb7aa33aSEmmanuel Vadot #address-cells = <1>; 95cb7aa33aSEmmanuel Vadot #size-cells = <0>; 96cb7aa33aSEmmanuel Vadot 97cb7aa33aSEmmanuel Vadot pmic@5b { 98cb7aa33aSEmmanuel Vadot compatible = "active-semi,act8865"; 99cb7aa33aSEmmanuel Vadot reg = <0x5b>; 100cb7aa33aSEmmanuel Vadot active-semi,vsel-high; 101cb7aa33aSEmmanuel Vadot 102cb7aa33aSEmmanuel Vadot regulators { 103cb7aa33aSEmmanuel Vadot DCDC_REG1 { 104cb7aa33aSEmmanuel Vadot regulator-name = "VCC_1V8"; 105cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 106cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 107cb7aa33aSEmmanuel Vadot regulator-always-on; 108cb7aa33aSEmmanuel Vadot }; 109cb7aa33aSEmmanuel Vadot 110cb7aa33aSEmmanuel Vadot DCDC_REG2 { 111cb7aa33aSEmmanuel Vadot regulator-name = "VCC_1V2"; 112cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1100000>; 113cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1300000>; 114cb7aa33aSEmmanuel Vadot regulator-always-on; 115cb7aa33aSEmmanuel Vadot 116cb7aa33aSEmmanuel Vadot regulator-allowed-modes = <ACT8865_REGULATOR_MODE_FIXED>, 117cb7aa33aSEmmanuel Vadot <ACT8865_REGULATOR_MODE_LOWPOWER>; 118cb7aa33aSEmmanuel Vadot regulator-initial-mode = <ACT8865_REGULATOR_MODE_FIXED>; 119cb7aa33aSEmmanuel Vadot 120cb7aa33aSEmmanuel Vadot regulator-state-mem { 121cb7aa33aSEmmanuel Vadot regulator-on-in-suspend; 122cb7aa33aSEmmanuel Vadot regulator-suspend-min-microvolt = <1150000>; 123cb7aa33aSEmmanuel Vadot regulator-suspend-max-microvolt = <1150000>; 124cb7aa33aSEmmanuel Vadot regulator-changeable-in-suspend; 125cb7aa33aSEmmanuel Vadot regulator-mode = <ACT8865_REGULATOR_MODE_LOWPOWER>; 126cb7aa33aSEmmanuel Vadot }; 127cb7aa33aSEmmanuel Vadot }; 128cb7aa33aSEmmanuel Vadot 129cb7aa33aSEmmanuel Vadot DCDC_REG3 { 130cb7aa33aSEmmanuel Vadot regulator-name = "VCC_3V3"; 131cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 132cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 133cb7aa33aSEmmanuel Vadot regulator-always-on; 134cb7aa33aSEmmanuel Vadot }; 135cb7aa33aSEmmanuel Vadot 136cb7aa33aSEmmanuel Vadot LDO_REG1 { 137cb7aa33aSEmmanuel Vadot regulator-name = "VDDANA"; 138cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 139cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 140cb7aa33aSEmmanuel Vadot regulator-always-on; 141cb7aa33aSEmmanuel Vadot 142cb7aa33aSEmmanuel Vadot regulator-allowed-modes = <ACT8865_REGULATOR_MODE_NORMAL>, 143cb7aa33aSEmmanuel Vadot <ACT8865_REGULATOR_MODE_LOWPOWER>; 144cb7aa33aSEmmanuel Vadot regulator-initial-mode = <ACT8865_REGULATOR_MODE_NORMAL>; 145cb7aa33aSEmmanuel Vadot 146cb7aa33aSEmmanuel Vadot regulator-state-mem { 147cb7aa33aSEmmanuel Vadot regulator-off-in-suspend; 148cb7aa33aSEmmanuel Vadot }; 149cb7aa33aSEmmanuel Vadot }; 150cb7aa33aSEmmanuel Vadot 151cb7aa33aSEmmanuel Vadot LDO_REG2 { 152cb7aa33aSEmmanuel Vadot regulator-name = "FUSE_2V5"; 153cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <2500000>; 154cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <2500000>; 155cb7aa33aSEmmanuel Vadot }; 156cb7aa33aSEmmanuel Vadot }; 157cb7aa33aSEmmanuel Vadot }; 158cb7aa33aSEmmanuel Vadot }; 159