xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/nxp,pf8x00-regulator.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/regulator/nxp,pf8x00-regulator.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: NXP PF8100/PF8121A/PF8200 PMIC regulators
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Jagan Teki <jagan@amarulasolutions.com>
115def4c47SEmmanuel Vadot  - Troy Kisky <troy.kisky@boundarydevices.com>
125def4c47SEmmanuel Vadot
135def4c47SEmmanuel Vadotdescription: |
145def4c47SEmmanuel Vadot  PF8100/PF8121A/PF8200 is a PMIC designed for highperformance consumer
155def4c47SEmmanuel Vadot  applications. It features seven high efficiency buck converters, four
165def4c47SEmmanuel Vadot  linear and one vsnvs regulators. It has built-in one time programmable
175def4c47SEmmanuel Vadot  fuse bank for device configurations.
185def4c47SEmmanuel Vadot
195def4c47SEmmanuel Vadotproperties:
205def4c47SEmmanuel Vadot  compatible:
215def4c47SEmmanuel Vadot    enum:
225def4c47SEmmanuel Vadot      - nxp,pf8100
235def4c47SEmmanuel Vadot      - nxp,pf8121a
245def4c47SEmmanuel Vadot      - nxp,pf8200
255def4c47SEmmanuel Vadot
265def4c47SEmmanuel Vadot  reg:
275def4c47SEmmanuel Vadot    maxItems: 1
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel Vadot  regulators:
305def4c47SEmmanuel Vadot    type: object
315def4c47SEmmanuel Vadot    description: |
325def4c47SEmmanuel Vadot      list of regulators provided by this controller
335def4c47SEmmanuel Vadot
345def4c47SEmmanuel Vadot    patternProperties:
355def4c47SEmmanuel Vadot      "^ldo[1-4]$":
365def4c47SEmmanuel Vadot        type: object
375def4c47SEmmanuel Vadot        $ref: regulator.yaml#
385def4c47SEmmanuel Vadot        description:
395def4c47SEmmanuel Vadot          Properties for single LDO regulator.
405def4c47SEmmanuel Vadot
415def4c47SEmmanuel Vadot        unevaluatedProperties: false
425def4c47SEmmanuel Vadot
435def4c47SEmmanuel Vadot      "^buck[1-7]$":
445def4c47SEmmanuel Vadot        type: object
455def4c47SEmmanuel Vadot        $ref: regulator.yaml#
465def4c47SEmmanuel Vadot        description:
475def4c47SEmmanuel Vadot          Properties for single BUCK regulator.
485def4c47SEmmanuel Vadot
495def4c47SEmmanuel Vadot        properties:
505def4c47SEmmanuel Vadot          nxp,ilim-ma:
51*fac71e4eSEmmanuel Vadot            $ref: /schemas/types.yaml#/definitions/uint32
525def4c47SEmmanuel Vadot            minimum: 2100
535def4c47SEmmanuel Vadot            maximum: 4500
545def4c47SEmmanuel Vadot            deprecated: true
555def4c47SEmmanuel Vadot            description:
565def4c47SEmmanuel Vadot              BUCK regulators current limit in mA.
575def4c47SEmmanuel Vadot              This property is deprecated, please use
585def4c47SEmmanuel Vadot              "regulator-max-microamp" instead.
595def4c47SEmmanuel Vadot
605def4c47SEmmanuel Vadot              Listed current limits in mA are,
615def4c47SEmmanuel Vadot              2100 (default)
625def4c47SEmmanuel Vadot              2600
635def4c47SEmmanuel Vadot              3000
645def4c47SEmmanuel Vadot              4500
655def4c47SEmmanuel Vadot
665def4c47SEmmanuel Vadot          nxp,phase-shift:
67*fac71e4eSEmmanuel Vadot            $ref: /schemas/types.yaml#/definitions/uint32
685def4c47SEmmanuel Vadot            default: 0
695def4c47SEmmanuel Vadot            enum: [ 0, 45, 90, 135, 180, 225, 270, 315 ]
705def4c47SEmmanuel Vadot            description:
715def4c47SEmmanuel Vadot              BUCK regulators phase shift control in degrees.
725def4c47SEmmanuel Vadot
735def4c47SEmmanuel Vadot        unevaluatedProperties: false
745def4c47SEmmanuel Vadot
755956d97fSEmmanuel Vadot    properties:
765956d97fSEmmanuel Vadot      vsnvs:
775def4c47SEmmanuel Vadot        type: object
785def4c47SEmmanuel Vadot        $ref: regulator.yaml#
795def4c47SEmmanuel Vadot        description:
805def4c47SEmmanuel Vadot          Properties for single VSNVS regulator.
815def4c47SEmmanuel Vadot
825def4c47SEmmanuel Vadot        unevaluatedProperties: false
835def4c47SEmmanuel Vadot
845def4c47SEmmanuel Vadot    additionalProperties: false
855def4c47SEmmanuel Vadot
865def4c47SEmmanuel Vadotrequired:
875def4c47SEmmanuel Vadot  - compatible
885def4c47SEmmanuel Vadot  - reg
895def4c47SEmmanuel Vadot  - regulators
905def4c47SEmmanuel Vadot
915def4c47SEmmanuel VadotadditionalProperties: false
925def4c47SEmmanuel Vadot
935def4c47SEmmanuel Vadotexamples:
945def4c47SEmmanuel Vadot  - |
95*fac71e4eSEmmanuel Vadot    i2c {
965def4c47SEmmanuel Vadot        #address-cells = <1>;
975def4c47SEmmanuel Vadot        #size-cells = <0>;
985def4c47SEmmanuel Vadot
995def4c47SEmmanuel Vadot        pmic@8 {
1005def4c47SEmmanuel Vadot            compatible = "nxp,pf8100";
1015def4c47SEmmanuel Vadot            reg = <0x08>;
1025def4c47SEmmanuel Vadot
1035def4c47SEmmanuel Vadot            regulators {
1045def4c47SEmmanuel Vadot                reg_ldo1: ldo1 {
1055def4c47SEmmanuel Vadot                    regulator-always-on;
1065def4c47SEmmanuel Vadot                    regulator-boot-on;
1075def4c47SEmmanuel Vadot                    regulator-max-microvolt = <5000000>;
1085def4c47SEmmanuel Vadot                    regulator-min-microvolt = <1500000>;
1095def4c47SEmmanuel Vadot                };
1105def4c47SEmmanuel Vadot
1115def4c47SEmmanuel Vadot                reg_ldo2: ldo2 {
1125def4c47SEmmanuel Vadot                    regulator-always-on;
1135def4c47SEmmanuel Vadot                    regulator-boot-on;
1145def4c47SEmmanuel Vadot                    regulator-max-microvolt = <5000000>;
1155def4c47SEmmanuel Vadot                    regulator-min-microvolt = <1500000>;
1165def4c47SEmmanuel Vadot                };
1175def4c47SEmmanuel Vadot
1185def4c47SEmmanuel Vadot                reg_ldo3: ldo3 {
1195def4c47SEmmanuel Vadot                    regulator-always-on;
1205def4c47SEmmanuel Vadot                    regulator-boot-on;
1215def4c47SEmmanuel Vadot                    regulator-max-microvolt = <5000000>;
1225def4c47SEmmanuel Vadot                    regulator-min-microvolt = <1500000>;
1235def4c47SEmmanuel Vadot                };
1245def4c47SEmmanuel Vadot
1255def4c47SEmmanuel Vadot                reg_ldo4: ldo4 {
1265def4c47SEmmanuel Vadot                    regulator-always-on;
1275def4c47SEmmanuel Vadot                    regulator-boot-on;
1285def4c47SEmmanuel Vadot                    regulator-max-microvolt = <5000000>;
1295def4c47SEmmanuel Vadot                    regulator-min-microvolt = <1500000>;
1305def4c47SEmmanuel Vadot                };
1315def4c47SEmmanuel Vadot
1325def4c47SEmmanuel Vadot                reg_buck1: buck1 {
1335def4c47SEmmanuel Vadot                    nxp,ilim-ma = <4500>;
1345def4c47SEmmanuel Vadot                    regulator-always-on;
1355def4c47SEmmanuel Vadot                    regulator-boot-on;
1365def4c47SEmmanuel Vadot                    regulator-max-microvolt = <1800000>;
1375def4c47SEmmanuel Vadot                    regulator-min-microvolt =  <400000>;
1385def4c47SEmmanuel Vadot                };
1395def4c47SEmmanuel Vadot
1405def4c47SEmmanuel Vadot                reg_buck2: buck2 {
1415def4c47SEmmanuel Vadot                    regulator-always-on;
1425def4c47SEmmanuel Vadot                    regulator-boot-on;
1435def4c47SEmmanuel Vadot                    regulator-max-microvolt = <1800000>;
1445def4c47SEmmanuel Vadot                    regulator-min-microvolt =  <400000>;
1455def4c47SEmmanuel Vadot                };
1465def4c47SEmmanuel Vadot
1475def4c47SEmmanuel Vadot                reg_buck3: buck3 {
1485def4c47SEmmanuel Vadot                    regulator-always-on;
1495def4c47SEmmanuel Vadot                    regulator-boot-on;
1505def4c47SEmmanuel Vadot                    regulator-max-microvolt = <1800000>;
1515def4c47SEmmanuel Vadot                    regulator-min-microvolt =  <400000>;
1525def4c47SEmmanuel Vadot                };
1535def4c47SEmmanuel Vadot
1545def4c47SEmmanuel Vadot                reg_buck4: buck4 {
1555def4c47SEmmanuel Vadot                    regulator-always-on;
1565def4c47SEmmanuel Vadot                    regulator-boot-on;
1575def4c47SEmmanuel Vadot                    regulator-max-microvolt = <1800000>;
1585def4c47SEmmanuel Vadot                    regulator-min-microvolt =  <400000>;
1595def4c47SEmmanuel Vadot                };
1605def4c47SEmmanuel Vadot
1615def4c47SEmmanuel Vadot                reg_buck5: buck5 {
1625def4c47SEmmanuel Vadot                    regulator-always-on;
1635def4c47SEmmanuel Vadot                    regulator-boot-on;
1645def4c47SEmmanuel Vadot                    regulator-max-microvolt = <1800000>;
1655def4c47SEmmanuel Vadot                    regulator-min-microvolt =  <400000>;
1665def4c47SEmmanuel Vadot                };
1675def4c47SEmmanuel Vadot
1685def4c47SEmmanuel Vadot                reg_buck6: buck6 {
1695def4c47SEmmanuel Vadot                    regulator-always-on;
1705def4c47SEmmanuel Vadot                    regulator-boot-on;
1715def4c47SEmmanuel Vadot                    regulator-max-microvolt = <1800000>;
1725def4c47SEmmanuel Vadot                    regulator-min-microvolt =  <400000>;
1735def4c47SEmmanuel Vadot                };
1745def4c47SEmmanuel Vadot
1755def4c47SEmmanuel Vadot                reg_buck7: buck7 {
1765def4c47SEmmanuel Vadot                    regulator-always-on;
1775def4c47SEmmanuel Vadot                    regulator-boot-on;
1785def4c47SEmmanuel Vadot                    regulator-max-microvolt = <3300000>;
1795def4c47SEmmanuel Vadot                    regulator-min-microvolt = <3300000>;
1805def4c47SEmmanuel Vadot                };
1815def4c47SEmmanuel Vadot
1825def4c47SEmmanuel Vadot                reg_vsnvs: vsnvs {
1835def4c47SEmmanuel Vadot                    regulator-always-on;
1845def4c47SEmmanuel Vadot                    regulator-boot-on;
1855def4c47SEmmanuel Vadot                    regulator-max-microvolt = <3300000>;
1865def4c47SEmmanuel Vadot                    regulator-min-microvolt = <1800000>;
1875def4c47SEmmanuel Vadot                };
1885def4c47SEmmanuel Vadot            };
1895def4c47SEmmanuel Vadot        };
1905def4c47SEmmanuel Vadot    };
191