xref: /linux/Documentation/devicetree/bindings/thermal/ti_soc_thermal.txt (revision 42249094f79422fbf5ed4b54eeb48ff096809b8f)
1* Texas Instrument OMAP SCM bandgap bindings
2
3In the System Control Module, OMAP supplies a voltage reference
4and a temperature sensor feature that are gathered in the band
5gap voltage and temperature sensor (VBGAPTS) module. The band
6gap provides current and voltage reference for its internal
7circuits and other analog IP blocks. The analog-to-digital
8converter (ADC) produces an output value that is proportional
9to the silicon temperature.
10
11Required properties:
12- compatible : Should be:
13  - "ti,omap4430-bandgap" : for OMAP4430 bandgap
14  - "ti,omap4460-bandgap" : for OMAP4460 bandgap
15  - "ti,omap4470-bandgap" : for OMAP4470 bandgap
16  - "ti,omap5430-bandgap" : for OMAP5430 bandgap
17- interrupts : this entry should indicate which interrupt line
18the talert signal is routed to;
19Specific:
20- gpios : this entry should be used to inform which GPIO
21line the tshut signal is routed to. The informed GPIO will
22be treated as an IRQ;
23- regs : this entry must also be specified and it is specific
24to each bandgap version, because the mapping may change from
25soc to soc, apart of depending on available features.
26
27Example:
28OMAP4430:
29bandgap {
30	reg = <0x4a002260 0x4 0x4a00232C 0x4>;
31	compatible = "ti,omap4430-bandgap";
32};
33
34OMAP4460:
35bandgap {
36	reg = <0x4a002260 0x4
37		0x4a00232C 0x4
38		0x4a002378 0x18>;
39	compatible = "ti,omap4460-bandgap";
40	interrupts = <0 126 4>; /* talert */
41	gpios = <&gpio3 22 0>; /* tshut */
42};
43
44OMAP4470:
45bandgap {
46	reg = <0x4a002260 0x4
47		0x4a00232C 0x4
48		0x4a002378 0x18>;
49	compatible = "ti,omap4470-bandgap";
50	interrupts = <0 126 4>; /* talert */
51	gpios = <&gpio3 22 0>; /* tshut */
52};
53
54OMAP5430:
55bandgap {
56	reg = <0x4a0021e0 0xc
57		0x4a00232c 0xc
58		0x4a002380 0x2c
59		0x4a0023C0 0x3c>;
60	compatible = "ti,omap5430-bandgap";
61	interrupts = <0 126 4>; /* talert */
62};
63
64DRA752:
65bandgap {
66	reg = <0x4a0021e0 0xc
67		0x4a00232c 0xc
68		0x4a002380 0x2c
69		0x4a0023C0 0x3c
70		0x4a002564 0x8
71		0x4a002574 0x50>;
72	compatible = "ti,dra752-bandgap";
73	interrupts = <0 126 4>; /* talert */
74};
75