xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/stmfx.txt (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1STMicroelectonics Multi-Function eXpander (STMFX) Core bindings
2
3ST Multi-Function eXpander (STMFX) is a slave controller using I2C for
4communication with the main MCU. Its main features are GPIO expansion, main
5MCU IDD measurement (IDD is the amount of current that flows through VDD) and
6resistive touchscreen controller.
7
8Required properties:
9- compatible: should be "st,stmfx-0300".
10- reg: I2C slave address of the device.
11- interrupts: interrupt specifier triggered by MFX_IRQ_OUT signal.
12  Please refer to ../interrupt-controller/interrupt.txt
13
14Optional properties:
15- drive-open-drain: configure MFX_IRQ_OUT as open drain.
16- vdd-supply: phandle of the regulator supplying STMFX.
17
18Example:
19
20	stmfx: stmfx@42 {
21		compatible = "st,stmfx-0300";
22		reg = <0x42>;
23		interrupts = <8 IRQ_TYPE_EDGE_RISING>;
24		interrupt-parent = <&gpioi>;
25		vdd-supply = <&v3v3>;
26	};
27
28Please refer to ../pinctrl/pinctrl-stmfx.txt for STMFX GPIO expander function bindings.
29