xref: /linux/Documentation/devicetree/bindings/thermal/ti_soc_thermal.txt (revision 9c5c87e5936e792ddca5cb876d523b6e5d6042e6)
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,omap34xx-bandgap" : for OMAP34xx bandgap
14  - "ti,omap4430-bandgap" : for OMAP4430 bandgap
15  - "ti,omap4460-bandgap" : for OMAP4460 bandgap
16  - "ti,omap4470-bandgap" : for OMAP4470 bandgap
17  - "ti,omap5430-bandgap" : for OMAP5430 bandgap
18- interrupts : this entry should indicate which interrupt line
19the talert signal is routed to;
20Specific:
21- gpios : this entry should be used to inform which GPIO
22line the tshut signal is routed to. The informed GPIO will
23be treated as an IRQ;
24- regs : this entry must also be specified and it is specific
25to each bandgap version, because the mapping may change from
26soc to soc, apart of depending on available features.
27
28Example:
29OMAP34xx:
30bandgap {
31	reg = <0x48002524 0x4>;
32	compatible = "ti,omap34xx-bandgap";
33};
34
35OMAP4430:
36bandgap {
37	reg = <0x4a002260 0x4 0x4a00232C 0x4>;
38	compatible = "ti,omap4430-bandgap";
39};
40
41OMAP4460:
42bandgap {
43	reg = <0x4a002260 0x4
44		0x4a00232C 0x4
45		0x4a002378 0x18>;
46	compatible = "ti,omap4460-bandgap";
47	interrupts = <0 126 4>; /* talert */
48	gpios = <&gpio3 22 0>; /* tshut */
49};
50
51OMAP4470:
52bandgap {
53	reg = <0x4a002260 0x4
54		0x4a00232C 0x4
55		0x4a002378 0x18>;
56	compatible = "ti,omap4470-bandgap";
57	interrupts = <0 126 4>; /* talert */
58	gpios = <&gpio3 22 0>; /* tshut */
59};
60
61OMAP5430:
62bandgap {
63	reg = <0x4a0021e0 0xc
64		0x4a00232c 0xc
65		0x4a002380 0x2c
66		0x4a0023C0 0x3c>;
67	compatible = "ti,omap5430-bandgap";
68	interrupts = <0 126 4>; /* talert */
69};
70
71DRA752:
72bandgap {
73	reg = <0x4a0021e0 0xc
74		0x4a00232c 0xc
75		0x4a002380 0x2c
76		0x4a0023C0 0x3c
77		0x4a002564 0x8
78		0x4a002574 0x50>;
79	compatible = "ti,dra752-bandgap";
80	interrupts = <0 126 4>; /* talert */
81};
82