Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Binding for the GPIO extension bus found on some LaCie/Seagate boards |
| 2 | (Example: 2Big/5Big Network v2, 2Big NAS). |
| 3 | |
| 4 | Required 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 | |
| 10 | Example: |
| 11 | |
| 12 | netxbig_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 | }; |