summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/usbc/tcpc/nuvoton,nct38xx.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/dts/bindings/usbc/tcpc/nuvoton,nct38xx.yaml')
-rw-r--r--zephyr/dts/bindings/usbc/tcpc/nuvoton,nct38xx.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/usbc/tcpc/nuvoton,nct38xx.yaml b/zephyr/dts/bindings/usbc/tcpc/nuvoton,nct38xx.yaml
new file mode 100644
index 0000000000..51a69846e0
--- /dev/null
+++ b/zephyr/dts/bindings/usbc/tcpc/nuvoton,nct38xx.yaml
@@ -0,0 +1,22 @@
+# Copyright 2021 The ChromiumOS Authors
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+description: Nuvoton NCT38XX USB TCPC binding
+
+compatible: "nuvoton,nct38xx"
+
+include: i2c-device.yaml
+
+properties:
+ gpio-dev:
+ type: phandle
+ description: |
+ Pointer to the NCT38XX GPIO device. This is used to binding the Cros TCPC
+ port index to Zephyr NCT38XX GPIO device.
+
+ tcpc-flags:
+ type: int
+ default: 0
+ description: |
+ TCPC configuration flags