# Copyright (c) 2024 Renesas Electronics Corporation
# SPDX-License-Identifier: Apache-2.0

description: Renesas RZ/G3S I2C controller

compatible: "renesas,rz-riic"

include: [i2c-controller.yaml, pinctrl-device.yaml]

properties:
  reg:
    required: true

  channel:
    required: true
    type: int

  interrupts:
    required: true

  rise-time-ns:
    type: int
    default: 120
    description: |
      Number of nanoseconds the SCL signal takes to rise; t(r) in the I2C specification.

  fall-time-ns:
    type: int
    default: 120
    description: |
      Number of nanoseconds the SCL signal takes to fall; t(f) in the I2C specification.

  duty-cycle-percent:
    type: int
    default: 50

  noise-filter-stages:
    type: int
    default: 1
    enum:
      - 1
      - 2
      - 3
      - 4
