| |
| Amlogic Power Management Integrated Circuit (PMIC) |
| |
| PMIC6 consists of a large and varied group of sub-devices (I2C Only): |
| |
| Device Supply Names Description |
| ------ ------------ ----------- |
| pmic6-regulator : : LDOs & DCDCs |
| pmic6-pwrkey : : power Key |
| pmic6-gpio : : gpio |
| pmic6-battery : : battery |
| |
| ====== |
| |
| Required properties: |
| |
| - compatible : Should be "amlogic,pmic6" |
| - reg: I2C slave address |
| - interrupts: the interrupt outputs of the controller |
| - #gpio-cells: number of cells to describe a GPIO, this should be 2. |
| The first cell is the GPIO number. |
| The second cell is used to specify additional options <unused>. |
| - gpio-controller: mark the device as a GPIO controller |
| - #interrupt-cells: the number of cells to describe an IRQ, this should be 2. |
| The first cell is the IRQ number. |
| The second cell is the flags, encoded as the trigger masks from |
| Documentation/devicetree/bindings/interrupt-controller/interrupts.txt |
| - regulators: This is the list of child nodes that specify the regulator |
| initialization data for defined regulators. Not all regulators for the given |
| device need to be present. The definition for each of these nodes is defined |
| using the standard binding for regulators found at |
| Documentation/devicetree/bindings/regulator/regulator.txt. |
| The regulator is matched with the regulator-compatible. |
| |
| Example: |
| pmic@35 { |
| compatible = "amlogic,pmic6"; |
| reg = <0x35>; |
| interrupt-parent = <&gpio_intc>; |
| interrupts = <10 IRQ_TYPE_LEVEL_LOW>; |
| //irq-gpio = <&gpio GPIOF_10 GPIO_ACTIVE_LOW>; |
| system-power-controller; |
| interrupt-controller; |
| #interrupt-cells = <2>; |
| gpio-controller; |
| #gpio-cells = <2>; |
| |
| regulators { |
| VDD_CORE: DCDC1 { |
| regulator-name = "VDD_CORE"; |
| regulator-min-microvolt = <690000>; |
| regulator-max-microvolt = <1010000>; |
| regulator-boot-on; |
| regulator-always-on; |
| }; |
| |
| VDDQ: DCDC2 { |
| regulator-name = "VDDQ"; |
| regulator-min-microvolt = <1350000>; |
| regulator-max-microvolt = <1350000>; |
| regulator-boot-on; |
| regulator-always-on; |
| }; |
| |
| VDDAO_3_3V: DCDC3 { |
| regulator-name = "VDDAO_3_3V"; |
| regulator-min-microvolt = <3300000>; |
| regulator-max-microvolt = <3300000>; |
| regulator-boot-on; |
| regulator-always-on; |
| }; |
| |
| AVDD_1_8V: LDO1 { |
| regulator-name = "AVDD_1_8V"; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <1800000>; |
| regulator-boot-on; |
| regulator-always-on; |
| }; |
| |
| MIC_BIA_3_3V: LDO2 { |
| regulator-name = "MIC_BIA_3_3V"; |
| regulator-min-microvolt = <3300000>; |
| regulator-max-microvolt = <3300000>; |
| regulator-boot-on; |
| regulator-always-on; |
| }; |
| |
| VCC_1_8V: LDO3 { |
| regulator-name = "VCC_1_8V"; |
| regulator-min-microvolt = <1800000>; |
| regulator-max-microvolt = <1800000>; |
| regulator-boot-on; |
| regulator-always-on; |
| }; |
| }; |
| |
| gpio { |
| compatible = "amlogic,pmic6-gpio"; |
| }; |
| |
| pwrkey { |
| compatible = "amlogic,pmic6-pwrkey"; |
| }; |
| |
| charger { |
| compatible = "amlogic,pmic6-battery"; |
| }; |
| |
| |
| |