| # Copyright (c) 2020 Nuvoton Technology Corporation. |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| description: Nuvoton NPCX-I2C port pads |
| |
| compatible: "nuvoton,npcx-i2c-port" |
| |
| include: [i2c-controller.yaml, pinctrl-device.yaml] |
| |
| properties: |
| port: |
| type: int |
| required: true |
| description: | |
| Index of i2c port |
| This property is used to differentiate between multiple I2C ports controlled by the same |
| or different I2C controllers. |
| Bit[7:4] module id (controller). |
| Bit[3:0] port id. |
| Use the macro NPCX_I2C_CTRL_PORT(ctrl, port) to set this property. |
| |
| controller: |
| type: phandle |
| required: true |
| description: i2c controller to handle signals from port pads |
| |
| pinctrl-0: |
| required: true |
| |
| pinctrl-names: |
| required: true |
| |
| clock-frequency: |
| required: true |