1*c66ec88fSEmmanuel VadotCirrus Logic/Wolfson Microelectronics wm831x PMICs 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotSystem PMICs with a wide range of additional features. 4*c66ec88fSEmmanuel Vadot 5*c66ec88fSEmmanuel VadotRequired properties: 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadot - compatible : One of the following chip-specific strings: 8*c66ec88fSEmmanuel Vadot "wlf,wm8310" 9*c66ec88fSEmmanuel Vadot "wlf,wm8311" 10*c66ec88fSEmmanuel Vadot "wlf,wm8312" 11*c66ec88fSEmmanuel Vadot "wlf,wm8320" 12*c66ec88fSEmmanuel Vadot "wlf,wm8321" 13*c66ec88fSEmmanuel Vadot "wlf,wm8325" 14*c66ec88fSEmmanuel Vadot "wlf,wm8326" 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel Vadot - reg : I2C slave address when connected using I2C, chip select number 17*c66ec88fSEmmanuel Vadot when using SPI. 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel Vadot - gpio-controller : Indicates this device is a GPIO controller. 20*c66ec88fSEmmanuel Vadot - #gpio-cells : Must be 2. The first cell is the pin number and the 21*c66ec88fSEmmanuel Vadot second cell is used to specify optional parameters (currently unused). 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel Vadot - interrupts : The interrupt line the IRQ signal for the device is 24*c66ec88fSEmmanuel Vadot connected to. 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel Vadot - interrupt-controller : wm831x devices contain interrupt controllers and 27*c66ec88fSEmmanuel Vadot may provide interrupt services to other devices. 28*c66ec88fSEmmanuel Vadot - #interrupt-cells: Must be 2. The first cell is the IRQ number, and the 29*c66ec88fSEmmanuel Vadot second cell is the flags, encoded as the trigger masks from 30*c66ec88fSEmmanuel Vadot ../interrupt-controller/interrupts.txt 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel VadotOptional sub-nodes: 33*c66ec88fSEmmanuel Vadot - phys : Contains a phandle to the USB PHY. 34*c66ec88fSEmmanuel Vadot - regulators : Contains sub-nodes for each of the regulators supplied by 35*c66ec88fSEmmanuel Vadot the device. The regulators are bound using their names listed below: 36*c66ec88fSEmmanuel Vadot 37*c66ec88fSEmmanuel Vadot dcdc1 : DCDC1 38*c66ec88fSEmmanuel Vadot dcdc2 : DCDC2 39*c66ec88fSEmmanuel Vadot dcdc3 : DCDC3 40*c66ec88fSEmmanuel Vadot dcdc4 : DCDC3 41*c66ec88fSEmmanuel Vadot isink1 : ISINK1 42*c66ec88fSEmmanuel Vadot isink2 : ISINK2 43*c66ec88fSEmmanuel Vadot ldo1 : LDO1 44*c66ec88fSEmmanuel Vadot ldo2 : LDO2 45*c66ec88fSEmmanuel Vadot ldo3 : LDO3 46*c66ec88fSEmmanuel Vadot ldo4 : LDO4 47*c66ec88fSEmmanuel Vadot ldo5 : LDO5 48*c66ec88fSEmmanuel Vadot ldo7 : LDO7 49*c66ec88fSEmmanuel Vadot ldo11 : LDO11 50*c66ec88fSEmmanuel Vadot 51*c66ec88fSEmmanuel Vadot The bindings details of each regulator can be found in: 52*c66ec88fSEmmanuel Vadot ../regulator/regulator.txt 53*c66ec88fSEmmanuel Vadot 54*c66ec88fSEmmanuel VadotExample: 55*c66ec88fSEmmanuel Vadot 56*c66ec88fSEmmanuel Vadotwm8310: pmic@36 { 57*c66ec88fSEmmanuel Vadot compatible = "wlf,wm8310"; 58*c66ec88fSEmmanuel Vadot reg = <0x36>; 59*c66ec88fSEmmanuel Vadot 60*c66ec88fSEmmanuel Vadot gpio-controller; 61*c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 62*c66ec88fSEmmanuel Vadot 63*c66ec88fSEmmanuel Vadot interrupts = <347>; 64*c66ec88fSEmmanuel Vadot interrupt-parent = <&gic>; 65*c66ec88fSEmmanuel Vadot 66*c66ec88fSEmmanuel Vadot interrupt-controller; 67*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 68*c66ec88fSEmmanuel Vadot 69*c66ec88fSEmmanuel Vadot regulators { 70*c66ec88fSEmmanuel Vadot dcdc1: dcdc1 { 71*c66ec88fSEmmanuel Vadot regulator-name = "DCDC1"; 72*c66ec88fSEmmanuel Vadot regulator-min-microvolt = <600000>; 73*c66ec88fSEmmanuel Vadot regulator-max-microvolt = <600000>; 74*c66ec88fSEmmanuel Vadot }; 75*c66ec88fSEmmanuel Vadot ldo1: ldo1 { 76*c66ec88fSEmmanuel Vadot regulator-name = "LDO1"; 77*c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1700000>; 78*c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1700000>; 79*c66ec88fSEmmanuel Vadot }; 80*c66ec88fSEmmanuel Vadot }; 81*c66ec88fSEmmanuel Vadot}; 82