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