1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/regulator/p 4 $id: http://devicetree.org/schemas/regulator/pfuze100.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: PFUZE100 family of regulators 7 title: PFUZE100 family of regulators 8 8 9 maintainers: 9 maintainers: 10 - Robin Gong <yibin.gong@nxp.com> 10 - Robin Gong <yibin.gong@nxp.com> 11 11 12 description: | 12 description: | 13 The valid names for regulators are: 13 The valid names for regulators are: 14 --PFUZE100 14 --PFUZE100 15 sw1ab,sw1c,sw2,sw3a,sw3b,sw4,swbst,vsnvs,vre 15 sw1ab,sw1c,sw2,sw3a,sw3b,sw4,swbst,vsnvs,vrefddr,vgen1~vgen6 16 --PFUZE200 16 --PFUZE200 17 sw1ab,sw2,sw3a,sw3b,swbst,vsnvs,vrefddr,vgen 17 sw1ab,sw2,sw3a,sw3b,swbst,vsnvs,vrefddr,vgen1~vgen6,coin 18 --PFUZE3000 18 --PFUZE3000 19 sw1a,sw1b,sw2,sw3,swbst,vsnvs,vrefddr,vldo1, 19 sw1a,sw1b,sw2,sw3,swbst,vsnvs,vrefddr,vldo1,vldo2,vccsd,v33,vldo3,vldo4 20 --PFUZE3001 20 --PFUZE3001 21 sw1,sw2,sw3,vsnvs,vldo1,vldo2,vccsd,v33,vldo 21 sw1,sw2,sw3,vsnvs,vldo1,vldo2,vccsd,v33,vldo3,vldo4 22 22 23 Each regulator is defined using the standard 23 Each regulator is defined using the standard binding for regulators. 24 24 25 properties: 25 properties: 26 $nodename: 26 $nodename: 27 pattern: "^pmic@[0-9]$" 27 pattern: "^pmic@[0-9]$" 28 28 29 compatible: 29 compatible: 30 enum: 30 enum: 31 - fsl,pfuze100 31 - fsl,pfuze100 32 - fsl,pfuze200 32 - fsl,pfuze200 33 - fsl,pfuze3000 33 - fsl,pfuze3000 34 - fsl,pfuze3001 34 - fsl,pfuze3001 35 35 36 reg: 36 reg: 37 maxItems: 1 37 maxItems: 1 38 38 39 interrupts: << 40 maxItems: 1 << 41 << 42 fsl,pfuze-support-disable-sw: 39 fsl,pfuze-support-disable-sw: 43 $ref: /schemas/types.yaml#/definitions/fla 40 $ref: /schemas/types.yaml#/definitions/flag 44 description: | 41 description: | 45 Boolean, if present disable all unused s 42 Boolean, if present disable all unused switch regulators to save power 46 consumption. Attention, ensure that all 43 consumption. Attention, ensure that all important regulators 47 (e.g. DDR ref, DDR supply) has set the " 44 (e.g. DDR ref, DDR supply) has set the "regulator-always-on" property. 48 If not present, the switched regulators 45 If not present, the switched regulators are always on and can't be 49 disabled. This binding is a workaround t 46 disabled. This binding is a workaround to keep backward compatibility 50 with old dtb's which rely on the fact th 47 with old dtb's which rely on the fact that the switched regulators are 51 always on and don't mark them explicit a 48 always on and don't mark them explicit as "regulator-always-on". 52 49 53 fsl,pmic-stby-poweroff: 50 fsl,pmic-stby-poweroff: 54 $ref: /schemas/types.yaml#/definitions/fla 51 $ref: /schemas/types.yaml#/definitions/flag 55 description: | 52 description: | 56 if present, configure the PMIC to shutdo 53 if present, configure the PMIC to shutdown all 57 power rails when PMIC_STBY_REQ line is a 54 power rails when PMIC_STBY_REQ line is asserted during the power off sequence. 58 Use this option if the SoC should be pow 55 Use this option if the SoC should be powered off by external power management 59 IC (PMIC) on PMIC_STBY_REQ signal. 56 IC (PMIC) on PMIC_STBY_REQ signal. 60 As opposite to PMIC_STBY_REQ boards can 57 As opposite to PMIC_STBY_REQ boards can implement PMIC_ON_REQ signal. 61 58 62 regulators: 59 regulators: 63 type: object 60 type: object 64 description: | 61 description: | 65 list of regulators provided by this cont 62 list of regulators provided by this controller. 66 63 67 patternProperties: 64 patternProperties: 68 "^sw([1-4]|[1-4][a-c]|[1-4][a-c][a-c])$" 65 "^sw([1-4]|[1-4][a-c]|[1-4][a-c][a-c])$": 69 $ref: regulator.yaml# !! 66 $ref: "regulator.yaml#" 70 type: object 67 type: object 71 unevaluatedProperties: false << 72 68 73 "^vgen[1-6]$": 69 "^vgen[1-6]$": 74 $ref: regulator.yaml# !! 70 $ref: "regulator.yaml#" 75 type: object << 76 unevaluatedProperties: false << 77 << 78 "^vldo[1-4]$": << 79 $ref: regulator.yaml# << 80 type: object 71 type: object 81 unevaluatedProperties: false << 82 72 83 "^(vsnvs|vref|vrefddr|swbst|coin|v33|vcc !! 73 "^(vsnvs|vref|vrefddr|swbst|coin)$": 84 $ref: regulator.yaml# !! 74 $ref: "regulator.yaml#" 85 type: object 75 type: object 86 unevaluatedProperties: false << 87 76 88 additionalProperties: false 77 additionalProperties: false 89 78 90 required: 79 required: 91 - compatible 80 - compatible 92 - reg 81 - reg 93 82 94 additionalProperties: false 83 additionalProperties: false 95 84 96 examples: 85 examples: 97 - | 86 - | 98 i2c { 87 i2c { 99 #address-cells = <1>; 88 #address-cells = <1>; 100 #size-cells = <0>; 89 #size-cells = <0>; 101 90 102 pmic@8 { 91 pmic@8 { 103 compatible = "fsl,pfuze100"; 92 compatible = "fsl,pfuze100"; 104 reg = <0x08>; 93 reg = <0x08>; 105 94 106 regulators { 95 regulators { 107 sw1a_reg: sw1ab { 96 sw1a_reg: sw1ab { 108 regulator-min-microvolt = 97 regulator-min-microvolt = <300000>; 109 regulator-max-microvolt = 98 regulator-max-microvolt = <1875000>; 110 regulator-boot-on; 99 regulator-boot-on; 111 regulator-always-on; 100 regulator-always-on; 112 regulator-ramp-delay = <62 101 regulator-ramp-delay = <6250>; 113 }; 102 }; 114 103 115 sw1c_reg: sw1c { 104 sw1c_reg: sw1c { 116 regulator-min-microvolt = 105 regulator-min-microvolt = <300000>; 117 regulator-max-microvolt = 106 regulator-max-microvolt = <1875000>; 118 regulator-boot-on; 107 regulator-boot-on; 119 regulator-always-on; 108 regulator-always-on; 120 }; 109 }; 121 110 122 sw2_reg: sw2 { 111 sw2_reg: sw2 { 123 regulator-min-microvolt = 112 regulator-min-microvolt = <800000>; 124 regulator-max-microvolt = 113 regulator-max-microvolt = <3300000>; 125 regulator-boot-on; 114 regulator-boot-on; 126 regulator-always-on; 115 regulator-always-on; 127 }; 116 }; 128 117 129 sw3a_reg: sw3a { 118 sw3a_reg: sw3a { 130 regulator-min-microvolt = 119 regulator-min-microvolt = <400000>; 131 regulator-max-microvolt = 120 regulator-max-microvolt = <1975000>; 132 regulator-boot-on; 121 regulator-boot-on; 133 regulator-always-on; 122 regulator-always-on; 134 }; 123 }; 135 124 136 sw3b_reg: sw3b { 125 sw3b_reg: sw3b { 137 regulator-min-microvolt = 126 regulator-min-microvolt = <400000>; 138 regulator-max-microvolt = 127 regulator-max-microvolt = <1975000>; 139 regulator-boot-on; 128 regulator-boot-on; 140 regulator-always-on; 129 regulator-always-on; 141 }; 130 }; 142 131 143 sw4_reg: sw4 { 132 sw4_reg: sw4 { 144 regulator-min-microvolt = 133 regulator-min-microvolt = <800000>; 145 regulator-max-microvolt = 134 regulator-max-microvolt = <3300000>; 146 }; 135 }; 147 136 148 swbst_reg: swbst { 137 swbst_reg: swbst { 149 regulator-min-microvolt = 138 regulator-min-microvolt = <5000000>; 150 regulator-max-microvolt = 139 regulator-max-microvolt = <5150000>; 151 }; 140 }; 152 141 153 snvs_reg: vsnvs { 142 snvs_reg: vsnvs { 154 regulator-min-microvolt = 143 regulator-min-microvolt = <1000000>; 155 regulator-max-microvolt = 144 regulator-max-microvolt = <3000000>; 156 regulator-boot-on; 145 regulator-boot-on; 157 regulator-always-on; 146 regulator-always-on; 158 }; 147 }; 159 148 160 vref_reg: vrefddr { 149 vref_reg: vrefddr { 161 regulator-boot-on; 150 regulator-boot-on; 162 regulator-always-on; 151 regulator-always-on; 163 }; 152 }; 164 153 165 vgen1_reg: vgen1 { 154 vgen1_reg: vgen1 { 166 regulator-min-microvolt = 155 regulator-min-microvolt = <800000>; 167 regulator-max-microvolt = 156 regulator-max-microvolt = <1550000>; 168 }; 157 }; 169 158 170 vgen2_reg: vgen2 { 159 vgen2_reg: vgen2 { 171 regulator-min-microvolt = 160 regulator-min-microvolt = <800000>; 172 regulator-max-microvolt = 161 regulator-max-microvolt = <1550000>; 173 }; 162 }; 174 163 175 vgen3_reg: vgen3 { 164 vgen3_reg: vgen3 { 176 regulator-min-microvolt = 165 regulator-min-microvolt = <1800000>; 177 regulator-max-microvolt = 166 regulator-max-microvolt = <3300000>; 178 }; 167 }; 179 168 180 vgen4_reg: vgen4 { 169 vgen4_reg: vgen4 { 181 regulator-min-microvolt = 170 regulator-min-microvolt = <1800000>; 182 regulator-max-microvolt = 171 regulator-max-microvolt = <3300000>; 183 regulator-always-on; 172 regulator-always-on; 184 }; 173 }; 185 174 186 vgen5_reg: vgen5 { 175 vgen5_reg: vgen5 { 187 regulator-min-microvolt = 176 regulator-min-microvolt = <1800000>; 188 regulator-max-microvolt = 177 regulator-max-microvolt = <3300000>; 189 regulator-always-on; 178 regulator-always-on; 190 }; 179 }; 191 180 192 vgen6_reg: vgen6 { 181 vgen6_reg: vgen6 { 193 regulator-min-microvolt = 182 regulator-min-microvolt = <1800000>; 194 regulator-max-microvolt = 183 regulator-max-microvolt = <3300000>; 195 regulator-always-on; 184 regulator-always-on; 196 }; 185 }; 197 }; 186 }; 198 }; 187 }; 199 }; 188 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.