Linux Audio

Check our new training course

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