0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmic.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: ROHM BD71847 and BD71850 Power Management Integrated Circuit bindings
0008
0009 maintainers:
0010 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
0011
0012 description: |
0013 BD71847AMWV and BD71850MWV are programmable Power Management ICs for powering
0014 single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is
0015 optimized for low BOM cost and compact solution footprint. BD71847MWV and
0016 BD71850MWV integrate 6 Buck regulators and 6 LDOs.
0017 Datasheets are available at
0018 https://www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applications/nxp-imx/bd71847amwv-product
0019 https://www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applications/nxp-imx/bd71850mwv-product
0020
0021 properties:
0022 compatible:
0023 enum:
0024 - rohm,bd71847
0025 - rohm,bd71850
0026
0027 reg:
0028 description:
0029 I2C slave address.
0030 maxItems: 1
0031
0032 interrupts:
0033 maxItems: 1
0034
0035 clocks:
0036 maxItems: 1
0037
0038 "#clock-cells":
0039 const: 0
0040
0041 clock-output-names:
0042 maxItems: 1
0043
0044 # The BD71847 abd BD71850 support two different HW states as reset target
0045 # states. States are called as SNVS and READY. At READY state all the PMIC
0046 # power outputs go down and OTP is reload. At the SNVS state all other logic
0047 # and external devices apart from the SNVS power domain are shut off. Please
0048 # refer to NXP i.MX8 documentation for further information regarding SNVS
0049 # state. When a reset is done via SNVS state the PMIC OTP data is not reload.
0050 # This causes power outputs that have been under SW control to stay down when
0051 # reset has switched power state to SNVS. If reset is done via READY state the
0052 # power outputs will be returned to HW control by OTP loading. Thus the reset
0053 # target state is set to READY by default. If SNVS state is used the boot
0054 # crucial regulators must have the regulator-always-on and regulator-boot-on
0055 # properties set in regulator node.
0056
0057 rohm,reset-snvs-powered:
0058 description:
0059 Transfer PMIC to SNVS state at reset.
0060 type: boolean
0061
0062 # Configure the "short press" and "long press" timers for the power button.
0063 # Values are rounded to what hardware supports
0064 # Short-press:
0065 # Shortest being 10ms, next 500ms and then multiple of 500ms up to 7,5s
0066 # Long-press:
0067 # Shortest being 10ms, next 1000ms and then multiple of 1000ms up to 15s
0068 # If these properties are not present the existing # configuration (from
0069 # bootloader or OTP) is not touched.
0070
0071 rohm,short-press-ms:
0072 description:
0073 Short press duration in milliseconds
0074 enum:
0075 - 10
0076 - 500
0077 - 1000
0078 - 1500
0079 - 2000
0080 - 2500
0081 - 3000
0082 - 3500
0083 - 4000
0084 - 4500
0085 - 5000
0086 - 5500
0087 - 6000
0088 - 6500
0089 - 7000
0090 - 7500
0091
0092 rohm,long-press-ms:
0093 description:
0094 Long press duration in milliseconds
0095 enum:
0096 - 10
0097 - 1000
0098 - 2000
0099 - 3000
0100 - 4000
0101 - 5000
0102 - 6000
0103 - 7000
0104 - 8000
0105 - 9000
0106 - 10000
0107 - 11000
0108 - 12000
0109 - 13000
0110 - 14000
0111 - 15000
0112
0113 regulators:
0114 $ref: ../regulator/rohm,bd71847-regulator.yaml
0115 description:
0116 List of child nodes that specify the regulators.
0117
0118 required:
0119 - compatible
0120 - reg
0121 - interrupts
0122 - regulators
0123
0124 additionalProperties: false
0125
0126 dependencies:
0127 '#clock-cells': [clocks]
0128 clocks: ['#clock-cells']
0129
0130 examples:
0131 - |
0132 #include <dt-bindings/interrupt-controller/irq.h>
0133 #include <dt-bindings/leds/common.h>
0134
0135 i2c {
0136 #address-cells = <1>;
0137 #size-cells = <0>;
0138 pmic: pmic@4b {
0139 compatible = "rohm,bd71847";
0140 reg = <0x4b>;
0141 interrupt-parent = <&gpio1>;
0142 interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
0143 #clock-cells = <0>;
0144 clocks = <&osc 0>;
0145 rohm,reset-snvs-powered;
0146 rohm,short-press-ms = <10>;
0147 rohm,long-press-ms = <2000>;
0148
0149 regulators {
0150 buck1: BUCK1 {
0151 regulator-name = "buck1";
0152 regulator-min-microvolt = <700000>;
0153 regulator-max-microvolt = <1300000>;
0154 regulator-boot-on;
0155 regulator-always-on;
0156 regulator-ramp-delay = <1250>;
0157 rohm,dvs-run-voltage = <900000>;
0158 rohm,dvs-idle-voltage = <850000>;
0159 rohm,dvs-suspend-voltage = <800000>;
0160 };
0161 buck2: BUCK2 {
0162 regulator-name = "buck2";
0163 regulator-min-microvolt = <700000>;
0164 regulator-max-microvolt = <1300000>;
0165 regulator-boot-on;
0166 regulator-always-on;
0167 regulator-ramp-delay = <1250>;
0168 rohm,dvs-run-voltage = <1000000>;
0169 rohm,dvs-idle-voltage = <900000>;
0170 };
0171 buck3: BUCK3 {
0172 regulator-name = "buck3";
0173 regulator-min-microvolt = <550000>;
0174 regulator-max-microvolt = <1350000>;
0175 regulator-boot-on;
0176 };
0177 buck4: BUCK4 {
0178 regulator-name = "buck4";
0179 regulator-min-microvolt = <2600000>;
0180 regulator-max-microvolt = <3300000>;
0181 regulator-boot-on;
0182 };
0183 buck5: BUCK5 {
0184 regulator-name = "buck5";
0185 regulator-min-microvolt = <1605000>;
0186 regulator-max-microvolt = <1995000>;
0187 regulator-boot-on;
0188 };
0189 buck8: BUCK6 {
0190 regulator-name = "buck6";
0191 regulator-min-microvolt = <800000>;
0192 regulator-max-microvolt = <1400000>;
0193 };
0194
0195 ldo1: LDO1 {
0196 regulator-name = "ldo1";
0197 regulator-min-microvolt = <1600000>;
0198 regulator-max-microvolt = <3300000>;
0199 regulator-boot-on;
0200 };
0201 ldo2: LDO2 {
0202 regulator-name = "ldo2";
0203 regulator-min-microvolt = <800000>;
0204 regulator-max-microvolt = <900000>;
0205 regulator-boot-on;
0206 };
0207 ldo3: LDO3 {
0208 regulator-name = "ldo3";
0209 regulator-min-microvolt = <1800000>;
0210 regulator-max-microvolt = <3300000>;
0211 };
0212 ldo4: LDO4 {
0213 regulator-name = "ldo4";
0214 regulator-min-microvolt = <900000>;
0215 regulator-max-microvolt = <1800000>;
0216 };
0217 ldo5: LDO5 {
0218 regulator-name = "ldo5";
0219 regulator-min-microvolt = <800000>;
0220 regulator-max-microvolt = <3300000>;
0221 };
0222 ldo6: LDO6 {
0223 regulator-name = "ldo6";
0224 regulator-min-microvolt = <900000>;
0225 regulator-max-microvolt = <1800000>;
0226 };
0227 };
0228 };
0229 };