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