xref: /freebsd/sys/contrib/device-tree/Bindings/power/supply/axp20x_usb_power.txt (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1AXP20x USB power supply
2
3Required Properties:
4-compatible: One of: "x-powers,axp202-usb-power-supply"
5                     "x-powers,axp221-usb-power-supply"
6                     "x-powers,axp223-usb-power-supply"
7		     "x-powers,axp813-usb-power-supply"
8
9The AXP223 PMIC shares most of its behaviour with the AXP221 but has slight
10variations such as the former being able to set the VBUS power supply max
11current to 100mA, unlike the latter.
12
13This node is a subnode of the axp20x PMIC.
14
15Example:
16
17axp209: pmic@34 {
18	compatible = "x-powers,axp209";
19	reg = <0x34>;
20	interrupt-parent = <&nmi_intc>;
21	interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
22	interrupt-controller;
23	#interrupt-cells = <1>;
24
25	regulators {
26		x-powers,dcdc-freq = <1500>;
27
28		vdd_cpu: dcdc2 {
29			regulator-always-on;
30			regulator-min-microvolt = <1000000>;
31			regulator-max-microvolt = <1450000>;
32			regulator-name = "vdd-cpu";
33		};
34
35		...
36	};
37
38	usb-power-supply: usb-power-supply {
39		compatible = "x-powers,axp202-usb-power-supply";
40	};
41};
42