Tero Kristo | 00fde6b | 2020-06-16 11:03:05 +0300 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | /* |
Nishanth Menon | a94a407 | 2023-11-01 15:56:03 -0500 | [diff] [blame] | 3 | * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ |
Tero Kristo | 00fde6b | 2020-06-16 11:03:05 +0300 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /* |
| 7 | * Integrated Power Management Chip |
Nishanth Menon | a94a407 | 2023-11-01 15:56:03 -0500 | [diff] [blame] | 8 | * https://www.ti.com/lit/ds/symlink/twl6030.pdf |
Tero Kristo | 00fde6b | 2020-06-16 11:03:05 +0300 | [diff] [blame] | 9 | */ |
| 10 | &twl { |
| 11 | compatible = "ti,twl6030"; |
| 12 | interrupt-controller; |
| 13 | #interrupt-cells = <1>; |
| 14 | |
| 15 | rtc { |
| 16 | compatible = "ti,twl4030-rtc"; |
| 17 | interrupts = <11>; |
| 18 | }; |
| 19 | |
| 20 | vaux1: regulator-vaux1 { |
| 21 | compatible = "ti,twl6030-vaux1"; |
| 22 | regulator-min-microvolt = <1000000>; |
| 23 | regulator-max-microvolt = <3000000>; |
| 24 | }; |
| 25 | |
| 26 | vaux2: regulator-vaux2 { |
| 27 | compatible = "ti,twl6030-vaux2"; |
| 28 | regulator-min-microvolt = <1200000>; |
| 29 | regulator-max-microvolt = <2800000>; |
| 30 | }; |
| 31 | |
| 32 | vaux3: regulator-vaux3 { |
| 33 | compatible = "ti,twl6030-vaux3"; |
| 34 | regulator-min-microvolt = <1000000>; |
| 35 | regulator-max-microvolt = <3000000>; |
| 36 | }; |
| 37 | |
| 38 | vmmc: regulator-vmmc { |
| 39 | compatible = "ti,twl6030-vmmc"; |
| 40 | regulator-min-microvolt = <1200000>; |
| 41 | regulator-max-microvolt = <3000000>; |
| 42 | }; |
| 43 | |
| 44 | vpp: regulator-vpp { |
| 45 | compatible = "ti,twl6030-vpp"; |
| 46 | regulator-min-microvolt = <1800000>; |
| 47 | regulator-max-microvolt = <2500000>; |
| 48 | }; |
| 49 | |
| 50 | vusim: regulator-vusim { |
| 51 | compatible = "ti,twl6030-vusim"; |
| 52 | regulator-min-microvolt = <1200000>; |
| 53 | regulator-max-microvolt = <2900000>; |
| 54 | }; |
| 55 | |
| 56 | vdac: regulator-vdac { |
| 57 | compatible = "ti,twl6030-vdac"; |
| 58 | }; |
| 59 | |
| 60 | vana: regulator-vana { |
| 61 | compatible = "ti,twl6030-vana"; |
| 62 | }; |
| 63 | |
| 64 | vcxio: regulator-vcxio { |
| 65 | compatible = "ti,twl6030-vcxio"; |
| 66 | regulator-always-on; |
| 67 | }; |
| 68 | |
| 69 | vusb: regulator-vusb { |
| 70 | compatible = "ti,twl6030-vusb"; |
| 71 | }; |
| 72 | |
| 73 | v1v8: regulator-v1v8 { |
| 74 | compatible = "ti,twl6030-v1v8"; |
| 75 | regulator-always-on; |
| 76 | }; |
| 77 | |
| 78 | v2v1: regulator-v2v1 { |
| 79 | compatible = "ti,twl6030-v2v1"; |
| 80 | regulator-always-on; |
| 81 | }; |
| 82 | |
| 83 | twl_usb_comparator: usb-comparator { |
| 84 | compatible = "ti,twl6030-usb"; |
| 85 | interrupts = <4>, <10>; |
| 86 | }; |
| 87 | |
| 88 | twl_pwm: pwm { |
| 89 | /* provides two PWMs (id 0, 1 for PWM1 and PWM2) */ |
| 90 | compatible = "ti,twl6030-pwm"; |
| 91 | #pwm-cells = <2>; |
| 92 | }; |
| 93 | |
| 94 | twl_pwmled: pwmled { |
| 95 | /* provides one PWM (id 0 for Charging indicator LED) */ |
| 96 | compatible = "ti,twl6030-pwmled"; |
| 97 | #pwm-cells = <2>; |
| 98 | }; |
| 99 | |
| 100 | gpadc { |
| 101 | compatible = "ti,twl6030-gpadc"; |
| 102 | interrupts = <3>; |
| 103 | #io-channel-cells = <1>; |
| 104 | }; |
| 105 | }; |