Merge branch 'for-linus' into for-next
[deliverable/linux.git] / Documentation / devicetree / bindings / gpio / gpio-mpc8xxx.txt
1 * Freescale MPC512x/MPC8xxx/Layerscape 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 Optional properties:
15 - little-endian : GPIO registers are used as little endian. If not
16 present registers are used as big endian by default.
17
18 Example:
19
20 gpio0: gpio@1100 {
21 compatible = "fsl,mpc5125-gpio";
22 #gpio-cells = <2>;
23 reg = <0x1100 0x080>;
24 interrupts = <78 0x8>;
25 status = "okay";
26 };
This page took 0.038296 seconds and 5 git commands to generate.