xref: /linux/Documentation/devicetree/bindings/gpio/netxbig-gpio-ext.txt (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1Binding for the GPIO extension bus found on some LaCie/Seagate boards
2(Example: 2Big/5Big Network v2, 2Big NAS).
3
4Required properties:
5- compatible: "lacie,netxbig-gpio-ext".
6- addr-gpios: GPIOs representing the address register (LSB -> MSB).
7- data-gpios: GPIOs representing the data register (LSB -> MSB).
8- enable-gpio: latches the new configuration (address, data) on raising edge.
9
10Example:
11
12netxbig_gpio_ext: netxbig-gpio-ext {
13	compatible = "lacie,netxbig-gpio-ext";
14
15	addr-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH
16		      &gpio1 16 GPIO_ACTIVE_HIGH
17		      &gpio1 17 GPIO_ACTIVE_HIGH>;
18	data-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH
19		      &gpio1 13 GPIO_ACTIVE_HIGH
20		      &gpio1 14 GPIO_ACTIVE_HIGH>;
21	enable-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
22};
23