mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 17:12:55 +00:00
aef9ee29fa
Update the FSL, GPIO binding documentation to add support for GPIO controller found on Freescale's LS2080A platform. Signed-off-by: Liu Gang <Gang.Liu@freescale.com> Signed-off-by: Bhupesh Sharma <bhupesh.sharma@freescale.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
23 lines
679 B
Plaintext
23 lines
679 B
Plaintext
* Freescale MPC512x/MPC8xxx/Layerscape GPIO controller
|
|
|
|
Required properties:
|
|
- compatible : Should be "fsl,<soc>-gpio"
|
|
The following <soc>s are known to be supported:
|
|
mpc5121, mpc5125, mpc8349, mpc8572, mpc8610, pq3, qoriq.
|
|
- reg : Address and length of the register set for the device
|
|
- interrupts : Should be the port interrupt shared by all 32 pins.
|
|
- #gpio-cells : Should be two. The first cell is the pin number and
|
|
the second cell is used to specify the gpio polarity:
|
|
0 = active high
|
|
1 = active low
|
|
|
|
Example:
|
|
|
|
gpio0: gpio@1100 {
|
|
compatible = "fsl,mpc5125-gpio";
|
|
#gpio-cells = <2>;
|
|
reg = <0x1100 0x080>;
|
|
interrupts = <78 0x8>;
|
|
status = "okay";
|
|
};
|