nuvoton,npcx-i2c-port

Vendor: Nuvoton Technology Corporation

Note

An implementation of a driver matching this compatible is available in drivers/i2c/i2c_npcx_port.c.

Description

These nodes are “i2c” bus nodes.

Nuvoton NPCX-I2C port pads

Properties

Properties not inherited from the base binding file.

Name

Type

Details

port

int

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.

This property is required.

controller

phandle

i2c controller to handle signals from port pads

This property is required.

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

This property is required.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

This property is required.

clock-frequency

int

Initial clock frequency in Hz

This property is required.

sq-size

int

Size of the submission queue for blocking requests

Default value: 4

cq-size

int

Size of the completion queue for blocking requests

Default value: 4

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.