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