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