1# Copyright (c) 2023 ENE Technology Inc. 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 ENE KB1200 GPIO(General purpose IO) Port node 6 7 The GPIO controller provides group control of GPIO functions. Each port 8 group contains 32 pins. GPIO_00~GPIO_1F belong to the Port0 group, 9 GPIO_20~GPIO_3F belong to the Port1 group, and so on. 10 11 In particular, the 32 pins of the port group do not share the same IRQ 12 interrupt, but are assigned to two different IRQ interrupts in groups of 16 13 pins. This means that single port group provide two interrupt source. 14 ex.Port0 group GPIO_00~GPIO_0F shares IRQ18, and Port0 group 15 GPIO_10~GPIO_1F shares IRQ19. 16 17compatible: "ene,kb1200-gpio" 18 19include: [gpio-controller.yaml, base.yaml] 20 21properties: 22 reg: 23 required: true 24 25 interrupts: 26 required: true 27 28 "#gpio-cells": 29 const: 2 30 31gpio-cells: 32 - pin 33 - flags 34