1Device-Tree bindings for Active-semi ACT8945A MFD driver 2 3Required properties: 4 - compatible: "active-semi,act8945a". 5 - reg: the I2C slave address for the ACT8945A chip 6 7The chip exposes two subdevices: 8 - a regulators: see ../regulator/act8945a-regulator.txt 9 - a charger: see ../power/act8945a-charger.txt 10 11Example: 12 pmic@5b { 13 compatible = "active-semi,act8945a"; 14 reg = <0x5b>; 15 status = "okay"; 16 17 active-semi,vsel-high; 18 19 regulators { 20 vdd_1v35_reg: REG_DCDC1 { 21 regulator-name = "VDD_1V35"; 22 regulator-min-microvolt = <1350000>; 23 regulator-max-microvolt = <1350000>; 24 regulator-always-on; 25 }; 26 27 vdd_1v2_reg: REG_DCDC2 { 28 regulator-name = "VDD_1V2"; 29 regulator-min-microvolt = <1100000>; 30 regulator-max-microvolt = <1300000>; 31 regulator-always-on; 32 }; 33 34 vdd_3v3_reg: REG_DCDC3 { 35 regulator-name = "VDD_3V3"; 36 regulator-min-microvolt = <3300000>; 37 regulator-max-microvolt = <3300000>; 38 regulator-always-on; 39 }; 40 41 vdd_fuse_reg: REG_LDO1 { 42 regulator-name = "VDD_FUSE"; 43 regulator-min-microvolt = <2500000>; 44 regulator-max-microvolt = <2500000>; 45 regulator-always-on; 46 }; 47 48 vdd_3v3_lp_reg: REG_LDO2 { 49 regulator-name = "VDD_3V3_LP"; 50 regulator-min-microvolt = <3300000>; 51 regulator-max-microvolt = <3300000>; 52 regulator-always-on; 53 }; 54 55 vdd_led_reg: REG_LDO3 { 56 regulator-name = "VDD_LED"; 57 regulator-min-microvolt = <3300000>; 58 regulator-max-microvolt = <3300000>; 59 regulator-always-on; 60 }; 61 62 vdd_sdhc_1v8_reg: REG_LDO4 { 63 regulator-name = "VDD_SDHC_1V8"; 64 regulator-min-microvolt = <1800000>; 65 regulator-max-microvolt = <1800000>; 66 regulator-always-on; 67 }; 68 }; 69 70 charger { 71 compatible = "active-semi,act8945a-charger"; 72 pinctrl-names = "default"; 73 pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>; 74 interrupt-parent = <&pioA>; 75 interrupts = <45 GPIO_ACTIVE_LOW>; 76 77 active-semi,chglev-gpios = <&pioA 12 GPIO_ACTIVE_HIGH>; 78 active-semi,lbo-gpios = <&pioA 72 GPIO_ACTIVE_LOW>; 79 active-semi,input-voltage-threshold-microvolt = <6600>; 80 active-semi,precondition-timeout = <40>; 81 active-semi,total-timeout = <3>; 82 status = "okay"; 83 }; 84 }; 85