| # |
| # Copyright (c) 2022 SILA Embedded Solutions GmbH |
| # Copyright (c) 2024 SILA Embedded Solutions GmbH |
| # |
| # SPDX-License-Identifier: Apache-2.0 |
| # |
| |
| description: | |
| This is a representation of the Rohm BD8LB600FS SPI Gpio Expander. |
| Multiple instances may be daisy chained, which can be configured |
| via the number of supported GPIOs. |
| |
| compatible: "rohm,bd8lb600fs-gpio" |
| |
| include: gpio-controller.yaml |
| |
| on-bus: bd8lb600fs |
| |
| properties: |
| "#gpio-cells": |
| const: 2 |
| |
| ngpios: |
| type: int |
| required: true |
| enum: |
| - 8 |
| - 16 |
| - 24 |
| - 32 |
| description: | |
| Number of pins for the expander. This must be a multiple of 8. |
| The number of pins also defines how many devices are daisy chained. |
| Set to 8 for one instance without daisy chaining. |
| |
| gpio-cells: |
| - pin |
| - flags |