1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 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/mfd/rohm,bd 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71837-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: ROHM BD71837 Power Management Integrate !! 7 title: ROHM BD71837 Power Management Integrated Circuit bindings 8 8 9 maintainers: 9 maintainers: 10 - Matti Vaittinen <mazziesaccount@gmail.com> !! 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 11 11 12 description: | 12 description: | 13 BD71837MWV is programmable Power Management 13 BD71837MWV is programmable Power Management ICs for powering single-core, 14 dual-core, and quad-core SoCs such as NXP-i. 14 dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is optimized for low 15 BOM cost and compact solution footprint. BD7 15 BOM cost and compact solution footprint. BD71837MWV integrates 8 Buck 16 regulators and 7 LDOs. 16 regulators and 7 LDOs. 17 Datasheet for BD71837 is available at 17 Datasheet for BD71837 is available at 18 https://www.rohm.com/products/power-manageme 18 https://www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applications/nxp-imx/bd71837amwv-product 19 19 20 properties: 20 properties: 21 compatible: 21 compatible: 22 const: rohm,bd71837 22 const: rohm,bd71837 23 23 24 reg: 24 reg: 25 description: 25 description: 26 I2C slave address. 26 I2C slave address. 27 maxItems: 1 27 maxItems: 1 28 28 29 interrupts: 29 interrupts: 30 maxItems: 1 30 maxItems: 1 31 31 32 clocks: 32 clocks: 33 maxItems: 1 33 maxItems: 1 34 34 35 clock-names: << 36 const: osc << 37 << 38 "#clock-cells": 35 "#clock-cells": 39 const: 0 36 const: 0 40 37 41 clock-output-names: << 42 const: pmic_clk << 43 << 44 # The BD718x7 supports two different HW states 38 # The BD718x7 supports two different HW states as reset target states. States 45 # are called as SNVS and READY. At READY state 39 # are called as SNVS and READY. At READY state all the PMIC power outputs go 46 # down and OTP is reload. At the SNVS state al 40 # down and OTP is reload. At the SNVS state all other logic and external 47 # devices apart from the SNVS power domain are 41 # devices apart from the SNVS power domain are shut off. Please refer to NXP 48 # i.MX8 documentation for further information 42 # i.MX8 documentation for further information regarding SNVS state. When a 49 # reset is done via SNVS state the PMIC OTP da 43 # reset is done via SNVS state the PMIC OTP data is not reload. This causes 50 # power outputs that have been under SW contro 44 # power outputs that have been under SW control to stay down when reset has 51 # switched power state to SNVS. If reset is do 45 # switched power state to SNVS. If reset is done via READY state the power 52 # outputs will be returned to HW control by OT 46 # outputs will be returned to HW control by OTP loading. Thus the reset 53 # target state is set to READY by default. If 47 # target state is set to READY by default. If SNVS state is used the boot 54 # crucial regulators must have the regulator-a 48 # crucial regulators must have the regulator-always-on and regulator-boot-on 55 # properties set in regulator node. 49 # properties set in regulator node. 56 50 57 rohm,reset-snvs-powered: 51 rohm,reset-snvs-powered: 58 description: | 52 description: | 59 Transfer PMIC to SNVS state at reset 53 Transfer PMIC to SNVS state at reset 60 type: boolean 54 type: boolean 61 55 62 # Configure the "short press" and "long press" 56 # Configure the "short press" and "long press" timers for the power button. 63 # Values are rounded to what hardware supports 57 # Values are rounded to what hardware supports 64 # Short-press: 58 # Short-press: 65 # Shortest being 10ms, next 500ms and then m 59 # Shortest being 10ms, next 500ms and then multiple of 500ms up to 7,5s 66 # Long-press: 60 # Long-press: 67 # Shortest being 10ms, next 1000ms and then 61 # Shortest being 10ms, next 1000ms and then multiple of 1000ms up to 15s 68 # If these properties are not present the exis 62 # If these properties are not present the existing configuration (from 69 # bootloader or OTP) is not touched. 63 # bootloader or OTP) is not touched. 70 64 71 rohm,short-press-ms: 65 rohm,short-press-ms: 72 description: 66 description: 73 Short press duration in milliseconds 67 Short press duration in milliseconds 74 enum: 68 enum: 75 - 10 69 - 10 76 - 500 70 - 500 77 - 1000 71 - 1000 78 - 1500 72 - 1500 79 - 2000 73 - 2000 80 - 2500 74 - 2500 81 - 3000 75 - 3000 82 - 3500 76 - 3500 83 - 4000 77 - 4000 84 - 4500 78 - 4500 85 - 5000 79 - 5000 86 - 5500 80 - 5500 87 - 6000 81 - 6000 88 - 6500 82 - 6500 89 - 7000 83 - 7000 90 84 91 rohm,long-press-ms: 85 rohm,long-press-ms: 92 description: 86 description: 93 Long press duration in milliseconds 87 Long press duration in milliseconds 94 enum: 88 enum: 95 - 10 89 - 10 96 - 1000 90 - 1000 97 - 2000 91 - 2000 98 - 3000 92 - 3000 99 - 4000 93 - 4000 100 - 5000 94 - 5000 101 - 6000 95 - 6000 102 - 7000 96 - 7000 103 - 8000 97 - 8000 104 - 9000 98 - 9000 105 - 10000 99 - 10000 106 - 11000 100 - 11000 107 - 12000 101 - 12000 108 - 13000 102 - 13000 109 - 14000 103 - 14000 110 104 111 regulators: 105 regulators: 112 $ref: /schemas/regulator/rohm,bd71837-regu !! 106 $ref: ../regulator/rohm,bd71837-regulator.yaml 113 description: 107 description: 114 List of child nodes that specify the reg 108 List of child nodes that specify the regulators. 115 109 116 required: 110 required: 117 - compatible 111 - compatible 118 - reg 112 - reg 119 - interrupts 113 - interrupts 120 - clocks 114 - clocks 121 - "#clock-cells" 115 - "#clock-cells" 122 - regulators 116 - regulators 123 117 124 additionalProperties: false 118 additionalProperties: false 125 119 126 examples: 120 examples: 127 - | 121 - | 128 #include <dt-bindings/interrupt-controller 122 #include <dt-bindings/interrupt-controller/irq.h> 129 #include <dt-bindings/leds/common.h> 123 #include <dt-bindings/leds/common.h> 130 124 131 i2c { 125 i2c { 132 #address-cells = <1>; 126 #address-cells = <1>; 133 #size-cells = <0>; 127 #size-cells = <0>; 134 pmic: pmic@4b { 128 pmic: pmic@4b { 135 compatible = "rohm,bd71837"; 129 compatible = "rohm,bd71837"; 136 reg = <0x4b>; 130 reg = <0x4b>; 137 interrupt-parent = <&gpio1>; 131 interrupt-parent = <&gpio1>; 138 interrupts = <29 IRQ_TYPE_LEVEL_LO 132 interrupts = <29 IRQ_TYPE_LEVEL_LOW>; 139 #clock-cells = <0>; 133 #clock-cells = <0>; 140 clocks = <&osc 0>; 134 clocks = <&osc 0>; 141 rohm,reset-snvs-powered; 135 rohm,reset-snvs-powered; 142 rohm,short-press-ms = <10>; 136 rohm,short-press-ms = <10>; 143 rohm,long-press-ms = <2000>; 137 rohm,long-press-ms = <2000>; 144 138 145 regulators { 139 regulators { 146 buck1: BUCK1 { 140 buck1: BUCK1 { 147 regulator-name = "buck1"; 141 regulator-name = "buck1"; 148 regulator-min-microvolt = 142 regulator-min-microvolt = <700000>; 149 regulator-max-microvolt = 143 regulator-max-microvolt = <1300000>; 150 regulator-boot-on; 144 regulator-boot-on; 151 regulator-always-on; 145 regulator-always-on; 152 regulator-ramp-delay = <12 146 regulator-ramp-delay = <1250>; 153 rohm,dvs-run-voltage = <90 147 rohm,dvs-run-voltage = <900000>; 154 rohm,dvs-idle-voltage = <8 148 rohm,dvs-idle-voltage = <850000>; 155 rohm,dvs-suspend-voltage = 149 rohm,dvs-suspend-voltage = <800000>; 156 }; 150 }; 157 buck2: BUCK2 { 151 buck2: BUCK2 { 158 regulator-name = "buck2"; 152 regulator-name = "buck2"; 159 regulator-min-microvolt = 153 regulator-min-microvolt = <700000>; 160 regulator-max-microvolt = 154 regulator-max-microvolt = <1300000>; 161 regulator-boot-on; 155 regulator-boot-on; 162 regulator-always-on; 156 regulator-always-on; 163 regulator-ramp-delay = <12 157 regulator-ramp-delay = <1250>; 164 rohm,dvs-run-voltage = <10 158 rohm,dvs-run-voltage = <1000000>; 165 rohm,dvs-idle-voltage = <9 159 rohm,dvs-idle-voltage = <900000>; 166 }; 160 }; 167 buck3: BUCK3 { 161 buck3: BUCK3 { 168 regulator-name = "buck3"; 162 regulator-name = "buck3"; 169 regulator-min-microvolt = 163 regulator-min-microvolt = <700000>; 170 regulator-max-microvolt = 164 regulator-max-microvolt = <1300000>; 171 regulator-boot-on; 165 regulator-boot-on; 172 rohm,dvs-run-voltage = <10 166 rohm,dvs-run-voltage = <1000000>; 173 }; 167 }; 174 buck4: BUCK4 { 168 buck4: BUCK4 { 175 regulator-name = "buck4"; 169 regulator-name = "buck4"; 176 regulator-min-microvolt = 170 regulator-min-microvolt = <700000>; 177 regulator-max-microvolt = 171 regulator-max-microvolt = <1300000>; 178 regulator-boot-on; 172 regulator-boot-on; 179 rohm,dvs-run-voltage = <10 173 rohm,dvs-run-voltage = <1000000>; 180 }; 174 }; 181 buck5: BUCK5 { 175 buck5: BUCK5 { 182 regulator-name = "buck5"; 176 regulator-name = "buck5"; 183 regulator-min-microvolt = 177 regulator-min-microvolt = <700000>; 184 regulator-max-microvolt = 178 regulator-max-microvolt = <1350000>; 185 regulator-boot-on; 179 regulator-boot-on; 186 }; 180 }; 187 buck6: BUCK6 { 181 buck6: BUCK6 { 188 regulator-name = "buck6"; 182 regulator-name = "buck6"; 189 regulator-min-microvolt = 183 regulator-min-microvolt = <3000000>; 190 regulator-max-microvolt = 184 regulator-max-microvolt = <3300000>; 191 regulator-boot-on; 185 regulator-boot-on; 192 }; 186 }; 193 buck7: BUCK7 { 187 buck7: BUCK7 { 194 regulator-name = "buck7"; 188 regulator-name = "buck7"; 195 regulator-min-microvolt = 189 regulator-min-microvolt = <1605000>; 196 regulator-max-microvolt = 190 regulator-max-microvolt = <1995000>; 197 regulator-boot-on; 191 regulator-boot-on; 198 }; 192 }; 199 buck8: BUCK8 { 193 buck8: BUCK8 { 200 regulator-name = "buck8"; 194 regulator-name = "buck8"; 201 regulator-min-microvolt = 195 regulator-min-microvolt = <800000>; 202 regulator-max-microvolt = 196 regulator-max-microvolt = <1400000>; 203 }; 197 }; 204 198 205 ldo1: LDO1 { 199 ldo1: LDO1 { 206 regulator-name = "ldo1"; 200 regulator-name = "ldo1"; 207 regulator-min-microvolt = 201 regulator-min-microvolt = <3000000>; 208 regulator-max-microvolt = 202 regulator-max-microvolt = <3300000>; 209 regulator-boot-on; 203 regulator-boot-on; 210 }; 204 }; 211 ldo2: LDO2 { 205 ldo2: LDO2 { 212 regulator-name = "ldo2"; 206 regulator-name = "ldo2"; 213 regulator-min-microvolt = 207 regulator-min-microvolt = <900000>; 214 regulator-max-microvolt = 208 regulator-max-microvolt = <900000>; 215 regulator-boot-on; 209 regulator-boot-on; 216 }; 210 }; 217 ldo3: LDO3 { 211 ldo3: LDO3 { 218 regulator-name = "ldo3"; 212 regulator-name = "ldo3"; 219 regulator-min-microvolt = 213 regulator-min-microvolt = <1800000>; 220 regulator-max-microvolt = 214 regulator-max-microvolt = <3300000>; 221 }; 215 }; 222 ldo4: LDO4 { 216 ldo4: LDO4 { 223 regulator-name = "ldo4"; 217 regulator-name = "ldo4"; 224 regulator-min-microvolt = 218 regulator-min-microvolt = <900000>; 225 regulator-max-microvolt = 219 regulator-max-microvolt = <1800000>; 226 }; 220 }; 227 ldo5: LDO5 { 221 ldo5: LDO5 { 228 regulator-name = "ldo5"; 222 regulator-name = "ldo5"; 229 regulator-min-microvolt = 223 regulator-min-microvolt = <1800000>; 230 regulator-max-microvolt = 224 regulator-max-microvolt = <3300000>; 231 }; 225 }; 232 ldo6: LDO6 { 226 ldo6: LDO6 { 233 regulator-name = "ldo6"; 227 regulator-name = "ldo6"; 234 regulator-min-microvolt = 228 regulator-min-microvolt = <900000>; 235 regulator-max-microvolt = 229 regulator-max-microvolt = <1800000>; 236 }; 230 }; 237 ldo7_reg: LDO7 { 231 ldo7_reg: LDO7 { 238 regulator-name = "ldo7"; 232 regulator-name = "ldo7"; 239 regulator-min-microvolt = 233 regulator-min-microvolt = <1800000>; 240 regulator-max-microvolt = 234 regulator-max-microvolt = <3300000>; 241 }; 235 }; 242 }; 236 }; 243 }; 237 }; 244 }; 238 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.