Hans de Goede | 2649052 | 2015-08-01 10:39:37 +0200 | [diff] [blame] | 1 | AXP20x USB power supply |
| 2 | |
| 3 | Required Properties: |
Hans de Goede | cecbf8d | 2016-06-02 19:18:53 +0200 | [diff] [blame] | 4 | -compatible: One of: "x-powers,axp202-usb-power-supply" |
| 5 | "x-powers,axp221-usb-power-supply" |
Hans de Goede | 2649052 | 2015-08-01 10:39:37 +0200 | [diff] [blame] | 6 | |
| 7 | This node is a subnode of the axp20x PMIC. |
| 8 | |
| 9 | Example: |
| 10 | |
| 11 | axp209: pmic@34 { |
| 12 | compatible = "x-powers,axp209"; |
| 13 | reg = <0x34>; |
| 14 | interrupt-parent = <&nmi_intc>; |
| 15 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
| 16 | interrupt-controller; |
| 17 | #interrupt-cells = <1>; |
| 18 | |
| 19 | regulators { |
| 20 | x-powers,dcdc-freq = <1500>; |
| 21 | |
| 22 | vdd_cpu: dcdc2 { |
| 23 | regulator-always-on; |
| 24 | regulator-min-microvolt = <1000000>; |
| 25 | regulator-max-microvolt = <1450000>; |
| 26 | regulator-name = "vdd-cpu"; |
| 27 | }; |
| 28 | |
| 29 | ... |
| 30 | }; |
| 31 | |
| 32 | usb-power-supply: usb-power-supply { |
| 33 | compatible = "x-powers,axp202-usb-power-supply"; |
| 34 | }; |
| 35 | }; |