Skip to content

Commit bb379ce

Browse files
Uwe Kleine-Königlinusw
authored andcommitted
dt-bindings: gpio: document bindings supported by gpio-mpc8xxx.c
Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 0ba69e0 commit bb379ce

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
* Freescale MPC512x/MPC8xxx GPIO controller
2+
3+
Required properties:
4+
- compatible : Should be "fsl,<soc>-gpio"
5+
The following <soc>s are known to be supported:
6+
mpc5121, mpc5125, mpc8349, mpc8572, mpc8610, pq3, qoriq
7+
- reg : Address and length of the register set for the device
8+
- interrupts : Should be the port interrupt shared by all 32 pins.
9+
- #gpio-cells : Should be two. The first cell is the pin number and
10+
the second cell is used to specify the gpio polarity:
11+
0 = active high
12+
1 = active low
13+
14+
Example:
15+
16+
gpio0: gpio@1100 {
17+
compatible = "fsl,mpc5125-gpio";
18+
#gpio-cells = <2>;
19+
reg = <0x1100 0x080>;
20+
interrupts = <78 0x8>;
21+
status = "okay";
22+
};

0 commit comments

Comments
 (0)