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