53 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/extcon/fcs,fsa880.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Fairchild Semiconductor FSA880, FSA9480 and compatibles8 9maintainers:10 - Linus Walleij <linus.walleij@linaro.org>11 12description:13 The FSA880 and FSA9480 are USB port accessory detectors and switches.14 The switch is fully controlled using I2C and enables USB data, stereo15 and mono audio, video, microphone, and UART data to use a common16 connector port. Compatible switches exist from other manufacturers.17 18properties:19 compatible:20 enum:21 - fcs,fsa88022 - fcs,fsa948023 - ti,tsu611124 25 reg:26 maxItems: 127 description: The I2C address for an FSA880 compatible device is28 usually 0x25.29 30 interrupts:31 maxItems: 132 33required:34 - compatible35 - reg36 - interrupts37 38additionalProperties: false39 40examples:41 - |42 #include <dt-bindings/interrupt-controller/irq.h>43 i2c {44 #address-cells = <1>;45 #size-cells = <0>;46 usb-switch@25 {47 compatible = "fcs,fsa880";48 reg = <0x25>;49 interrupt-parent = <&gpio>;50 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;51 };52 };53