nuvoton,npcx-i3c
Vendor: Nuvoton Technology Corporation
Note
An implementation of a driver matching this compatible is available in drivers/i3c/i3c_npcx.c.
Description
These nodes are “[‘i3c’, ‘i2c’]” bus nodes.
Nuvoton I3C controller
Representation:
/* If CONFIG_I3C_NPCX is enabled, the suggested clock configuration is as follows: */
&pcc {
clock-frequency = <DT_FREQ_M(90)>; /* OFMCLK runs at 90MHz */
core-prescaler = <3>; /* CORE_CLK runs at 30MHz */
apb1-prescaler = <6>; /* APB1_CLK runs at 15MHz */
apb2-prescaler = <6>; /* APB2_CLK runs at 15MHz */
apb3-prescaler = <6>; /* APB3_CLK runs at 15MHz */
apb4-prescaler = <3>; /* APB4_CLK runs at 30MHz */
};
&rst {
status = "okay";
};
&i3c0 {
status = "okay";
/* I3C clock frequency suggestion = <PP_SCL, OD_SCL> */
* Full speed = <12500000, 4170000>
* Normal speed = <7500000, 1500000>
*/
i3c-scl-hz = <12500000>;
i3c-od-scl-hz = <4170000>;
bcr = <0x67>; /* Set for controller mode */
};
Properties
Properties not inherited from the base binding file.
Name |
Type |
Details |
---|---|---|
|
|
Reset information
This property is required. |
|
|
Open Drain Frequency for the I3C controller. When undefined, use
the controller default or as specified by the I3C specification.
|
|
|
Instance ID of the device, used to specify port number.
Bit[7:4] module id.
Bit[3:0] port id.
This property is required. |
|
|
Initialized as a secondary controller.
|
|
|
Target static address.
|
|
|
Target 48-bit Provisioned ID.
array[0]: PID[47:33] MIPI manufacturer ID.
PID[32] ID type selector (i'b1 ramdom value, 1'b0 vendor fixed).
array[1]: PID[31:0] Random value or vendor fixed value.
|
|
|
Bus Characteristics Register, used for bus enumeration with ENTDAA and
determine device role and capabilities of the device on the bus.
This property is required. |
|
|
Device Characteristics Register, used for bus enumeration with ENTDAA.
|
|
|
Maximum number of bytes that I3C controller may write to I3C target per message.
Range: 8 to 4095.
Default value: |
|
|
Maximum number of bytes that I3C controller may read from to I3C target per message.
Range: 8 to 4095.
Default value: |
|
|
Frequency of the SCL signal used for I3C transfers. When undefined,
use the controller default or as specified by the I3C specification.
|
|
|
Frequency of the SCL signal used for I2C transfers. When undefined
and there are I2C devices attached to the bus, look at the Legacy
Virtual Register (LVR) of all connected I2C devices to determine
the maximum allowed frequency.
|
|
|
Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.
|
|
|
Pin configuration/s for the second state. See pinctrl-0.
|
|
|
Pin configuration/s for the third state. See pinctrl-0.
|
|
|
Pin configuration/s for the fourth state. See pinctrl-0.
|
|
|
Pin configuration/s for the fifth state. See pinctrl-0.
|
|
|
Names for the provided states. The number of names needs to match the
number of states.
|
|
|
Name of each reset
|
Deprecated properties not inherited from the base binding file.
(None)
Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the “nuvoton,npcx-i3c” compatible.
Name |
Type |
Details |
---|---|---|
|
|
register space
This property is required. See Important properties for more information. |
|
|
interrupts for device
This property is required. See Important properties for more information. |
|
|
number of address cells in reg property
This property is required. Constant value: |
|
|
number of size cells in reg property
This property is required. |
|
|
indicates the operational status of a device
Legal values: See Important properties for more information. |
|
|
compatible strings
This property is required. See Important properties for more information. |
|
|
name of each register space
|
|
|
extended interrupt specifier for device
|
|
|
name of each interrupt
|
|
|
phandle to interrupt controller node
|
|
|
No description provided for this label
See Important properties for more information. |
|
|
Clock gate information
|
|
|
name of each clock
|
|
|
DMA channels specifiers
|
|
|
Provided names of DMA channel specifiers
|
|
|
IO channels specifiers
|
|
|
Provided names of IO channel specifiers
|
|
|
mailbox / IPM channels specifiers
|
|
|
Provided names of mailbox / IPM channel specifiers
|
|
|
Power domain specifiers
|
|
|
Provided names of power domain specifiers
|
|
|
Number of cells in power-domains property
|
|
|
Do not initialize device automatically on boot. Device should be manually
initialized using device_init().
|
|
|
Property to identify that a device can be used as wake up source.
When this property is provided a specific flag is set into the
device that tells the system that the device is capable of
wake up the system.
Wake up capable devices are disabled (interruptions will not wake up
the system) by default but they can be enabled at runtime if necessary.
|
|
|
Automatically configure the device for runtime power management after the
init function runs.
|
|
|
List of power states that will disable this device power.
|