Cypress cypd4226 Type-C Controller

Schema identifier ($id): "http://devicetree.org/schemas/usb/cypress,cypd4226.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Wayne Chang <waynec@nvidia.com>"

The Cypress cypd4226 is a dual Type-C controller that is controlled via an I2C interface.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "cypress,cypd4226"

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

reg — required here #

Exact value (const): 8

interrupts — required here #

Array item rules (items) #

Item 1

cypd4226 host interrupt

firmware-name — not listed as required here #

Allowed values (enum): "nvidia,gpu", "nvidia,jetson-agx-xavier"

The name of the CCGx firmware built for product series. should be set one of following: - "nvidia,gpu" for the NVIDIA RTX product series - "nvidia,jetson-agx-xavier" for the NVIDIA Jetson product series

Properties matching a name pattern (patternProperties) #

^connector@[01]$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/connector/usb-connector.yaml#

Required in this object (required): "reg"

Required in this object (required): "compatible", "reg", "interrupts"

At least one of these rules must match (anyOf) #

Rule 1 #

Required in this object (required): "connector@0"

Rule 2 #

Required in this object (required): "connector@1"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  typec@8 {
    compatible = "cypress,cypd4226";
    reg = <0x08>;
    interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
    firmware-name = "nvidia,jetson-agx-xavier";
    #address-cells = <1>;
    #size-cells = <0>;
    connector@0 {
      compatible = "usb-c-connector";
      reg = <0>;
      label = "USB-C";
      data-role = "dual";
      ports {
        #address-cells = <1>;
        #size-cells = <0>;
        port@0 {
          reg = <0>;
          endpoint {
            remote-endpoint = <&usb_role_switch0>;
          };
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page