Back to home page

OSCL-LXR

 
 

    


0001 Binding for the GPIO extension bus found on some LaCie/Seagate boards
0002 (Example: 2Big/5Big Network v2, 2Big NAS).
0003 
0004 Required properties:
0005 - compatible: "lacie,netxbig-gpio-ext".
0006 - addr-gpios: GPIOs representing the address register (LSB -> MSB).
0007 - data-gpios: GPIOs representing the data register (LSB -> MSB).
0008 - enable-gpio: latches the new configuration (address, data) on raising edge.
0009 
0010 Example:
0011 
0012 netxbig_gpio_ext: netxbig-gpio-ext {
0013         compatible = "lacie,netxbig-gpio-ext";
0014 
0015         addr-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH
0016                       &gpio1 16 GPIO_ACTIVE_HIGH
0017                       &gpio1 17 GPIO_ACTIVE_HIGH>;
0018         data-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH
0019                       &gpio1 13 GPIO_ACTIVE_HIGH
0020                       &gpio1 14 GPIO_ACTIVE_HIGH>;
0021         enable-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
0022 };