xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/x-powers,axp152.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml#
58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
77ef62cebSEmmanuel Vadottitle: X-Powers AXP PMIC
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotmaintainers:
108cc087a1SEmmanuel Vadot  - Chen-Yu Tsai <wens@csie.org>
118cc087a1SEmmanuel Vadot
128cc087a1SEmmanuel VadotallOf:
138cc087a1SEmmanuel Vadot  - if:
148cc087a1SEmmanuel Vadot      properties:
158cc087a1SEmmanuel Vadot        compatible:
168cc087a1SEmmanuel Vadot          contains:
178cc087a1SEmmanuel Vadot            enum:
188cc087a1SEmmanuel Vadot              - x-powers,axp152
198cc087a1SEmmanuel Vadot              - x-powers,axp202
208cc087a1SEmmanuel Vadot              - x-powers,axp209
218cc087a1SEmmanuel Vadot
228cc087a1SEmmanuel Vadot    then:
238cc087a1SEmmanuel Vadot      properties:
248cc087a1SEmmanuel Vadot        regulators:
258cc087a1SEmmanuel Vadot          properties:
268cc087a1SEmmanuel Vadot            x-powers,dcdc-freq:
278cc087a1SEmmanuel Vadot              minimum: 750
288cc087a1SEmmanuel Vadot              maximum: 1875
298cc087a1SEmmanuel Vadot              default: 1500
308cc087a1SEmmanuel Vadot
318cc087a1SEmmanuel Vadot    else:
328cc087a1SEmmanuel Vadot      properties:
338cc087a1SEmmanuel Vadot        regulators:
348cc087a1SEmmanuel Vadot          properties:
358cc087a1SEmmanuel Vadot            x-powers,dcdc-freq:
368cc087a1SEmmanuel Vadot              minimum: 1800
378cc087a1SEmmanuel Vadot              maximum: 4050
388cc087a1SEmmanuel Vadot              default: 3000
398cc087a1SEmmanuel Vadot
408cc087a1SEmmanuel Vadot  - if:
418cc087a1SEmmanuel Vadot      properties:
428cc087a1SEmmanuel Vadot        compatible:
438cc087a1SEmmanuel Vadot          contains:
448cc087a1SEmmanuel Vadot            enum:
458cc087a1SEmmanuel Vadot              - x-powers,axp152
468cc087a1SEmmanuel Vadot              - x-powers,axp202
478cc087a1SEmmanuel Vadot              - x-powers,axp209
488cc087a1SEmmanuel Vadot
498cc087a1SEmmanuel Vadot    then:
50fac71e4eSEmmanuel Vadot      properties:
51fac71e4eSEmmanuel Vadot        x-powers,drive-vbus-en: false
528cc087a1SEmmanuel Vadot
538cc087a1SEmmanuel Vadot  - if:
548cc087a1SEmmanuel Vadot      not:
558cc087a1SEmmanuel Vadot        properties:
568cc087a1SEmmanuel Vadot          compatible:
578cc087a1SEmmanuel Vadot            contains:
588cc087a1SEmmanuel Vadot              const: x-powers,axp806
598cc087a1SEmmanuel Vadot
608cc087a1SEmmanuel Vadot    then:
61fac71e4eSEmmanuel Vadot      properties:
62fac71e4eSEmmanuel Vadot        x-powers,self-working-mode: false
63fac71e4eSEmmanuel Vadot        x-powers,master-mode: false
648cc087a1SEmmanuel Vadot
658cc087a1SEmmanuel Vadot  - if:
668cc087a1SEmmanuel Vadot      not:
678cc087a1SEmmanuel Vadot        properties:
688cc087a1SEmmanuel Vadot          compatible:
698cc087a1SEmmanuel Vadot            contains:
70*84943d6fSEmmanuel Vadot              enum:
71*84943d6fSEmmanuel Vadot                - x-powers,axp15060
72*84943d6fSEmmanuel Vadot                - x-powers,axp305
73*84943d6fSEmmanuel Vadot                - x-powers,axp313a
748cc087a1SEmmanuel Vadot
758cc087a1SEmmanuel Vadot    then:
768cc087a1SEmmanuel Vadot      required:
778cc087a1SEmmanuel Vadot        - interrupts
788cc087a1SEmmanuel Vadot
79fac71e4eSEmmanuel Vadot  - if:
80fac71e4eSEmmanuel Vadot      properties:
81fac71e4eSEmmanuel Vadot        compatible:
82fac71e4eSEmmanuel Vadot          contains:
83fac71e4eSEmmanuel Vadot            enum:
84fac71e4eSEmmanuel Vadot              - x-powers,axp313a
85fac71e4eSEmmanuel Vadot              - x-powers,axp15060
86fac71e4eSEmmanuel Vadot
87fac71e4eSEmmanuel Vadot    then:
88fac71e4eSEmmanuel Vadot      properties:
89fac71e4eSEmmanuel Vadot        x-powers,dcdc-freq: false
90fac71e4eSEmmanuel Vadot
918cc087a1SEmmanuel Vadotproperties:
928cc087a1SEmmanuel Vadot  compatible:
938cc087a1SEmmanuel Vadot    oneOf:
948cc087a1SEmmanuel Vadot      - enum:
958cc087a1SEmmanuel Vadot          - x-powers,axp152
96f126890aSEmmanuel Vadot          - x-powers,axp192
978cc087a1SEmmanuel Vadot          - x-powers,axp202
988cc087a1SEmmanuel Vadot          - x-powers,axp209
998cc087a1SEmmanuel Vadot          - x-powers,axp221
1008cc087a1SEmmanuel Vadot          - x-powers,axp223
101fac71e4eSEmmanuel Vadot          - x-powers,axp313a
1028cc087a1SEmmanuel Vadot          - x-powers,axp803
1038cc087a1SEmmanuel Vadot          - x-powers,axp806
1048cc087a1SEmmanuel Vadot          - x-powers,axp809
1058cc087a1SEmmanuel Vadot          - x-powers,axp813
106fac71e4eSEmmanuel Vadot          - x-powers,axp15060
1078cc087a1SEmmanuel Vadot      - items:
1087ef62cebSEmmanuel Vadot          - const: x-powers,axp228
1097ef62cebSEmmanuel Vadot          - const: x-powers,axp221
1107ef62cebSEmmanuel Vadot      - items:
1118cc087a1SEmmanuel Vadot          - const: x-powers,axp805
1128cc087a1SEmmanuel Vadot          - const: x-powers,axp806
1138cc087a1SEmmanuel Vadot      - items:
1148cc087a1SEmmanuel Vadot          - const: x-powers,axp305
1158cc087a1SEmmanuel Vadot          - const: x-powers,axp805
1168cc087a1SEmmanuel Vadot          - const: x-powers,axp806
1178cc087a1SEmmanuel Vadot      - items:
1188cc087a1SEmmanuel Vadot          - const: x-powers,axp818
1198cc087a1SEmmanuel Vadot          - const: x-powers,axp813
1208cc087a1SEmmanuel Vadot
1218cc087a1SEmmanuel Vadot  reg:
1228cc087a1SEmmanuel Vadot    maxItems: 1
1238cc087a1SEmmanuel Vadot
1248cc087a1SEmmanuel Vadot  interrupts:
1258cc087a1SEmmanuel Vadot    maxItems: 1
1268cc087a1SEmmanuel Vadot
1278cc087a1SEmmanuel Vadot  interrupt-controller: true
1288cc087a1SEmmanuel Vadot
1298cc087a1SEmmanuel Vadot  "#interrupt-cells":
1308cc087a1SEmmanuel Vadot    const: 1
1318cc087a1SEmmanuel Vadot
1328cc087a1SEmmanuel Vadot  x-powers,drive-vbus-en:
1338cc087a1SEmmanuel Vadot    type: boolean
1348cc087a1SEmmanuel Vadot    description: >
1358cc087a1SEmmanuel Vadot      Set this when the N_VBUSEN pin is used as an output pin to control an
1368cc087a1SEmmanuel Vadot      external regulator to drive the OTG VBus, rather then as an input pin
1378cc087a1SEmmanuel Vadot      which signals whether the board is driving OTG VBus or not.
1388cc087a1SEmmanuel Vadot
1398cc087a1SEmmanuel Vadot  x-powers,self-working-mode:
1408cc087a1SEmmanuel Vadot    type: boolean
1418cc087a1SEmmanuel Vadot    description: >
1428cc087a1SEmmanuel Vadot      Set this when the PMIC is wired for self-working mode through the MODESET
1438cc087a1SEmmanuel Vadot      pin.
1448cc087a1SEmmanuel Vadot
1458cc087a1SEmmanuel Vadot  x-powers,master-mode:
1468cc087a1SEmmanuel Vadot    type: boolean
1478cc087a1SEmmanuel Vadot    description: >
1488cc087a1SEmmanuel Vadot      Set this when the PMIC is wired for master mode through the MODESET pin.
1498cc087a1SEmmanuel Vadot
1508cc087a1SEmmanuel Vadot  vin1-supply:
1518cc087a1SEmmanuel Vadot    description: >
1528cc087a1SEmmanuel Vadot      DCDC1 power supply node, if present.
1538cc087a1SEmmanuel Vadot
1548cc087a1SEmmanuel Vadot  vin2-supply:
1558cc087a1SEmmanuel Vadot    description: >
1568cc087a1SEmmanuel Vadot      DCDC2 power supply node, if present.
1578cc087a1SEmmanuel Vadot
1588cc087a1SEmmanuel Vadot  vin3-supply:
1598cc087a1SEmmanuel Vadot    description: >
1608cc087a1SEmmanuel Vadot      DCDC3 power supply node, if present.
1618cc087a1SEmmanuel Vadot
1628cc087a1SEmmanuel Vadot  vin4-supply:
1638cc087a1SEmmanuel Vadot    description: >
1648cc087a1SEmmanuel Vadot      DCDC4 power supply node, if present.
1658cc087a1SEmmanuel Vadot
1668cc087a1SEmmanuel Vadot  vin5-supply:
1678cc087a1SEmmanuel Vadot    description: >
1688cc087a1SEmmanuel Vadot      DCDC5 power supply node, if present.
1698cc087a1SEmmanuel Vadot
1708cc087a1SEmmanuel Vadot  vin6-supply:
1718cc087a1SEmmanuel Vadot    description: >
1728cc087a1SEmmanuel Vadot      DCDC6 power supply node, if present.
1738cc087a1SEmmanuel Vadot
1748cc087a1SEmmanuel Vadot  vin7-supply:
1758cc087a1SEmmanuel Vadot    description: >
1768cc087a1SEmmanuel Vadot      DCDC7 power supply node, if present.
1778cc087a1SEmmanuel Vadot
1788cc087a1SEmmanuel Vadot  vina-supply:
1798cc087a1SEmmanuel Vadot    description: >
1808cc087a1SEmmanuel Vadot      DCDCA power supply node, if present.
1818cc087a1SEmmanuel Vadot
1828cc087a1SEmmanuel Vadot  vinb-supply:
1838cc087a1SEmmanuel Vadot    description: >
1848cc087a1SEmmanuel Vadot      DCDCB power supply node, if present.
1858cc087a1SEmmanuel Vadot
1868cc087a1SEmmanuel Vadot  vinc-supply:
1878cc087a1SEmmanuel Vadot    description: >
1888cc087a1SEmmanuel Vadot      DCDCC power supply node, if present.
1898cc087a1SEmmanuel Vadot
1908cc087a1SEmmanuel Vadot  vind-supply:
1918cc087a1SEmmanuel Vadot    description: >
1928cc087a1SEmmanuel Vadot      DCDCD power supply node, if present.
1938cc087a1SEmmanuel Vadot
1948cc087a1SEmmanuel Vadot  vine-supply:
1958cc087a1SEmmanuel Vadot    description: >
1968cc087a1SEmmanuel Vadot      DCDCE power supply node, if present.
1978cc087a1SEmmanuel Vadot
1988cc087a1SEmmanuel Vadot  acin-supply:
1998cc087a1SEmmanuel Vadot    description: >
2008cc087a1SEmmanuel Vadot      LDO1 power supply node, if present.
2018cc087a1SEmmanuel Vadot
2028cc087a1SEmmanuel Vadot  ldo24in-supply:
2038cc087a1SEmmanuel Vadot    description: >
2048cc087a1SEmmanuel Vadot      LDO2 and LDO4 power supply node, if present.
2058cc087a1SEmmanuel Vadot
2068cc087a1SEmmanuel Vadot  ldo3in-supply:
2078cc087a1SEmmanuel Vadot    description: >
2088cc087a1SEmmanuel Vadot      LDO3 power supply node, if present.
2098cc087a1SEmmanuel Vadot
2108cc087a1SEmmanuel Vadot  ldo5in-supply:
2118cc087a1SEmmanuel Vadot    description: >
2128cc087a1SEmmanuel Vadot      LDO5 power supply node, if present.
2138cc087a1SEmmanuel Vadot
2148cc087a1SEmmanuel Vadot  aldoin-supply:
2158cc087a1SEmmanuel Vadot    description: >
2168cc087a1SEmmanuel Vadot      ALDO* power supply node, if present.
2178cc087a1SEmmanuel Vadot
2188cc087a1SEmmanuel Vadot  bldoin-supply:
2198cc087a1SEmmanuel Vadot    description: >
2208cc087a1SEmmanuel Vadot      BLDO* power supply node, if present.
2218cc087a1SEmmanuel Vadot
2228cc087a1SEmmanuel Vadot  cldoin-supply:
2238cc087a1SEmmanuel Vadot    description: >
2248cc087a1SEmmanuel Vadot      CLDO* power supply node, if present.
2258cc087a1SEmmanuel Vadot
2268cc087a1SEmmanuel Vadot  dldoin-supply:
2278cc087a1SEmmanuel Vadot    description: >
2288cc087a1SEmmanuel Vadot      DLDO* power supply node, if present.
2298cc087a1SEmmanuel Vadot
2308cc087a1SEmmanuel Vadot  eldoin-supply:
2318cc087a1SEmmanuel Vadot    description: >
2328cc087a1SEmmanuel Vadot      ELDO* power supply node, if present.
2338cc087a1SEmmanuel Vadot
2348cc087a1SEmmanuel Vadot  fldoin-supply:
2358cc087a1SEmmanuel Vadot    description: >
2368cc087a1SEmmanuel Vadot      FLDO* power supply node, if present.
2378cc087a1SEmmanuel Vadot
2388cc087a1SEmmanuel Vadot  ips-supply:
2398cc087a1SEmmanuel Vadot    description: >
2408cc087a1SEmmanuel Vadot      LDO_IO0, LDO_IO1 and RTC_LDO power supply node, if present.
2418cc087a1SEmmanuel Vadot
2428cc087a1SEmmanuel Vadot  drivevbus-supply:
2438cc087a1SEmmanuel Vadot    description: >
2448cc087a1SEmmanuel Vadot      DRIVEVBUS power supply node, if present.
2458cc087a1SEmmanuel Vadot
2468cc087a1SEmmanuel Vadot  swin-supply:
2478cc087a1SEmmanuel Vadot    description: >
2488cc087a1SEmmanuel Vadot      SW power supply node, if present.
2498cc087a1SEmmanuel Vadot
2508cc087a1SEmmanuel Vadot  adc:
2518cc087a1SEmmanuel Vadot    $ref: /schemas/iio/adc/x-powers,axp209-adc.yaml#
2528cc087a1SEmmanuel Vadot
2538cc087a1SEmmanuel Vadot  gpio:
2548cc087a1SEmmanuel Vadot    $ref: /schemas/gpio/x-powers,axp209-gpio.yaml#
2558cc087a1SEmmanuel Vadot
2568cc087a1SEmmanuel Vadot  ac-power:
2578cc087a1SEmmanuel Vadot    $ref: /schemas/power/supply/x-powers,axp20x-ac-power-supply.yaml#
2588cc087a1SEmmanuel Vadot
2598cc087a1SEmmanuel Vadot  battery-power:
2608cc087a1SEmmanuel Vadot    $ref: /schemas/power/supply/x-powers,axp20x-battery-power-supply.yaml#
2618cc087a1SEmmanuel Vadot
2628cc087a1SEmmanuel Vadot  usb-power:
2638cc087a1SEmmanuel Vadot    $ref: /schemas/power/supply/x-powers,axp20x-usb-power-supply.yaml#
2648cc087a1SEmmanuel Vadot
2658cc087a1SEmmanuel Vadot  regulators:
2668cc087a1SEmmanuel Vadot    type: object
2678cc087a1SEmmanuel Vadot
2688cc087a1SEmmanuel Vadot    properties:
2698cc087a1SEmmanuel Vadot      x-powers,dcdc-freq:
2708cc087a1SEmmanuel Vadot        $ref: /schemas/types.yaml#/definitions/uint32
2718cc087a1SEmmanuel Vadot        description: >
2728cc087a1SEmmanuel Vadot          Defines the work frequency of DC-DC in kHz.
2738cc087a1SEmmanuel Vadot
2748cc087a1SEmmanuel Vadot    patternProperties:
275fac71e4eSEmmanuel Vadot      "^(([a-f])?ldo[0-9]|dcdc[0-7a-e]|ldo(_|-)io(0|1)|(dc1)?sw|rtc(_|-)ldo|cpusldo|drivevbus|dc5ldo)$":
2768cc087a1SEmmanuel Vadot        $ref: /schemas/regulator/regulator.yaml#
2778cc087a1SEmmanuel Vadot        type: object
2787ef62cebSEmmanuel Vadot        unevaluatedProperties: false
2798cc087a1SEmmanuel Vadot
2808cc087a1SEmmanuel Vadot        properties:
2818cc087a1SEmmanuel Vadot          regulator-ramp-delay:
2828cc087a1SEmmanuel Vadot            description: >
2838cc087a1SEmmanuel Vadot              Only 800 and 1600 are valid for the DCDC2 and LDO3 regulators on
2848cc087a1SEmmanuel Vadot              the AXP209.
2858cc087a1SEmmanuel Vadot
2868cc087a1SEmmanuel Vadot          regulator-soft-start:
2878cc087a1SEmmanuel Vadot            description: >
2888cc087a1SEmmanuel Vadot              Only valid for the LDO3 regulator.
2898cc087a1SEmmanuel Vadot
2908cc087a1SEmmanuel Vadot          x-powers,dcdc-workmode:
2918cc087a1SEmmanuel Vadot            $ref: /schemas/types.yaml#/definitions/uint32
2928cc087a1SEmmanuel Vadot            enum: [0, 1]
2938cc087a1SEmmanuel Vadot            description: >
2948cc087a1SEmmanuel Vadot              Only valid for DCDC regulators. Setup 1 for PWM mode, 0
2958cc087a1SEmmanuel Vadot              for AUTO (PWM/PFM) mode. The DCDC regulators work in a
2968cc087a1SEmmanuel Vadot              mixed PWM/PFM mode, using PFM under light loads and
2978cc087a1SEmmanuel Vadot              switching to PWM for heavier loads. Forcing PWM mode
2988cc087a1SEmmanuel Vadot              trades efficiency under light loads for lower output
2998cc087a1SEmmanuel Vadot              noise. This probably makes sense for HiFi audio related
3008cc087a1SEmmanuel Vadot              applications that aren't battery constrained.
3018cc087a1SEmmanuel Vadot
3028cc087a1SEmmanuel Vadot    additionalProperties: false
3038cc087a1SEmmanuel Vadot
3048cc087a1SEmmanuel Vadotrequired:
3058cc087a1SEmmanuel Vadot  - compatible
3068cc087a1SEmmanuel Vadot  - reg
3078cc087a1SEmmanuel Vadot  - "#interrupt-cells"
3088cc087a1SEmmanuel Vadot  - interrupt-controller
3098cc087a1SEmmanuel Vadot
3108cc087a1SEmmanuel VadotadditionalProperties: false
3118cc087a1SEmmanuel Vadot
3128cc087a1SEmmanuel Vadotexamples:
3138cc087a1SEmmanuel Vadot  - |
314fac71e4eSEmmanuel Vadot      i2c {
3158cc087a1SEmmanuel Vadot          #address-cells = <1>;
3168cc087a1SEmmanuel Vadot          #size-cells = <0>;
3178cc087a1SEmmanuel Vadot
3188cc087a1SEmmanuel Vadot          pmic@30 {
3198cc087a1SEmmanuel Vadot              compatible = "x-powers,axp152";
3208cc087a1SEmmanuel Vadot              reg = <0x30>;
3218cc087a1SEmmanuel Vadot              interrupts = <0>;
3228cc087a1SEmmanuel Vadot              interrupt-controller;
3238cc087a1SEmmanuel Vadot              #interrupt-cells = <1>;
3248cc087a1SEmmanuel Vadot          };
3258cc087a1SEmmanuel Vadot      };
3268cc087a1SEmmanuel Vadot
3278cc087a1SEmmanuel Vadot  - |
3288cc087a1SEmmanuel Vadot      #include <dt-bindings/interrupt-controller/irq.h>
3298cc087a1SEmmanuel Vadot
330fac71e4eSEmmanuel Vadot      i2c {
3318cc087a1SEmmanuel Vadot          #address-cells = <1>;
3328cc087a1SEmmanuel Vadot          #size-cells = <0>;
3338cc087a1SEmmanuel Vadot
3348cc087a1SEmmanuel Vadot          pmic@34 {
3358cc087a1SEmmanuel Vadot              compatible = "x-powers,axp209";
3368cc087a1SEmmanuel Vadot              reg = <0x34>;
3378cc087a1SEmmanuel Vadot              interrupt-parent = <&nmi_intc>;
3388cc087a1SEmmanuel Vadot              interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
3398cc087a1SEmmanuel Vadot              interrupt-controller;
3408cc087a1SEmmanuel Vadot              #interrupt-cells = <1>;
3418cc087a1SEmmanuel Vadot
3428cc087a1SEmmanuel Vadot              ac_power_supply: ac-power {
3438cc087a1SEmmanuel Vadot                  compatible = "x-powers,axp202-ac-power-supply";
3448cc087a1SEmmanuel Vadot              };
3458cc087a1SEmmanuel Vadot
3468cc087a1SEmmanuel Vadot              axp_adc: adc {
3478cc087a1SEmmanuel Vadot                  compatible = "x-powers,axp209-adc";
3488cc087a1SEmmanuel Vadot                  #io-channel-cells = <1>;
3498cc087a1SEmmanuel Vadot              };
3508cc087a1SEmmanuel Vadot
3518cc087a1SEmmanuel Vadot              axp_gpio: gpio {
3528cc087a1SEmmanuel Vadot                  compatible = "x-powers,axp209-gpio";
3538cc087a1SEmmanuel Vadot                  gpio-controller;
3548cc087a1SEmmanuel Vadot                  #gpio-cells = <2>;
3558cc087a1SEmmanuel Vadot
3568cc087a1SEmmanuel Vadot                  gpio0-adc-pin {
3578cc087a1SEmmanuel Vadot                      pins = "GPIO0";
3588cc087a1SEmmanuel Vadot                      function = "adc";
3598cc087a1SEmmanuel Vadot                  };
3608cc087a1SEmmanuel Vadot              };
3618cc087a1SEmmanuel Vadot
3628cc087a1SEmmanuel Vadot              battery_power_supply: battery-power {
3638cc087a1SEmmanuel Vadot                  compatible = "x-powers,axp209-battery-power-supply";
3648cc087a1SEmmanuel Vadot              };
3658cc087a1SEmmanuel Vadot
3668cc087a1SEmmanuel Vadot              regulators {
3678cc087a1SEmmanuel Vadot                  /* Default work frequency for buck regulators */
3688cc087a1SEmmanuel Vadot                  x-powers,dcdc-freq = <1500>;
3698cc087a1SEmmanuel Vadot
3708cc087a1SEmmanuel Vadot                  reg_dcdc2: dcdc2 {
3718cc087a1SEmmanuel Vadot                      regulator-always-on;
3728cc087a1SEmmanuel Vadot                      regulator-min-microvolt = <1000000>;
3738cc087a1SEmmanuel Vadot                      regulator-max-microvolt = <1450000>;
3748cc087a1SEmmanuel Vadot                      regulator-name = "vdd-cpu";
3758cc087a1SEmmanuel Vadot                  };
3768cc087a1SEmmanuel Vadot
3778cc087a1SEmmanuel Vadot                  reg_dcdc3: dcdc3 {
3788cc087a1SEmmanuel Vadot                      regulator-always-on;
3798cc087a1SEmmanuel Vadot                      regulator-min-microvolt = <1000000>;
3808cc087a1SEmmanuel Vadot                      regulator-max-microvolt = <1400000>;
3818cc087a1SEmmanuel Vadot                      regulator-name = "vdd-int-dll";
3828cc087a1SEmmanuel Vadot                  };
3838cc087a1SEmmanuel Vadot
3848cc087a1SEmmanuel Vadot                  reg_ldo1: ldo1 {
3858cc087a1SEmmanuel Vadot                      /* LDO1 is a fixed output regulator */
3868cc087a1SEmmanuel Vadot                      regulator-always-on;
3878cc087a1SEmmanuel Vadot                      regulator-min-microvolt = <1300000>;
3888cc087a1SEmmanuel Vadot                      regulator-max-microvolt = <1300000>;
3898cc087a1SEmmanuel Vadot                      regulator-name = "vdd-rtc";
3908cc087a1SEmmanuel Vadot                  };
3918cc087a1SEmmanuel Vadot
3928cc087a1SEmmanuel Vadot                  reg_ldo2: ldo2 {
3938cc087a1SEmmanuel Vadot                      regulator-always-on;
3948cc087a1SEmmanuel Vadot                      regulator-min-microvolt = <3000000>;
3958cc087a1SEmmanuel Vadot                      regulator-max-microvolt = <3000000>;
3968cc087a1SEmmanuel Vadot                      regulator-name = "avcc";
3978cc087a1SEmmanuel Vadot                  };
3988cc087a1SEmmanuel Vadot
3998cc087a1SEmmanuel Vadot                  reg_ldo3: ldo3 {
4008cc087a1SEmmanuel Vadot                      regulator-name = "ldo3";
4018cc087a1SEmmanuel Vadot                  };
4028cc087a1SEmmanuel Vadot
4038cc087a1SEmmanuel Vadot                  reg_ldo4: ldo4 {
4048cc087a1SEmmanuel Vadot                      regulator-name = "ldo4";
4058cc087a1SEmmanuel Vadot                  };
4068cc087a1SEmmanuel Vadot
4078cc087a1SEmmanuel Vadot                  reg_ldo5: ldo5 {
4088cc087a1SEmmanuel Vadot                      regulator-name = "ldo5";
4098cc087a1SEmmanuel Vadot                  };
4108cc087a1SEmmanuel Vadot              };
4118cc087a1SEmmanuel Vadot
4128cc087a1SEmmanuel Vadot              usb_power_supply: usb-power {
4138cc087a1SEmmanuel Vadot                  compatible = "x-powers,axp202-usb-power-supply";
4148cc087a1SEmmanuel Vadot              };
4158cc087a1SEmmanuel Vadot          };
4168cc087a1SEmmanuel Vadot      };
417