NetxBig GPIO extension bus
Schema identifier ($id): "http://devicetree.org/schemas/gpio/lacie,netxbig-gpio-ext.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Simon Guinot <simon.guinot@sequanux.org>"
GPIO extension bus found on some LaCie/Seagate boards (Example: 2Big/5Big Network v2, 2Big NAS).
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"lacie,netxbig-gpio-ext"
addr-gpios — required here #
GPIOs representing the address register (LSB->MSB).
Array item rules (items) #
Item 1
bit 0 (LSB)
Item 2
bit 1
Item 3
bit 2 (MSB)
data-gpios — required here #
GPIOs representing the data register (LSB->MSB).
Array item rules (items) #
Item 1
bit 0 (LSB)
Item 2
bit 1
Item 3
bit 2 (MSB)
enable-gpio — required here #
Latches the new configuration (address, data) on raising edge.
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "addr-gpios", "data-gpios", "enable-gpio"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
gpio {
compatible = "lacie,netxbig-gpio-ext";
addr-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH
&gpio1 16 GPIO_ACTIVE_HIGH
&gpio1 17 GPIO_ACTIVE_HIGH>;
data-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH
&gpio1 13 GPIO_ACTIVE_HIGH
&gpio1 14 GPIO_ACTIVE_HIGH>;
enable-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)