mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 17:12:55 +00:00
0299b77b44
Add GPIO driver for MOXA ART SoCs. Signed-off-by: Jonas Jensen <jonas.jensen@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
20 lines
429 B
Plaintext
20 lines
429 B
Plaintext
MOXA ART GPIO Controller
|
|
|
|
Required properties:
|
|
|
|
- #gpio-cells : Should be 2, The first cell is the pin number,
|
|
the second cell is used to specify polarity:
|
|
0 = active high
|
|
1 = active low
|
|
- compatible : Must be "moxa,moxart-gpio"
|
|
- reg : Should contain registers location and length
|
|
|
|
Example:
|
|
|
|
gpio: gpio@98700000 {
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
compatible = "moxa,moxart-gpio";
|
|
reg = <0x98700000 0xC>;
|
|
};
|