mc13xxx.txt 2.7 KB

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