2020-09-10 17:39:44 +08:00
|
|
|
# Copyright (c) 2020 Nuvoton Technology Corporation.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
description: Nuvoton, NPCX-eSPI node
|
|
|
|
|
|
|
|
compatible: "nuvoton,npcx-espi"
|
|
|
|
|
2022-04-20 10:41:49 +08:00
|
|
|
include: [espi-controller.yaml, pinctrl-device.yaml]
|
2020-09-10 17:39:44 +08:00
|
|
|
|
|
|
|
properties:
|
2023-01-04 03:21:25 +08:00
|
|
|
reg:
|
|
|
|
description: mmio register space
|
|
|
|
required: true
|
2020-09-10 17:39:44 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
clocks:
|
|
|
|
required: true
|
|
|
|
description: configurations of device source clock controller
|
2020-09-10 17:39:44 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
pinctrl-0:
|
|
|
|
required: true
|
2022-04-20 10:41:49 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
pinctrl-names:
|
|
|
|
required: true
|
2020-09-10 17:39:44 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
espi-rst-wui:
|
|
|
|
type: phandle
|
|
|
|
required: true
|
|
|
|
description: |
|
|
|
|
Mapping table between Wake-Up Input (WUI) and ESPI_RST signal.
|
2020-09-10 17:39:44 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
For example the WUI mapping on NPCX7 would be
|
|
|
|
espi-rst-wui = <&wui_cr_sin1>;
|
2023-12-08 17:25:35 +08:00
|
|
|
|
|
|
|
rx-plsize:
|
|
|
|
type: int
|
|
|
|
required: true
|
|
|
|
description: The maximum receive channel payload size.
|
|
|
|
|
|
|
|
tx-plsize:
|
|
|
|
type: int
|
|
|
|
required: true
|
|
|
|
description: The maximum transmit channel payload size.
|
2024-08-15 13:52:56 +08:00
|
|
|
|
|
|
|
vw-index-extend-set:
|
|
|
|
type: array
|
|
|
|
description: |
|
|
|
|
Array of encoded virtual wire information
|
|
|
|
Update the vw index in group setting. Here is the format.
|
|
|
|
< ESPI_NPCX_VW_EX_VAL(direction, group_number, index) >
|
|
|
|
direction: 1 for ESPI_CONTROLLER_TO_TARGET and 0 for ESPI_TARGET_TO_CONTROLLER.
|
|
|
|
group_number: The number of VWEVMS or VWEVSM.
|
|
|
|
index: The index to be replaced.
|
|
|
|
|
|
|
|
For example, update the index of VWEVMS6 into 0x4A and the index of VWEVSM8 into 0x53
|
|
|
|
vw-index-extend-set = < ESPI_NPCX_VW_EX_VAL(1, 6, 0x4A)
|
|
|
|
ESPI_NPCX_VW_EX_VAL(0, 8, 0x53) >
|