]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt
Merge remote-tracking branch 'md/for-next'
[karo-tx-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 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 };