1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/usb/fcs,fus 4 $id: http://devicetree.org/schemas/usb/fcs,fusb302.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Fairchild FUSB302 Type-C Port controlle 7 title: Fairchild FUSB302 Type-C Port controller 8 8 9 maintainers: 9 maintainers: 10 - Rob Herring <robh@kernel.org> 10 - Rob Herring <robh@kernel.org> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 const: fcs,fusb302 14 const: fcs,fusb302 15 15 16 reg: 16 reg: 17 maxItems: 1 17 maxItems: 1 18 18 19 interrupts: 19 interrupts: 20 maxItems: 1 20 maxItems: 1 21 21 22 vbus-supply: 22 vbus-supply: 23 description: VBUS power supply 23 description: VBUS power supply 24 24 25 connector: 25 connector: 26 type: object 26 type: object 27 $ref: /schemas/connector/usb-connector.yam 27 $ref: /schemas/connector/usb-connector.yaml# 28 unevaluatedProperties: false 28 unevaluatedProperties: false 29 29 30 required: 30 required: 31 - compatible 31 - compatible 32 - reg 32 - reg 33 - interrupts 33 - interrupts 34 - vbus-supply 34 - vbus-supply 35 - connector 35 - connector 36 36 37 additionalProperties: false 37 additionalProperties: false 38 38 39 examples: 39 examples: 40 - | 40 - | 41 #include <dt-bindings/interrupt-controller 41 #include <dt-bindings/interrupt-controller/irq.h> 42 #include <dt-bindings/usb/pd.h> 42 #include <dt-bindings/usb/pd.h> 43 43 44 i2c { 44 i2c { 45 #address-cells = <1>; 45 #address-cells = <1>; 46 #size-cells = <0>; 46 #size-cells = <0>; 47 47 48 typec-portc@54 { 48 typec-portc@54 { 49 compatible = "fcs,fusb302"; 49 compatible = "fcs,fusb302"; 50 reg = <0x54>; 50 reg = <0x54>; 51 interrupt-parent = <&nmi_intc>; 51 interrupt-parent = <&nmi_intc>; 52 interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 52 interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 53 vbus-supply = <&vbus_typec>; 53 vbus-supply = <&vbus_typec>; 54 54 55 connector { 55 connector { 56 compatible = "usb-c-connector"; 56 compatible = "usb-c-connector"; 57 label = "USB-C"; 57 label = "USB-C"; 58 power-role = "dual"; 58 power-role = "dual"; 59 try-power-role = "sink"; 59 try-power-role = "sink"; 60 source-pdos = <PDO_FIXED(5000, 3000, 60 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; 61 sink-pdos = <PDO_FIXED(5000, 3000, P 61 sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM) 62 PDO_VAR(3000, 12000, 30 62 PDO_VAR(3000, 12000, 3000) 63 PDO_PPS_APDO(3000, 1100 63 PDO_PPS_APDO(3000, 11000, 3000)>; 64 op-sink-microwatt = <10000000>; 64 op-sink-microwatt = <10000000>; 65 }; 65 }; 66 }; 66 }; 67 }; 67 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.