xref: /linux/Documentation/devicetree/bindings/mfd/mc13xxx.txt (revision 4413e16d9d21673bb5048a2e542f1aaa00015c2e)
1* Freescale MC13783/MC13892 Power Management Integrated Circuit (PMIC)
2
3Required properties:
4- compatible : Should be "fsl,mc13783" or "fsl,mc13892"
5
6Optional properties:
7- fsl,mc13xxx-uses-adc : Indicate the ADC is being used
8- fsl,mc13xxx-uses-codec : Indicate the Audio Codec is being used
9- fsl,mc13xxx-uses-rtc : Indicate the RTC is being used
10- fsl,mc13xxx-uses-touch : Indicate the touchscreen controller is being used
11
12Sub-nodes:
13- regulators : Contain the regulator nodes.  The MC13892 regulators are
14  bound using their names as listed below with their registers and bits
15  for enabling.
16
17    vcoincell : regulator VCOINCELL (register 13, bit 23)
18    sw1       : regulator SW1	    (register 24, bit 0)
19    sw2       : regulator SW2	    (register 25, bit 0)
20    sw3       : regulator SW3	    (register 26, bit 0)
21    sw4       : regulator SW4	    (register 27, bit 0)
22    swbst     : regulator SWBST	    (register 29, bit 20)
23    vgen1     : regulator VGEN1	    (register 32, bit 0)
24    viohi     : regulator VIOHI	    (register 32, bit 3)
25    vdig      : regulator VDIG	    (register 32, bit 9)
26    vgen2     : regulator VGEN2	    (register 32, bit 12)
27    vpll      : regulator VPLL	    (register 32, bit 15)
28    vusb2     : regulator VUSB2	    (register 32, bit 18)
29    vgen3     : regulator VGEN3	    (register 33, bit 0)
30    vcam      : regulator VCAM	    (register 33, bit 6)
31    vvideo    : regulator VVIDEO    (register 33, bit 12)
32    vaudio    : regulator VAUDIO    (register 33, bit 15)
33    vsd       : regulator VSD	    (register 33, bit 18)
34    gpo1      : regulator GPO1	    (register 34, bit 6)
35    gpo2      : regulator GPO2	    (register 34, bit 8)
36    gpo3      : regulator GPO3	    (register 34, bit 10)
37    gpo4      : regulator GPO4	    (register 34, bit 12)
38    pwgt1spi  : regulator PWGT1SPI  (register 34, bit 15)
39    pwgt2spi  : regulator PWGT2SPI  (register 34, bit 16)
40    vusb      : regulator VUSB	    (register 50, bit 3)
41
42  The bindings details of individual regulator device can be found in:
43  Documentation/devicetree/bindings/regulator/regulator.txt
44
45Examples:
46
47ecspi@70010000 { /* ECSPI1 */
48	fsl,spi-num-chipselects = <2>;
49	cs-gpios = <&gpio4 24 0>, /* GPIO4_24 */
50		   <&gpio4 25 0>; /* GPIO4_25 */
51	status = "okay";
52
53	pmic: mc13892@0 {
54		#address-cells = <1>;
55		#size-cells = <0>;
56		compatible = "fsl,mc13892";
57		spi-max-frequency = <6000000>;
58		reg = <0>;
59		interrupt-parent = <&gpio0>;
60		interrupts = <8>;
61
62		regulators {
63			sw1_reg: mc13892__sw1 {
64				regulator-min-microvolt = <600000>;
65				regulator-max-microvolt = <1375000>;
66				regulator-boot-on;
67				regulator-always-on;
68			};
69
70			sw2_reg: mc13892__sw2 {
71				regulator-min-microvolt = <900000>;
72				regulator-max-microvolt = <1850000>;
73				regulator-boot-on;
74				regulator-always-on;
75			};
76		};
77	};
78};
79