1# Copyright (c) 2023 ITE Corporation. All Rights Reserved. 2# SPDX-License-Identifier: Apache-2.0 3 4description: This binding gives a base representation of the ITE gpio 5 6compatible: "ite,it8xxx2-gpio-v2" 7 8include: [gpio-controller.yaml, base.yaml] 9 10properties: 11 reg: 12 required: true 13 14 has-volt-sel: 15 type: array 16 description: | 17 Selection of support input voltage 3.3V or 1.8V. 18 19 wuc-base: 20 type: array 21 description: | 22 WUCs are mapped to the pins of GPIO. 23 The WUC groups internal and external inputs, and asserts 24 a wake-up signal to the INTC, allowing the CPU to exit 25 Doze/Deep Doze/Sleep modes. 26 27 wuc-mask: 28 type: array 29 30 keyboard-controller: 31 type: boolean 32 description: | 33 When set, this GPIO controller has pins associated with the 34 keyboard controller. In this case the reg_gpcr property is 35 overloaded and used to write the keyboard GCTRL register. 36 This setting will be found in the gpio_ite_configure function 37 when the judgment of gpio_config->ksb_ctrl is true. 38 The GPIO control register that will be set for these three 39 nodes is as follows: 40 gpioksi: 0xf01d40-0xf01d47 41 gpioksol: 0xf01d48-0xf01d4f 42 gpioksoh: 0xf01d50-0xf01d57 43 44gpio-cells: 45 - pin 46 - flags 47