GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / gpio / gpio-moxtet.txt
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         }