Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Turris Mox Moxtet GPIO expander via Moxtet bus |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : Should be "cznic,moxtet-gpio". |
| 5 | - gpio-controller : Marks the device node as a GPIO controller. |
| 6 | - #gpio-cells : Should be two. For consumer use see gpio.txt. |
| 7 | |
| 8 | Other properties are required for a Moxtet bus device, please refer to |
| 9 | Documentation/devicetree/bindings/bus/moxtet.txt. |
| 10 | |
| 11 | Example: |
| 12 | |
| 13 | moxtet_sfp: gpio@0 { |
| 14 | compatible = "cznic,moxtet-gpio"; |
| 15 | gpio-controller; |
| 16 | #gpio-cells = <2>; |
| 17 | reg = <0>; |
| 18 | } |