xref: /freebsd/sys/contrib/device-tree/Bindings/power/supply/microchip,ucs1002.txt (revision e32fecd0c2c3ee37c47ee100f169e7eb0282a873)
1Microchip UCS1002 USB Port Power Controller
2
3Required properties:
4- compatible		: Should be "microchip,ucs1002";
5- reg			: I2C slave address
6
7Optional properties:
8- interrupts		: A list of interrupts lines present (could be either
9			  corresponding to A_DET# pin, ALERT# pin, or both)
10- interrupt-names	: A list of interrupt names. Should contain (if
11			  present):
12			  - "a_det" for line connected to A_DET# pin
13			  - "alert" for line connected to ALERT# pin
14			  Both are expected to be IRQ_TYPE_EDGE_BOTH
15Example:
16
17&i2c3 {
18	charger@32 {
19		compatible = "microchip,ucs1002";
20		pinctrl-names = "default";
21		pinctrl-0 = <&pinctrl_ucs1002_pins>;
22		reg = <0x32>;
23		interrupts-extended = <&gpio5 2 IRQ_TYPE_EDGE_BOTH>,
24				      <&gpio3 21 IRQ_TYPE_EDGE_BOTH>;
25		interrupt-names = "a_det", "alert";
26	};
27};
28