Benoit Cousson | dce90d5 | 2011-12-15 15:47:41 +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 | */ |
| 12 | &twl { |
| 13 | compatible = "ti,twl4030"; |
| 14 | interrupt-controller; |
| 15 | #interrupt-cells = <1>; |
| 16 | |
| 17 | rtc { |
| 18 | compatible = "ti,twl4030-rtc"; |
| 19 | interrupts = <11>; |
| 20 | }; |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 21 | |
NeilBrown | ec0b380 | 2013-10-31 17:05:50 +1100 | [diff] [blame] | 22 | charger: bci { |
| 23 | compatible = "ti,twl4030-bci"; |
| 24 | interrupts = <9>, <2>; |
| 25 | bci3v1-supply = <&vusb3v1>; |
Marek Belisko | 2277795 | 2017-05-21 12:38:17 +0200 | [diff] [blame] | 26 | io-channels = <&twl_madc 11>; |
| 27 | io-channel-names = "vac"; |
NeilBrown | ec0b380 | 2013-10-31 17:05:50 +1100 | [diff] [blame] | 28 | }; |
| 29 | |
Aaro Koskinen | 8899b8d | 2012-12-23 22:03:37 +0200 | [diff] [blame] | 30 | watchdog { |
| 31 | compatible = "ti,twl4030-wdt"; |
| 32 | }; |
| 33 | |
Sebastian Reichel | b86684d | 2013-10-23 00:49:37 +0200 | [diff] [blame] | 34 | vaux1: regulator-vaux1 { |
| 35 | compatible = "ti,twl4030-vaux1"; |
| 36 | }; |
| 37 | |
| 38 | vaux2: regulator-vaux2 { |
| 39 | compatible = "ti,twl4030-vaux2"; |
| 40 | }; |
| 41 | |
| 42 | vaux3: regulator-vaux3 { |
| 43 | compatible = "ti,twl4030-vaux3"; |
| 44 | }; |
| 45 | |
| 46 | vaux4: regulator-vaux4 { |
| 47 | compatible = "ti,twl4030-vaux4"; |
| 48 | }; |
| 49 | |
Nishanth Menon | a134be3 | 2013-03-19 12:53:05 -0500 | [diff] [blame] | 50 | vcc: regulator-vdd1 { |
| 51 | compatible = "ti,twl4030-vdd1"; |
| 52 | regulator-min-microvolt = <600000>; |
| 53 | regulator-max-microvolt = <1450000>; |
| 54 | }; |
| 55 | |
Rajendra Nayak | 624411c | 2012-07-30 18:42:20 +0530 | [diff] [blame] | 56 | vdac: regulator-vdac { |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 57 | compatible = "ti,twl4030-vdac"; |
| 58 | regulator-min-microvolt = <1800000>; |
| 59 | regulator-max-microvolt = <1800000>; |
| 60 | }; |
| 61 | |
Sebastian Reichel | b86684d | 2013-10-23 00:49:37 +0200 | [diff] [blame] | 62 | vio: regulator-vio { |
| 63 | compatible = "ti,twl4030-vio"; |
| 64 | }; |
| 65 | |
| 66 | vintana1: regulator-vintana1 { |
| 67 | compatible = "ti,twl4030-vintana1"; |
| 68 | }; |
| 69 | |
| 70 | vintana2: regulator-vintana2 { |
| 71 | compatible = "ti,twl4030-vintana2"; |
| 72 | }; |
| 73 | |
| 74 | vintdig: regulator-vintdig { |
| 75 | compatible = "ti,twl4030-vintdig"; |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 76 | }; |
| 77 | |
Rajendra Nayak | 624411c | 2012-07-30 18:42:20 +0530 | [diff] [blame] | 78 | vmmc1: regulator-vmmc1 { |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 79 | compatible = "ti,twl4030-vmmc1"; |
| 80 | regulator-min-microvolt = <1850000>; |
| 81 | regulator-max-microvolt = <3150000>; |
| 82 | }; |
Benoit Cousson | 61ff641 | 2012-05-08 18:37:25 +0200 | [diff] [blame] | 83 | |
Tony Lindgren | 13782a7 | 2013-06-07 15:01:58 -0700 | [diff] [blame] | 84 | vmmc2: regulator-vmmc2 { |
| 85 | compatible = "ti,twl4030-vmmc2"; |
| 86 | regulator-min-microvolt = <1850000>; |
| 87 | regulator-max-microvolt = <3150000>; |
| 88 | }; |
| 89 | |
Kishon Vijay Abraham I | c8de91a | 2012-09-19 15:02:07 +0530 | [diff] [blame] | 90 | vusb1v5: regulator-vusb1v5 { |
| 91 | compatible = "ti,twl4030-vusb1v5"; |
| 92 | }; |
| 93 | |
| 94 | vusb1v8: regulator-vusb1v8 { |
| 95 | compatible = "ti,twl4030-vusb1v8"; |
| 96 | }; |
| 97 | |
| 98 | vusb3v1: regulator-vusb3v1 { |
| 99 | compatible = "ti,twl4030-vusb3v1"; |
| 100 | }; |
| 101 | |
Sebastian Reichel | b86684d | 2013-10-23 00:49:37 +0200 | [diff] [blame] | 102 | vpll1: regulator-vpll1 { |
| 103 | compatible = "ti,twl4030-vpll1"; |
| 104 | }; |
| 105 | |
| 106 | vpll2: regulator-vpll2 { |
| 107 | compatible = "ti,twl4030-vpll2"; |
| 108 | regulator-min-microvolt = <1800000>; |
| 109 | regulator-max-microvolt = <1800000>; |
| 110 | }; |
| 111 | |
Jon Hunter | 5a8095e | 2012-09-11 11:01:59 -0500 | [diff] [blame] | 112 | vsim: regulator-vsim { |
| 113 | compatible = "ti,twl4030-vsim"; |
| 114 | regulator-min-microvolt = <1800000>; |
| 115 | regulator-max-microvolt = <3000000>; |
| 116 | }; |
| 117 | |
Benoit Cousson | 61ff641 | 2012-05-08 18:37:25 +0200 | [diff] [blame] | 118 | twl_gpio: gpio { |
| 119 | compatible = "ti,twl4030-gpio"; |
| 120 | gpio-controller; |
| 121 | #gpio-cells = <2>; |
| 122 | interrupt-controller; |
| 123 | #interrupt-cells = <1>; |
| 124 | }; |
Kishon Vijay Abraham I | c8de91a | 2012-09-19 15:02:07 +0530 | [diff] [blame] | 125 | |
Kishon Vijay Abraham I | ad871c1 | 2013-03-07 19:05:16 +0530 | [diff] [blame] | 126 | usb2_phy: twl4030-usb { |
Kishon Vijay Abraham I | c8de91a | 2012-09-19 15:02:07 +0530 | [diff] [blame] | 127 | compatible = "ti,twl4030-usb"; |
| 128 | interrupts = <10>, <4>; |
| 129 | usb1v5-supply = <&vusb1v5>; |
| 130 | usb1v8-supply = <&vusb1v8>; |
| 131 | usb3v1-supply = <&vusb3v1>; |
| 132 | usb_mode = <1>; |
Kishon Vijay Abraham I | 975d963e | 2013-09-27 11:53:29 +0530 | [diff] [blame] | 133 | #phy-cells = <0>; |
Kishon Vijay Abraham I | c8de91a | 2012-09-19 15:02:07 +0530 | [diff] [blame] | 134 | }; |
Peter Ujfalusi | ac31a88 | 2012-11-07 15:05:00 +0100 | [diff] [blame] | 135 | |
| 136 | twl_pwm: pwm { |
| 137 | compatible = "ti,twl4030-pwm"; |
| 138 | #pwm-cells = <2>; |
| 139 | }; |
| 140 | |
| 141 | twl_pwmled: pwmled { |
| 142 | compatible = "ti,twl4030-pwmled"; |
| 143 | #pwm-cells = <2>; |
| 144 | }; |
Sebastian Reichel | a3317d4 | 2013-10-23 00:49:43 +0200 | [diff] [blame] | 145 | |
| 146 | twl_pwrbutton: pwrbutton { |
| 147 | compatible = "ti,twl4030-pwrbutton"; |
| 148 | interrupts = <8>; |
| 149 | }; |
Sebastian Reichel | fbbf006 | 2014-01-11 22:16:58 +0100 | [diff] [blame] | 150 | |
| 151 | twl_keypad: keypad { |
| 152 | compatible = "ti,twl4030-keypad"; |
| 153 | interrupts = <1>; |
| 154 | keypad,num-rows = <8>; |
| 155 | keypad,num-columns = <8>; |
| 156 | }; |
Sebastian Reichel | b36c8ac | 2014-03-19 00:13:46 +0100 | [diff] [blame] | 157 | |
| 158 | twl_madc: madc { |
| 159 | compatible = "ti,twl4030-madc"; |
| 160 | interrupts = <3>; |
| 161 | #io-channel-cells = <1>; |
| 162 | }; |
Benoit Cousson | dce90d5 | 2011-12-15 15:47:41 +0100 | [diff] [blame] | 163 | }; |