| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/usb/ti,tusb1046.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Texas Instruments TUSB1046-DCI Type-C crosspoint switch |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Romain Gantois <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: usb-switch.yaml# |
| 14 |
- $ref: usb-switch-ports.yaml# |
| 15 |
|
| 16 |
properties: |
| 17 |
compatible: |
| 18 |
const: ti,tusb1046 |
| 19 |
|
| 20 |
reg: |
| 21 |
maxItems: 1 |
| 22 |
|
| 23 |
required: |
| 24 |
- compatible |
| 25 |
- reg |
| 26 |
- port |
| 27 |
|
| 28 |
unevaluatedProperties: false |
| 29 |
|
| 30 |
examples: |
| 31 |
- | |
| 32 |
i2c { |
| 33 |
#address-cells = <1>; |
| 34 |
#size-cells = <0>; |
| 35 |
|
| 36 |
typec-mux@44 { |
| 37 |
compatible = "ti,tusb1046"; |
| 38 |
reg = <0x44>; |
| 39 |
|
| 40 |
mode-switch; |
| 41 |
orientation-switch; |
| 42 |
|
| 43 |
port { |
| 44 |
endpoint { |
| 45 |
remote-endpoint = <&typec_controller>; |
| 46 |
}; |
| 47 |
}; |
| 48 |
}; |
| 49 |
}; |
| 50 |
... |