Adam Ford | c9ff04f | 2017-04-17 08:09:41 -0500 | [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 | }; |
| 21 | |
| 22 | charger: bci { |
| 23 | compatible = "ti,twl4030-bci"; |
| 24 | interrupts = <9>, <2>; |
| 25 | bci3v1-supply = <&vusb3v1>; |
| 26 | }; |
| 27 | |
| 28 | watchdog { |
| 29 | compatible = "ti,twl4030-wdt"; |
| 30 | }; |
| 31 | |
| 32 | vaux1: regulator-vaux1 { |
| 33 | compatible = "ti,twl4030-vaux1"; |
| 34 | }; |
| 35 | |
| 36 | vaux2: regulator-vaux2 { |
| 37 | compatible = "ti,twl4030-vaux2"; |
| 38 | }; |
| 39 | |
| 40 | vaux3: regulator-vaux3 { |
| 41 | compatible = "ti,twl4030-vaux3"; |
| 42 | }; |
| 43 | |
| 44 | vaux4: regulator-vaux4 { |
| 45 | compatible = "ti,twl4030-vaux4"; |
| 46 | }; |
| 47 | |
| 48 | vcc: regulator-vdd1 { |
| 49 | compatible = "ti,twl4030-vdd1"; |
| 50 | regulator-min-microvolt = <600000>; |
| 51 | regulator-max-microvolt = <1450000>; |
| 52 | }; |
| 53 | |
| 54 | vdac: regulator-vdac { |
| 55 | compatible = "ti,twl4030-vdac"; |
| 56 | regulator-min-microvolt = <1800000>; |
| 57 | regulator-max-microvolt = <1800000>; |
| 58 | }; |
| 59 | |
| 60 | vio: regulator-vio { |
| 61 | compatible = "ti,twl4030-vio"; |
| 62 | }; |
| 63 | |
| 64 | vintana1: regulator-vintana1 { |
| 65 | compatible = "ti,twl4030-vintana1"; |
| 66 | }; |
| 67 | |
| 68 | vintana2: regulator-vintana2 { |
| 69 | compatible = "ti,twl4030-vintana2"; |
| 70 | }; |
| 71 | |
| 72 | vintdig: regulator-vintdig { |
| 73 | compatible = "ti,twl4030-vintdig"; |
| 74 | }; |
| 75 | |
| 76 | vmmc1: regulator-vmmc1 { |
| 77 | compatible = "ti,twl4030-vmmc1"; |
| 78 | regulator-min-microvolt = <1850000>; |
| 79 | regulator-max-microvolt = <3150000>; |
| 80 | }; |
| 81 | |
| 82 | vmmc2: regulator-vmmc2 { |
| 83 | compatible = "ti,twl4030-vmmc2"; |
| 84 | regulator-min-microvolt = <1850000>; |
| 85 | regulator-max-microvolt = <3150000>; |
| 86 | }; |
| 87 | |
| 88 | vusb1v5: regulator-vusb1v5 { |
| 89 | compatible = "ti,twl4030-vusb1v5"; |
| 90 | }; |
| 91 | |
| 92 | vusb1v8: regulator-vusb1v8 { |
| 93 | compatible = "ti,twl4030-vusb1v8"; |
| 94 | }; |
| 95 | |
| 96 | vusb3v1: regulator-vusb3v1 { |
| 97 | compatible = "ti,twl4030-vusb3v1"; |
| 98 | }; |
| 99 | |
| 100 | vpll1: regulator-vpll1 { |
| 101 | compatible = "ti,twl4030-vpll1"; |
| 102 | }; |
| 103 | |
| 104 | vpll2: regulator-vpll2 { |
| 105 | compatible = "ti,twl4030-vpll2"; |
| 106 | regulator-min-microvolt = <1800000>; |
| 107 | regulator-max-microvolt = <1800000>; |
| 108 | }; |
| 109 | |
| 110 | vsim: regulator-vsim { |
| 111 | compatible = "ti,twl4030-vsim"; |
| 112 | regulator-min-microvolt = <1800000>; |
| 113 | regulator-max-microvolt = <3000000>; |
| 114 | }; |
| 115 | |
| 116 | twl_gpio: gpio { |
| 117 | compatible = "ti,twl4030-gpio"; |
| 118 | gpio-controller; |
| 119 | #gpio-cells = <2>; |
| 120 | interrupt-controller; |
| 121 | #interrupt-cells = <1>; |
| 122 | }; |
| 123 | |
| 124 | usb2_phy: twl4030-usb { |
| 125 | compatible = "ti,twl4030-usb"; |
| 126 | interrupts = <10>, <4>; |
| 127 | usb1v5-supply = <&vusb1v5>; |
| 128 | usb1v8-supply = <&vusb1v8>; |
| 129 | usb3v1-supply = <&vusb3v1>; |
| 130 | usb_mode = <1>; |
| 131 | #phy-cells = <0>; |
| 132 | }; |
| 133 | |
| 134 | twl_pwm: pwm { |
| 135 | compatible = "ti,twl4030-pwm"; |
| 136 | #pwm-cells = <2>; |
| 137 | }; |
| 138 | |
| 139 | twl_pwmled: pwmled { |
| 140 | compatible = "ti,twl4030-pwmled"; |
| 141 | #pwm-cells = <2>; |
| 142 | }; |
| 143 | |
| 144 | twl_pwrbutton: pwrbutton { |
| 145 | compatible = "ti,twl4030-pwrbutton"; |
| 146 | interrupts = <8>; |
| 147 | }; |
| 148 | |
| 149 | twl_keypad: keypad { |
| 150 | compatible = "ti,twl4030-keypad"; |
| 151 | interrupts = <1>; |
| 152 | keypad,num-rows = <8>; |
| 153 | keypad,num-columns = <8>; |
| 154 | }; |
| 155 | |
| 156 | twl_madc: madc { |
| 157 | compatible = "ti,twl4030-madc"; |
| 158 | interrupts = <3>; |
| 159 | #io-channel-cells = <1>; |
| 160 | }; |
| 161 | }; |