1# Copyright (c) 2020 Nuvoton Technology Corporation. 2# SPDX-License-Identifier: Apache-2.0 3 4description: Nuvoton, NPCX-eSPI node 5 6compatible: "nuvoton,npcx-espi" 7 8include: [espi-controller.yaml, pinctrl-device.yaml] 9 10properties: 11 reg: 12 description: mmio register space 13 required: true 14 15 clocks: 16 required: true 17 description: configurations of device source clock controller 18 19 pinctrl-0: 20 required: true 21 22 pinctrl-names: 23 required: true 24 25 espi-rst-wui: 26 type: phandle 27 required: true 28 description: | 29 Mapping table between Wake-Up Input (WUI) and ESPI_RST signal. 30 31 For example the WUI mapping on NPCX7 would be 32 espi-rst-wui = <&wui_cr_sin1>; 33 34 rx-plsize: 35 type: int 36 required: true 37 description: The maximum receive channel payload size. 38 39 tx-plsize: 40 type: int 41 required: true 42 description: The maximum transmit channel payload size. 43 44 vw-index-extend-set: 45 type: array 46 description: | 47 Array of encoded virtual wire information 48 Update the vw index in group setting. Here is the format. 49 < ESPI_NPCX_VW_EX_VAL(direction, group_number, index) > 50 direction: 1 for ESPI_CONTROLLER_TO_TARGET and 0 for ESPI_TARGET_TO_CONTROLLER. 51 group_number: The number of VWEVMS or VWEVSM. 52 index: The index to be replaced. 53 54 For example, update the index of VWEVMS6 into 0x4A and the index of VWEVSM8 into 0x53 55 vw-index-extend-set = < ESPI_NPCX_VW_EX_VAL(1, 6, 0x4A) 56 ESPI_NPCX_VW_EX_VAL(0, 8, 0x53) > 57