Path: blob/master/Documentation/devicetree/bindings/gpio/lacie,netxbig-gpio-ext.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/gpio/lacie,netxbig-gpio-ext.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: NetxBig GPIO extension bus78maintainers:9- Simon Guinot <simon.guinot@sequanux.org>1011description: >12GPIO extension bus found on some LaCie/Seagate boards13(Example: 2Big/5Big Network v2, 2Big NAS).1415properties:16compatible:17items:18- const: lacie,netxbig-gpio-ext1920addr-gpios:21description: GPIOs representing the address register (LSB->MSB).22items:23- description: bit 0 (LSB)24- description: bit 125- description: bit 2 (MSB)2627data-gpios:28description: GPIOs representing the data register (LSB->MSB).29items:30- description: bit 0 (LSB)31- description: bit 132- description: bit 2 (MSB)3334enable-gpio:35description: Latches the new configuration (address, data) on raising edge.36maxItems: 13738required:39- compatible40- addr-gpios41- data-gpios42- enable-gpio4344additionalProperties: false4546examples:47- |48#include <dt-bindings/gpio/gpio.h>4950gpio {51compatible = "lacie,netxbig-gpio-ext";52addr-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH53&gpio1 16 GPIO_ACTIVE_HIGH54&gpio1 17 GPIO_ACTIVE_HIGH>;55data-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH56&gpio1 13 GPIO_ACTIVE_HIGH57&gpio1 14 GPIO_ACTIVE_HIGH>;58enable-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;59};606162