1eb982001SEduardo Valentin* Texas Instrument OMAP SCM bandgap bindings 2eb982001SEduardo Valentin 3eb982001SEduardo ValentinIn the System Control Module, OMAP supplies a voltage reference 4eb982001SEduardo Valentinand a temperature sensor feature that are gathered in the band 5eb982001SEduardo Valentingap voltage and temperature sensor (VBGAPTS) module. The band 6eb982001SEduardo Valentingap provides current and voltage reference for its internal 7eb982001SEduardo Valentincircuits and other analog IP blocks. The analog-to-digital 8eb982001SEduardo Valentinconverter (ADC) produces an output value that is proportional 9eb982001SEduardo Valentinto the silicon temperature. 10eb982001SEduardo Valentin 11eb982001SEduardo ValentinRequired properties: 12eb982001SEduardo Valentin- compatible : Should be: 139c5c87e5SPavel Machek - "ti,omap34xx-bandgap" : for OMAP34xx bandgap 14*b840b6e6SEduardo Valentin - "ti,omap36xx-bandgap" : for OMAP36xx bandgap 15eb982001SEduardo Valentin - "ti,omap4430-bandgap" : for OMAP4430 bandgap 16eb982001SEduardo Valentin - "ti,omap4460-bandgap" : for OMAP4460 bandgap 17eb982001SEduardo Valentin - "ti,omap4470-bandgap" : for OMAP4470 bandgap 18eb982001SEduardo Valentin - "ti,omap5430-bandgap" : for OMAP5430 bandgap 19eb982001SEduardo Valentin- interrupts : this entry should indicate which interrupt line 20eb982001SEduardo Valentinthe talert signal is routed to; 21eb982001SEduardo ValentinSpecific: 2257d16171SEduardo Valentin- gpios : this entry should be used to inform which GPIO 2357d16171SEduardo Valentinline the tshut signal is routed to. The informed GPIO will 2457d16171SEduardo Valentinbe treated as an IRQ; 25eb982001SEduardo Valentin- regs : this entry must also be specified and it is specific 26eb982001SEduardo Valentinto each bandgap version, because the mapping may change from 27eb982001SEduardo Valentinsoc to soc, apart of depending on available features. 28eb982001SEduardo Valentin 29eb982001SEduardo ValentinExample: 309c5c87e5SPavel MachekOMAP34xx: 319c5c87e5SPavel Machekbandgap { 329c5c87e5SPavel Machek reg = <0x48002524 0x4>; 339c5c87e5SPavel Machek compatible = "ti,omap34xx-bandgap"; 349c5c87e5SPavel Machek}; 359c5c87e5SPavel Machek 36*b840b6e6SEduardo ValentinOMAP36xx: 37*b840b6e6SEduardo Valentinbandgap { 38*b840b6e6SEduardo Valentin reg = <0x48002524 0x4>; 39*b840b6e6SEduardo Valentin compatible = "ti,omap36xx-bandgap"; 40*b840b6e6SEduardo Valentin}; 41*b840b6e6SEduardo Valentin 42eb982001SEduardo ValentinOMAP4430: 43eb982001SEduardo Valentinbandgap { 44eb982001SEduardo Valentin reg = <0x4a002260 0x4 0x4a00232C 0x4>; 45eb982001SEduardo Valentin compatible = "ti,omap4430-bandgap"; 46eb982001SEduardo Valentin}; 47eb982001SEduardo Valentin 48eb982001SEduardo ValentinOMAP4460: 49eb982001SEduardo Valentinbandgap { 50eb982001SEduardo Valentin reg = <0x4a002260 0x4 51eb982001SEduardo Valentin 0x4a00232C 0x4 52eb982001SEduardo Valentin 0x4a002378 0x18>; 53eb982001SEduardo Valentin compatible = "ti,omap4460-bandgap"; 54eb982001SEduardo Valentin interrupts = <0 126 4>; /* talert */ 5557d16171SEduardo Valentin gpios = <&gpio3 22 0>; /* tshut */ 56eb982001SEduardo Valentin}; 57eb982001SEduardo Valentin 58eb982001SEduardo ValentinOMAP4470: 59eb982001SEduardo Valentinbandgap { 60eb982001SEduardo Valentin reg = <0x4a002260 0x4 61eb982001SEduardo Valentin 0x4a00232C 0x4 62eb982001SEduardo Valentin 0x4a002378 0x18>; 63eb982001SEduardo Valentin compatible = "ti,omap4470-bandgap"; 64eb982001SEduardo Valentin interrupts = <0 126 4>; /* talert */ 6557d16171SEduardo Valentin gpios = <&gpio3 22 0>; /* tshut */ 66eb982001SEduardo Valentin}; 67eb982001SEduardo Valentin 68eb982001SEduardo ValentinOMAP5430: 69eb982001SEduardo Valentinbandgap { 70eb982001SEduardo Valentin reg = <0x4a0021e0 0xc 71eb982001SEduardo Valentin 0x4a00232c 0xc 72eb982001SEduardo Valentin 0x4a002380 0x2c 73eb982001SEduardo Valentin 0x4a0023C0 0x3c>; 74eb982001SEduardo Valentin compatible = "ti,omap5430-bandgap"; 750c156959SEduardo Valentin interrupts = <0 126 4>; /* talert */ 76eb982001SEduardo Valentin}; 77ca0c7114SEduardo Valentin 78ca0c7114SEduardo ValentinDRA752: 79ca0c7114SEduardo Valentinbandgap { 80ca0c7114SEduardo Valentin reg = <0x4a0021e0 0xc 81ca0c7114SEduardo Valentin 0x4a00232c 0xc 82ca0c7114SEduardo Valentin 0x4a002380 0x2c 83ca0c7114SEduardo Valentin 0x4a0023C0 0x3c 84ca0c7114SEduardo Valentin 0x4a002564 0x8 85ca0c7114SEduardo Valentin 0x4a002574 0x50>; 86ca0c7114SEduardo Valentin compatible = "ti,dra752-bandgap"; 87ca0c7114SEduardo Valentin interrupts = <0 126 4>; /* talert */ 88ca0c7114SEduardo Valentin}; 89