| # Copyright (c) 2022 ITE Corporation. All Rights Reserved. |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| description: Common fields for ITE it8xxx2 I2C |
| |
| include: i2c-controller.yaml |
| |
| properties: |
| reg: |
| required: true |
| |
| interrupts: |
| required: true |
| |
| port-num: |
| type: int |
| required: true |
| description: Ordinal identifying the port |
| |
| gpio-dev: |
| type: phandle |
| required: true |
| description: Get the handle of the GPIO device |
| |
| pinctrl-0: |
| type: phandles |
| required: true |
| description: | |
| Configuration of I2C SCL and SDA pinmux controller. |
| The SCL pin must be specified first and the SDA pin |
| second in the pinctrl-0 array. |
| |
| clock-gate-offset: |
| type: int |
| required: true |
| description: | |
| The clock gate offsets combine the register offset from |
| ECPM_BASE and the mask within that register into one value. |