Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: ff1176468d368232b684f75e82563369208bc371 authored by Linus Torvalds on 25 July 2021, 22:35:14 UTC
Linux 5.14-rc3
Tip revision: ff11764
gpio-moxtet.txt
Turris Mox Moxtet GPIO expander via Moxtet bus

Required properties:
 - compatible		: Should be "cznic,moxtet-gpio".
 - gpio-controller	: Marks the device node as a GPIO controller.
 - #gpio-cells		: Should be two. For consumer use see gpio.txt.

Other properties are required for a Moxtet bus device, please refer to
Documentation/devicetree/bindings/bus/moxtet.txt.

Example:

	moxtet_sfp: gpio@0 {
		compatible = "cznic,moxtet-gpio";
		gpio-controller;
		#gpio-cells = <2>;
		reg = <0>;
	}
back to top