1*4882a593Smuzhiyun* TPS65912 Power Management Integrated Circuit bindings 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun - compatible : Should be "ti,tps65912". 5*4882a593Smuzhiyun - reg : Slave address or chip select number (I2C / SPI). 6*4882a593Smuzhiyun - interrupts : The interrupt line the device is connected to. 7*4882a593Smuzhiyun - interrupt-controller : Marks the device node as an interrupt controller. 8*4882a593Smuzhiyun - #interrupt-cells : The number of cells to describe an IRQ, should be 2. 9*4882a593Smuzhiyun The first cell is the IRQ number. 10*4882a593Smuzhiyun The second cell is the flags, encoded as trigger 11*4882a593Smuzhiyun masks from ../interrupt-controller/interrupts.txt. 12*4882a593Smuzhiyun - gpio-controller : Marks the device node as a GPIO Controller. 13*4882a593Smuzhiyun - #gpio-cells : Should be two. The first cell is the pin number and 14*4882a593Smuzhiyun the second cell is used to specify flags. 15*4882a593Smuzhiyun See ../gpio/gpio.txt for more information. 16*4882a593Smuzhiyun - regulators: : List of child nodes that specify the regulator 17*4882a593Smuzhiyun initialization data. Child nodes must be named 18*4882a593Smuzhiyun after their hardware counterparts: dcdc[1-4] and 19*4882a593Smuzhiyun ldo[1-10]. Each child nodes is defined using the 20*4882a593Smuzhiyun standard binding for regulators. 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunExample: 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun pmic: tps65912@2d { 25*4882a593Smuzhiyun compatible = "ti,tps65912"; 26*4882a593Smuzhiyun reg = <0x2d>; 27*4882a593Smuzhiyun interrupt-parent = <&gpio1>; 28*4882a593Smuzhiyun interrupts = <28 IRQ_TYPE_LEVEL_LOW>; 29*4882a593Smuzhiyun interrupt-controller; 30*4882a593Smuzhiyun #interrupt-cells = <2>; 31*4882a593Smuzhiyun gpio-controller; 32*4882a593Smuzhiyun #gpio-cells = <2>; 33*4882a593Smuzhiyun 34*4882a593Smuzhiyun regulators { 35*4882a593Smuzhiyun dcdc1 { 36*4882a593Smuzhiyun regulator-name = "vdd_core"; 37*4882a593Smuzhiyun regulator-min-microvolt = <912000>; 38*4882a593Smuzhiyun regulator-max-microvolt = <1144000>; 39*4882a593Smuzhiyun regulator-boot-on; 40*4882a593Smuzhiyun regulator-always-on; 41*4882a593Smuzhiyun }; 42*4882a593Smuzhiyun 43*4882a593Smuzhiyun ldo1 { 44*4882a593Smuzhiyun regulator-name = "ldo1"; 45*4882a593Smuzhiyun regulator-min-microvolt = <1900000>; 46*4882a593Smuzhiyun regulator-max-microvolt = <1900000>; 47*4882a593Smuzhiyun }; 48*4882a593Smuzhiyun }; 49*4882a593Smuzhiyun }; 50