wm831x.txt 2.0 KB

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