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