-
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: 340072 b: refs/heads/master c: 88e0abc h: refs/heads/master v: v3
- Loading branch information
Pawel Moll
committed
Nov 5, 2012
1 parent
ea999ad
commit 82d6d2e
Showing
5 changed files
with
629 additions
and
2 deletions.
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: 3ecbf05be159a95e1d23ba9b3b21c5bc2941ba6b | ||
refs/heads/master: 88e0abcd7a8171ca7af3402373e7bd81fe9b6754 |
50 changes: 50 additions & 0 deletions
50
trunk/Documentation/devicetree/bindings/arm/vexpress-sysreg.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,50 @@ | ||
ARM Versatile Express system registers | ||
-------------------------------------- | ||
|
||
This is a system control registers block, providing multiple low level | ||
platform functions like board detection and identification, software | ||
interrupt generation, MMC and NOR Flash control etc. | ||
|
||
Required node properties: | ||
- compatible value : = "arm,vexpress,sysreg"; | ||
- reg : physical base address and the size of the registers window | ||
- gpio-controller : specifies that the node is a GPIO controller | ||
- #gpio-cells : size of the GPIO specifier, should be 2: | ||
- first cell is the pseudo-GPIO line number: | ||
0 - MMC CARDIN | ||
1 - MMC WPROT | ||
2 - NOR FLASH WPn | ||
- second cell can take standard GPIO flags (currently ignored). | ||
|
||
Example: | ||
v2m_sysreg: sysreg@10000000 { | ||
compatible = "arm,vexpress-sysreg"; | ||
reg = <0x10000000 0x1000>; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
}; | ||
|
||
This block also can also act a bridge to the platform's configuration | ||
bus via "system control" interface, addressing devices with site number, | ||
position in the board stack, config controller, function and device | ||
numbers - see motherboard's TRM for more details. | ||
|
||
The node describing a config device must refer to the sysreg node via | ||
"arm,vexpress,config-bridge" phandle (can be also defined in the node's | ||
parent) and relies on the board topology properties - see main vexpress | ||
node documentation for more details. It must must also define the | ||
following property: | ||
- arm,vexpress-sysreg,func : must contain two cells: | ||
- first cell defines function number (eg. 1 for clock generator, | ||
2 for voltage regulators etc.) | ||
- device number (eg. osc 0, osc 1 etc.) | ||
|
||
Example: | ||
mcc { | ||
arm,vexpress,config-bridge = <&v2m_sysreg>; | ||
|
||
osc@0 { | ||
compatible = "arm,vexpress-osc"; | ||
arm,vexpress-sysreg,func = <1 0>; | ||
}; | ||
}; |
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
Oops, something went wrong.