Benoit Cousson | 4711244 | 2011-12-15 15:46:47 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | |
| 9 | /* |
| 10 | * Integrated Power Management Chip |
| 11 | * http://www.ti.com/lit/ds/symlink/twl6030.pdf |
| 12 | */ |
| 13 | &twl { |
| 14 | compatible = "ti,twl6030"; |
| 15 | interrupt-controller; |
| 16 | #interrupt-cells = <1>; |
| 17 | |
| 18 | rtc { |
| 19 | compatible = "ti,twl4030-rtc"; |
| 20 | interrupts = <11>; |
| 21 | }; |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 22 | |
Rajendra Nayak | 624411c | 2012-07-30 18:42:20 +0530 | [diff] [blame] | 23 | vaux1: regulator-vaux1 { |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 24 | compatible = "ti,twl6030-vaux1"; |
| 25 | regulator-min-microvolt = <1000000>; |
| 26 | regulator-max-microvolt = <3000000>; |
| 27 | }; |
| 28 | |
Rajendra Nayak | 624411c | 2012-07-30 18:42:20 +0530 | [diff] [blame] | 29 | vaux2: regulator-vaux2 { |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 30 | compatible = "ti,twl6030-vaux2"; |
| 31 | regulator-min-microvolt = <1200000>; |
| 32 | regulator-max-microvolt = <2800000>; |
| 33 | }; |
| 34 | |
Rajendra Nayak | 624411c | 2012-07-30 18:42:20 +0530 | [diff] [blame] | 35 | vaux3: regulator-vaux3 { |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 36 | compatible = "ti,twl6030-vaux3"; |
| 37 | regulator-min-microvolt = <1000000>; |
| 38 | regulator-max-microvolt = <3000000>; |
| 39 | }; |
| 40 | |
Rajendra Nayak | 624411c | 2012-07-30 18:42:20 +0530 | [diff] [blame] | 41 | vmmc: regulator-vmmc { |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 42 | compatible = "ti,twl6030-vmmc"; |
| 43 | regulator-min-microvolt = <1200000>; |
| 44 | regulator-max-microvolt = <3000000>; |
| 45 | }; |
| 46 | |
Rajendra Nayak | 624411c | 2012-07-30 18:42:20 +0530 | [diff] [blame] | 47 | vpp: regulator-vpp { |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 48 | compatible = "ti,twl6030-vpp"; |
| 49 | regulator-min-microvolt = <1800000>; |
| 50 | regulator-max-microvolt = <2500000>; |
| 51 | }; |
| 52 | |
Rajendra Nayak | 624411c | 2012-07-30 18:42:20 +0530 | [diff] [blame] | 53 | vusim: regulator-vusim { |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 54 | compatible = "ti,twl6030-vusim"; |
| 55 | regulator-min-microvolt = <1200000>; |
| 56 | regulator-max-microvolt = <2900000>; |
| 57 | }; |
| 58 | |
Rajendra Nayak | 624411c | 2012-07-30 18:42:20 +0530 | [diff] [blame] | 59 | vdac: regulator-vdac { |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 60 | compatible = "ti,twl6030-vdac"; |
| 61 | }; |
| 62 | |
Rajendra Nayak | 624411c | 2012-07-30 18:42:20 +0530 | [diff] [blame] | 63 | vana: regulator-vana { |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 64 | compatible = "ti,twl6030-vana"; |
| 65 | }; |
| 66 | |
Rajendra Nayak | 624411c | 2012-07-30 18:42:20 +0530 | [diff] [blame] | 67 | vcxio: regulator-vcxio { |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 68 | compatible = "ti,twl6030-vcxio"; |
Rajendra Nayak | ae377aaf | 2012-07-30 18:42:19 +0530 | [diff] [blame] | 69 | regulator-always-on; |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 70 | }; |
| 71 | |
Rajendra Nayak | 624411c | 2012-07-30 18:42:20 +0530 | [diff] [blame] | 72 | vusb: regulator-vusb { |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 73 | compatible = "ti,twl6030-vusb"; |
| 74 | }; |
| 75 | |
Rajendra Nayak | 624411c | 2012-07-30 18:42:20 +0530 | [diff] [blame] | 76 | v1v8: regulator-v1v8 { |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 77 | compatible = "ti,twl6030-v1v8"; |
Rajendra Nayak | ae377aaf | 2012-07-30 18:42:19 +0530 | [diff] [blame] | 78 | regulator-always-on; |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 79 | }; |
| 80 | |
Rajendra Nayak | 624411c | 2012-07-30 18:42:20 +0530 | [diff] [blame] | 81 | v2v1: regulator-v2v1 { |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 82 | compatible = "ti,twl6030-v2v1"; |
Rajendra Nayak | ae377aaf | 2012-07-30 18:42:19 +0530 | [diff] [blame] | 83 | regulator-always-on; |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 84 | }; |
| 85 | |
Kishon Vijay Abraham I | 6ff862f | 2012-09-19 15:02:06 +0530 | [diff] [blame] | 86 | twl_usb_comparator: usb-comparator { |
| 87 | compatible = "ti,twl6030-usb"; |
| 88 | interrupts = <4>, <10>; |
| 89 | }; |
Peter Ujfalusi | 50ff6b1 | 2012-11-07 15:05:20 +0100 | [diff] [blame] | 90 | |
| 91 | twl_pwm: pwm { |
| 92 | /* provides two PWMs (id 0, 1 for PWM1 and PWM2) */ |
| 93 | compatible = "ti,twl6030-pwm"; |
| 94 | #pwm-cells = <2>; |
| 95 | }; |
| 96 | |
| 97 | twl_pwmled: pwmled { |
| 98 | /* provides one PWM (id 0 for Charging indicator LED) */ |
| 99 | compatible = "ti,twl6030-pwmled"; |
| 100 | #pwm-cells = <2>; |
| 101 | }; |
Benoit Cousson | 4711244 | 2011-12-15 15:46:47 +0100 | [diff] [blame] | 102 | }; |