mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 18:05:19 +07:00
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>;
|
||
|
};
|