1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright 2023 Realtek Semiconductor Corporation
5 $id: http://devicetree.org/schemas/usb/realtek,rtd-type-c.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Realtek DHC RTD SoCs USB Type-C Connector detection
11 - Stanley Chang <stanley_chang@realtek.com>
14 Realtek digital home center (DHC) RTD series SoCs include a type c module.
15 This module is able to detect the state of type c connector.
20 - realtek,rtd1295-type-c
21 - realtek,rtd1312c-type-c
22 - realtek,rtd1315e-type-c
23 - realtek,rtd1319-type-c
24 - realtek,rtd1319d-type-c
25 - realtek,rtd1395-type-c
26 - realtek,rtd1619-type-c
27 - realtek,rtd1619b-type-c
42 The phandle to nvmem cell that contains the trimming data.
43 The type c parameter trimming data specified via efuse.
44 If unspecified, default value is used.
46 realtek,rd-ctrl-gpios:
47 description: The gpio node to control external Rd on board.
51 $ref: /schemas/connector/usb-connector.yaml#
52 description: Properties for usb c connector.
60 additionalProperties: false
64 #include <dt-bindings/interrupt-controller/irq.h>
67 compatible = "realtek,rtd1619b-type-c";
69 interrupts = <0 60 IRQ_TYPE_LEVEL_HIGH>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&usb_cc1_pins>, <&usb_cc2_pins>;
73 nvmem-cells = <&otp_usb_cal>;
74 nvmem-cell-names = "usb-cal";
77 compatible = "usb-c-connector";