xref: /freebsd/sys/contrib/device-tree/Bindings/gpio/gpio-moxtet.txt (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1Turris Mox Moxtet GPIO expander via Moxtet bus
2
3Required 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
8Other properties are required for a Moxtet bus device, please refer to
9Documentation/devicetree/bindings/bus/moxtet.txt.
10
11Example:
12
13	moxtet_sfp: gpio@0 {
14		compatible = "cznic,moxtet-gpio";
15		gpio-controller;
16		#gpio-cells = <2>;
17		reg = <0>;
18	}
19