Back to home page

OSCL-LXR

 
 

    


0001 * Texas Instrument OMAP SCM bandgap bindings
0002 
0003 In the System Control Module, OMAP supplies a voltage reference
0004 and a temperature sensor feature that are gathered in the band
0005 gap voltage and temperature sensor (VBGAPTS) module. The band
0006 gap provides current and voltage reference for its internal
0007 circuits and other analog IP blocks. The analog-to-digital
0008 converter (ADC) produces an output value that is proportional
0009 to the silicon temperature.
0010 
0011 Required properties:
0012 - compatible : Should be:
0013   - "ti,omap34xx-bandgap" : for OMAP34xx bandgap
0014   - "ti,omap36xx-bandgap" : for OMAP36xx bandgap
0015   - "ti,omap4430-bandgap" : for OMAP4430 bandgap
0016   - "ti,omap4460-bandgap" : for OMAP4460 bandgap
0017   - "ti,omap4470-bandgap" : for OMAP4470 bandgap
0018   - "ti,omap5430-bandgap" : for OMAP5430 bandgap
0019 - interrupts : this entry should indicate which interrupt line
0020 the talert signal is routed to;
0021 Specific:
0022 - gpios : this entry should be used to inform which GPIO
0023 line the tshut signal is routed to. The informed GPIO will
0024 be treated as an IRQ;
0025 - regs : this entry must also be specified and it is specific
0026 to each bandgap version, because the mapping may change from
0027 soc to soc, apart of depending on available features.
0028 
0029 Example:
0030 OMAP34xx:
0031 bandgap {
0032         reg = <0x48002524 0x4>;
0033         compatible = "ti,omap34xx-bandgap";
0034 };
0035 
0036 OMAP36xx:
0037 bandgap {
0038         reg = <0x48002524 0x4>;
0039         compatible = "ti,omap36xx-bandgap";
0040 };
0041 
0042 OMAP4430:
0043 bandgap {
0044         reg = <0x4a002260 0x4 0x4a00232C 0x4>;
0045         compatible = "ti,omap4430-bandgap";
0046 };
0047 
0048 OMAP4460:
0049 bandgap {
0050         reg = <0x4a002260 0x4
0051                 0x4a00232C 0x4
0052                 0x4a002378 0x18>;
0053         compatible = "ti,omap4460-bandgap";
0054         interrupts = <0 126 4>; /* talert */
0055         gpios = <&gpio3 22 0>; /* tshut */
0056 };
0057 
0058 OMAP4470:
0059 bandgap {
0060         reg = <0x4a002260 0x4
0061                 0x4a00232C 0x4
0062                 0x4a002378 0x18>;
0063         compatible = "ti,omap4470-bandgap";
0064         interrupts = <0 126 4>; /* talert */
0065         gpios = <&gpio3 22 0>; /* tshut */
0066 };
0067 
0068 OMAP5430:
0069 bandgap {
0070         reg = <0x4a0021e0 0xc
0071                 0x4a00232c 0xc
0072                 0x4a002380 0x2c
0073                 0x4a0023C0 0x3c>;
0074         compatible = "ti,omap5430-bandgap";
0075         interrupts = <0 126 4>; /* talert */
0076 };
0077 
0078 DRA752:
0079 bandgap {
0080         reg = <0x4a0021e0 0xc
0081                 0x4a00232c 0xc
0082                 0x4a002380 0x2c
0083                 0x4a0023C0 0x3c
0084                 0x4a002564 0x8
0085                 0x4a002574 0x50>;
0086         compatible = "ti,dra752-bandgap";
0087         interrupts = <0 126 4>; /* talert */
0088 };