S Twiss | 922e3c2 | 2015-07-01 14:11:33 +0100 | [diff] [blame] | 1 | * Dialog DA9062 Power Management Integrated Circuit (PMIC) |
| 2 | |
| 3 | DA9062 consists of a large and varied group of sub-devices: |
| 4 | |
| 5 | Device Supply Names Description |
| 6 | ------ ------------ ----------- |
| 7 | da9062-regulator : : LDOs & BUCKs |
S Twiss | 2f5532a | 2015-07-21 11:29:06 +0100 | [diff] [blame] | 8 | da9062-rtc : : Real-Time Clock |
S Twiss | 922e3c2 | 2015-07-01 14:11:33 +0100 | [diff] [blame] | 9 | da9062-watchdog : : Watchdog Timer |
| 10 | |
| 11 | ====== |
| 12 | |
| 13 | Required properties: |
| 14 | |
| 15 | - compatible : Should be "dlg,da9062". |
| 16 | - reg : Specifies the I2C slave address (this defaults to 0x58 but it can be |
| 17 | modified to match the chip's OTP settings). |
| 18 | - interrupt-parent : Specifies the reference to the interrupt controller for |
| 19 | the DA9062. |
| 20 | - interrupts : IRQ line information. |
| 21 | - interrupt-controller |
| 22 | |
| 23 | See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for |
| 24 | further information on IRQ bindings. |
| 25 | |
| 26 | Sub-nodes: |
| 27 | |
| 28 | - regulators : This node defines the settings for the LDOs and BUCKs. The |
| 29 | DA9062 regulators are bound using their names listed below: |
| 30 | |
| 31 | buck1 : BUCK_1 |
| 32 | buck2 : BUCK_2 |
| 33 | buck3 : BUCK_3 |
| 34 | buck4 : BUCK_4 |
| 35 | ldo1 : LDO_1 |
| 36 | ldo2 : LDO_2 |
| 37 | ldo3 : LDO_3 |
| 38 | ldo4 : LDO_4 |
| 39 | |
| 40 | The component follows the standard regulator framework and the bindings |
| 41 | details of individual regulator device can be found in: |
| 42 | Documentation/devicetree/bindings/regulator/regulator.txt |
| 43 | |
| 44 | |
S Twiss | 2f5532a | 2015-07-21 11:29:06 +0100 | [diff] [blame] | 45 | - rtc : This node defines settings required for the Real-Time Clock associated |
| 46 | with the DA9062. There are currently no entries in this binding, however |
| 47 | compatible = "dlg,da9062-rtc" should be added if a node is created. |
| 48 | |
S Twiss | 922e3c2 | 2015-07-01 14:11:33 +0100 | [diff] [blame] | 49 | - watchdog: This node defines the settings for the watchdog driver associated |
| 50 | with the DA9062 PMIC. The compatible = "dlg,da9062-watchdog" should be added |
| 51 | if a node is created. |
| 52 | |
| 53 | |
| 54 | Example: |
| 55 | |
| 56 | pmic0: da9062@58 { |
| 57 | compatible = "dlg,da9062"; |
| 58 | reg = <0x58>; |
| 59 | interrupt-parent = <&gpio6>; |
| 60 | interrupts = <11 IRQ_TYPE_LEVEL_LOW>; |
| 61 | interrupt-controller; |
| 62 | |
S Twiss | 2f5532a | 2015-07-21 11:29:06 +0100 | [diff] [blame] | 63 | rtc { |
| 64 | compatible = "dlg,da9062-rtc"; |
| 65 | }; |
| 66 | |
S Twiss | 922e3c2 | 2015-07-01 14:11:33 +0100 | [diff] [blame] | 67 | watchdog { |
| 68 | compatible = "dlg,da9062-watchdog"; |
| 69 | }; |
| 70 | |
| 71 | regulators { |
| 72 | DA9062_BUCK1: buck1 { |
| 73 | regulator-name = "BUCK1"; |
| 74 | regulator-min-microvolt = <300000>; |
| 75 | regulator-max-microvolt = <1570000>; |
| 76 | regulator-min-microamp = <500000>; |
| 77 | regulator-max-microamp = <2000000>; |
| 78 | regulator-boot-on; |
| 79 | }; |
| 80 | DA9062_LDO1: ldo1 { |
| 81 | regulator-name = "LDO_1"; |
| 82 | regulator-min-microvolt = <900000>; |
| 83 | regulator-max-microvolt = <3600000>; |
| 84 | regulator-boot-on; |
| 85 | }; |
| 86 | }; |
| 87 | }; |
| 88 | |