1*c66ec88fSEmmanuel VadotRichtek RT1711H TypeC PD Controller. 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot - compatible : Must be "richtek,rt1711h". 5*c66ec88fSEmmanuel Vadot - reg : Must be 0x4e, it's slave address of RT1711H. 6*c66ec88fSEmmanuel Vadot - interrupts : <a b> where a is the interrupt number and b represents an 7*c66ec88fSEmmanuel Vadot encoding of the sense and level information for the interrupt. 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel VadotRequired sub-node: 10*c66ec88fSEmmanuel Vadot- connector: The "usb-c-connector" attached to the tcpci chip, the bindings 11*c66ec88fSEmmanuel Vadot of connector node are specified in 12*c66ec88fSEmmanuel Vadot Documentation/devicetree/bindings/connector/usb-connector.yaml 13*c66ec88fSEmmanuel Vadot 14*c66ec88fSEmmanuel VadotExample : 15*c66ec88fSEmmanuel Vadotrt1711h@4e { 16*c66ec88fSEmmanuel Vadot compatible = "richtek,rt1711h"; 17*c66ec88fSEmmanuel Vadot reg = <0x4e>; 18*c66ec88fSEmmanuel Vadot interrupt-parent = <&gpio26>; 19*c66ec88fSEmmanuel Vadot interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 20*c66ec88fSEmmanuel Vadot 21*c66ec88fSEmmanuel Vadot usb_con: connector { 22*c66ec88fSEmmanuel Vadot compatible = "usb-c-connector"; 23*c66ec88fSEmmanuel Vadot label = "USB-C"; 24*c66ec88fSEmmanuel Vadot data-role = "dual"; 25*c66ec88fSEmmanuel Vadot power-role = "dual"; 26*c66ec88fSEmmanuel Vadot try-power-role = "sink"; 27*c66ec88fSEmmanuel Vadot source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>; 28*c66ec88fSEmmanuel Vadot sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM) 29*c66ec88fSEmmanuel Vadot PDO_VAR(5000, 12000, 2000)>; 30*c66ec88fSEmmanuel Vadot op-sink-microwatt = <10000000>; 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel Vadot ports { 33*c66ec88fSEmmanuel Vadot #address-cells = <1>; 34*c66ec88fSEmmanuel Vadot #size-cells = <0>; 35*c66ec88fSEmmanuel Vadot 36*c66ec88fSEmmanuel Vadot port@1 { 37*c66ec88fSEmmanuel Vadot reg = <1>; 38*c66ec88fSEmmanuel Vadot usb_con_ss: endpoint { 39*c66ec88fSEmmanuel Vadot remote-endpoint = <&usb3_data_ss>; 40*c66ec88fSEmmanuel Vadot }; 41*c66ec88fSEmmanuel Vadot }; 42*c66ec88fSEmmanuel Vadot }; 43*c66ec88fSEmmanuel Vadot }; 44*c66ec88fSEmmanuel Vadot}; 45