xref: /openbmc/u-boot/doc/device-tree-bindings/thermal/ti_soc_thermal.txt (revision 8502f9f6d7781b5f461d7e3f7c958a45f64fdfa1)
1*8502f9f6SFaiz Abbas* Texas Instrument dra7xx SCM bandgap bindings
2*8502f9f6SFaiz Abbas
3*8502f9f6SFaiz AbbasIn the System Control Module, SoC supplies a voltage reference
4*8502f9f6SFaiz Abbasand a temperature sensor feature that are gathered in the band
5*8502f9f6SFaiz Abbasgap voltage and temperature sensor (VBGAPTS) module. The band
6*8502f9f6SFaiz Abbasgap provides current and voltage reference for its internal
7*8502f9f6SFaiz Abbascircuits and other analog IP blocks. The analog-to-digital
8*8502f9f6SFaiz Abbasconverter (ADC) produces an output value that is proportional
9*8502f9f6SFaiz Abbasto the silicon temperature.
10*8502f9f6SFaiz Abbas
11*8502f9f6SFaiz AbbasRequired properties:
12*8502f9f6SFaiz Abbas- compatible : Should be:
13*8502f9f6SFaiz Abbas  - "ti,dra752-bandgap"
14*8502f9f6SFaiz Abbas- interrupts : this entry should indicate which interrupt line
15*8502f9f6SFaiz Abbasthe talert signal is routed to;
16*8502f9f6SFaiz Abbas- regs : this is specific to each bandgap version, because
17*8502f9f6SFaiz Abbasthe mapping may change from soc to soc, apart from depending
18*8502f9f6SFaiz Abbason available features.
19*8502f9f6SFaiz Abbas
20*8502f9f6SFaiz AbbasOptional:
21*8502f9f6SFaiz Abbas- gpios : this entry should be used to inform which GPIO
22*8502f9f6SFaiz Abbasline the tshut signal is routed to. The informed GPIO will
23*8502f9f6SFaiz Abbasbe treated as an IRQ;
24*8502f9f6SFaiz Abbas
25*8502f9f6SFaiz AbbasExample:
26*8502f9f6SFaiz Abbasbandgap {
27*8502f9f6SFaiz Abbas	reg = <0x4a0021e0 0xc
28*8502f9f6SFaiz Abbas		0x4a00232c 0xc
29*8502f9f6SFaiz Abbas		0x4a002380 0x2c
30*8502f9f6SFaiz Abbas		0x4a0023C0 0x3c
31*8502f9f6SFaiz Abbas		0x4a002564 0x8
32*8502f9f6SFaiz Abbas		0x4a002574 0x50>;
33*8502f9f6SFaiz Abbas	compatible = "ti,dra752-bandgap";
34*8502f9f6SFaiz Abbas	interrupts = <0 126 4>; /* talert */
35*8502f9f6SFaiz Abbas};
36