-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 104802 b: refs/heads/master c: ade254d h: refs/heads/master v: v3
- Loading branch information
Jochen Friedrich
authored and
Kumar Gala
committed
Jul 16, 2008
1 parent
8abd12f
commit d51a00f
Showing
2 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 89ae5b2b9357cd715ab25df50e5fa56ae30aaf80 | ||
refs/heads/master: ade254d7f05cb74ab0a951ab105bc9ae872f045e |
38 changes: 38 additions & 0 deletions
38
trunk/Documentation/powerpc/dts-bindings/fsl/cpm_qe/gpio.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Every GPIO controller node must have #gpio-cells property defined, | ||
this information will be used to translate gpio-specifiers. | ||
|
||
On CPM1 devices, all ports are using slightly different register layouts. | ||
Ports A, C and D are 16bit ports and Ports B and E are 32bit ports. | ||
|
||
On CPM2 devices, all ports are 32bit ports and use a common register layout. | ||
|
||
Required properties: | ||
- compatible : "fsl,cpm1-pario-bank-a", "fsl,cpm1-pario-bank-b", | ||
"fsl,cpm1-pario-bank-c", "fsl,cpm1-pario-bank-d", | ||
"fsl,cpm1-pario-bank-e", "fsl,cpm2-pario-bank" | ||
- #gpio-cells : Should be two. The first cell is the pin number and the | ||
second cell is used to specify optional paramters (currently unused). | ||
- gpio-controller : Marks the port as GPIO controller. | ||
|
||
Example of three SOC GPIO banks defined as gpio-controller nodes: | ||
|
||
CPM1_PIO_A: gpio-controller@950 { | ||
#gpio-cells = <2>; | ||
compatible = "fsl,cpm1-pario-bank-a"; | ||
reg = <0x950 0x10>; | ||
gpio-controller; | ||
}; | ||
|
||
CPM1_PIO_B: gpio-controller@ab8 { | ||
#gpio-cells = <2>; | ||
compatible = "fsl,cpm1-pario-bank-b"; | ||
reg = <0xab8 0x10>; | ||
gpio-controller; | ||
}; | ||
|
||
CPM1_PIO_E: gpio-controller@ac8 { | ||
#gpio-cells = <2>; | ||
compatible = "fsl,cpm1-pario-bank-e"; | ||
reg = <0xac8 0x18>; | ||
gpio-controller; | ||
}; |