xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/gpio-moxtet.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTurris Mox Moxtet GPIO expander via Moxtet bus
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun - compatible		: Should be "cznic,moxtet-gpio".
5*4882a593Smuzhiyun - gpio-controller	: Marks the device node as a GPIO controller.
6*4882a593Smuzhiyun - #gpio-cells		: Should be two. For consumer use see gpio.txt.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunOther properties are required for a Moxtet bus device, please refer to
9*4882a593SmuzhiyunDocumentation/devicetree/bindings/bus/moxtet.txt.
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunExample:
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun	moxtet_sfp: gpio@0 {
14*4882a593Smuzhiyun		compatible = "cznic,moxtet-gpio";
15*4882a593Smuzhiyun		gpio-controller;
16*4882a593Smuzhiyun		#gpio-cells = <2>;
17*4882a593Smuzhiyun		reg = <0>;
18*4882a593Smuzhiyun	}
19