1# Copyright 2022 Google LLC
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5    Richtek RT1718S TCPC chip GPIO port
6
7    "richtek,rt1718s-gpio-port" node handles GPIO feature of the RT1718S TCPC
8    chip.
9
10    Example:
11      &i2c2_0 {
12          rt1718s_port0: rt1718s@40 {
13              compatible = "richtek,rt1718s";
14              reg = <0x40>;
15
16              rt1718s_gpio_port0: rt1718s_gpio {
17                  compatible = "richtek,rt1718s-gpio-port";
18
19                  gpio-controller;
20                  #gpio-cells = <2>;
21                  ngpios = <3>;
22              };
23          };
24      };
25
26include: [gpio-controller.yaml, base.yaml]
27
28compatible: "richtek,rt1718s-gpio-port"
29