Commit | Line | Data |
---|---|---|
26490520 HG |
1 | AXP20x USB power supply |
2 | ||
3 | Required Properties: | |
4 | -compatible: "x-powers,axp202-usb-power-supply" | |
5 | ||
6 | This node is a subnode of the axp20x PMIC. | |
7 | ||
8 | Example: | |
9 | ||
10 | axp209: pmic@34 { | |
11 | compatible = "x-powers,axp209"; | |
12 | reg = <0x34>; | |
13 | interrupt-parent = <&nmi_intc>; | |
14 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; | |
15 | interrupt-controller; | |
16 | #interrupt-cells = <1>; | |
17 | ||
18 | regulators { | |
19 | x-powers,dcdc-freq = <1500>; | |
20 | ||
21 | vdd_cpu: dcdc2 { | |
22 | regulator-always-on; | |
23 | regulator-min-microvolt = <1000000>; | |
24 | regulator-max-microvolt = <1450000>; | |
25 | regulator-name = "vdd-cpu"; | |
26 | }; | |
27 | ||
28 | ... | |
29 | }; | |
30 | ||
31 | usb-power-supply: usb-power-supply { | |
32 | compatible = "x-powers,axp202-usb-power-supply"; | |
33 | }; | |
34 | }; |