162306a36Sopenharmony_ci* Texas Instrument OMAP SCM bandgap bindings
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciIn the System Control Module, OMAP supplies a voltage reference
462306a36Sopenharmony_ciand a temperature sensor feature that are gathered in the band
562306a36Sopenharmony_cigap voltage and temperature sensor (VBGAPTS) module. The band
662306a36Sopenharmony_cigap provides current and voltage reference for its internal
762306a36Sopenharmony_cicircuits and other analog IP blocks. The analog-to-digital
862306a36Sopenharmony_ciconverter (ADC) produces an output value that is proportional
962306a36Sopenharmony_cito the silicon temperature.
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciRequired properties:
1262306a36Sopenharmony_ci- compatible : Should be:
1362306a36Sopenharmony_ci  - "ti,omap34xx-bandgap" : for OMAP34xx bandgap
1462306a36Sopenharmony_ci  - "ti,omap36xx-bandgap" : for OMAP36xx bandgap
1562306a36Sopenharmony_ci  - "ti,omap4430-bandgap" : for OMAP4430 bandgap
1662306a36Sopenharmony_ci  - "ti,omap4460-bandgap" : for OMAP4460 bandgap
1762306a36Sopenharmony_ci  - "ti,omap4470-bandgap" : for OMAP4470 bandgap
1862306a36Sopenharmony_ci  - "ti,omap5430-bandgap" : for OMAP5430 bandgap
1962306a36Sopenharmony_ci- interrupts : this entry should indicate which interrupt line
2062306a36Sopenharmony_cithe talert signal is routed to;
2162306a36Sopenharmony_ciSpecific:
2262306a36Sopenharmony_ci- gpios : this entry should be used to inform which GPIO
2362306a36Sopenharmony_ciline the tshut signal is routed to. The informed GPIO will
2462306a36Sopenharmony_cibe treated as an IRQ;
2562306a36Sopenharmony_ci- regs : this entry must also be specified and it is specific
2662306a36Sopenharmony_cito each bandgap version, because the mapping may change from
2762306a36Sopenharmony_cisoc to soc, apart of depending on available features.
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciExample:
3062306a36Sopenharmony_ciOMAP34xx:
3162306a36Sopenharmony_cibandgap {
3262306a36Sopenharmony_ci	reg = <0x48002524 0x4>;
3362306a36Sopenharmony_ci	compatible = "ti,omap34xx-bandgap";
3462306a36Sopenharmony_ci};
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ciOMAP36xx:
3762306a36Sopenharmony_cibandgap {
3862306a36Sopenharmony_ci	reg = <0x48002524 0x4>;
3962306a36Sopenharmony_ci	compatible = "ti,omap36xx-bandgap";
4062306a36Sopenharmony_ci};
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ciOMAP4430:
4362306a36Sopenharmony_cibandgap {
4462306a36Sopenharmony_ci	reg = <0x4a002260 0x4 0x4a00232C 0x4>;
4562306a36Sopenharmony_ci	compatible = "ti,omap4430-bandgap";
4662306a36Sopenharmony_ci};
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ciOMAP4460:
4962306a36Sopenharmony_cibandgap {
5062306a36Sopenharmony_ci	reg = <0x4a002260 0x4
5162306a36Sopenharmony_ci		0x4a00232C 0x4
5262306a36Sopenharmony_ci		0x4a002378 0x18>;
5362306a36Sopenharmony_ci	compatible = "ti,omap4460-bandgap";
5462306a36Sopenharmony_ci	interrupts = <0 126 4>; /* talert */
5562306a36Sopenharmony_ci	gpios = <&gpio3 22 0>; /* tshut */
5662306a36Sopenharmony_ci};
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ciOMAP4470:
5962306a36Sopenharmony_cibandgap {
6062306a36Sopenharmony_ci	reg = <0x4a002260 0x4
6162306a36Sopenharmony_ci		0x4a00232C 0x4
6262306a36Sopenharmony_ci		0x4a002378 0x18>;
6362306a36Sopenharmony_ci	compatible = "ti,omap4470-bandgap";
6462306a36Sopenharmony_ci	interrupts = <0 126 4>; /* talert */
6562306a36Sopenharmony_ci	gpios = <&gpio3 22 0>; /* tshut */
6662306a36Sopenharmony_ci};
6762306a36Sopenharmony_ci
6862306a36Sopenharmony_ciOMAP5430:
6962306a36Sopenharmony_cibandgap {
7062306a36Sopenharmony_ci	reg = <0x4a0021e0 0xc
7162306a36Sopenharmony_ci		0x4a00232c 0xc
7262306a36Sopenharmony_ci		0x4a002380 0x2c
7362306a36Sopenharmony_ci		0x4a0023C0 0x3c>;
7462306a36Sopenharmony_ci	compatible = "ti,omap5430-bandgap";
7562306a36Sopenharmony_ci	interrupts = <0 126 4>; /* talert */
7662306a36Sopenharmony_ci};
7762306a36Sopenharmony_ci
7862306a36Sopenharmony_ciDRA752:
7962306a36Sopenharmony_cibandgap {
8062306a36Sopenharmony_ci	reg = <0x4a0021e0 0xc
8162306a36Sopenharmony_ci		0x4a00232c 0xc
8262306a36Sopenharmony_ci		0x4a002380 0x2c
8362306a36Sopenharmony_ci		0x4a0023C0 0x3c
8462306a36Sopenharmony_ci		0x4a002564 0x8
8562306a36Sopenharmony_ci		0x4a002574 0x50>;
8662306a36Sopenharmony_ci	compatible = "ti,dra752-bandgap";
8762306a36Sopenharmony_ci	interrupts = <0 126 4>; /* talert */
8862306a36Sopenharmony_ci};
89