mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
8c9e465b48
This patch adds documentation of the device tree bindings for GPIOs on the devices connected via Moxtet bus. Link: https://lore.kernel.org/r/20190812161118.21476-6-marek.behun@nic.cz Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
19 lines
493 B
Plaintext
19 lines
493 B
Plaintext
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>;
|
|
}
|