-
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: 340136 b: refs/heads/master c: 0f327cb h: refs/heads/master v: v3
- Loading branch information
Olof Johansson
committed
Nov 26, 2012
1 parent
6bf9053
commit 7cab6ba
Showing
293 changed files
with
9,829 additions
and
11,120 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: 2b254693bef4f1299de0afb231890fe348df11c6 | ||
refs/heads/master: 0f327cb11f2b8bd0b6535640e5b46746e43bbfb2 |
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,19 @@ | ||
ARM Allwinner SoCs | ||
================== | ||
|
||
This document lists all the ARM Allwinner SoCs that are currently | ||
supported in mainline by the Linux kernel. This document will also | ||
provide links to documentation and or datasheet for these SoCs. | ||
|
||
SunXi family | ||
------------ | ||
|
||
Flavors: | ||
Allwinner A10 (sun4i) | ||
Datasheet : http://dl.linux-sunxi.org/A10/A10%20Datasheet%20-%20v1.21%20%282012-04-06%29.pdf | ||
|
||
Allwinner A13 (sun5i) | ||
Datasheet : http://dl.linux-sunxi.org/A13/A13%20Datasheet%20-%20v1.12%20%282012-03-29%29.pdf | ||
|
||
Core: Cortex A8 | ||
Linux kernel mach directory: arch/arm/mach-sunxi |
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,9 @@ | ||
Broadcom BCM11351 device tree bindings | ||
------------------------------------------- | ||
|
||
Boards with the bcm281xx SoC family (which includes bcm11130, bcm11140, | ||
bcm11351, bcm28145, bcm28155 SoCs) shall have the following properties: | ||
|
||
Required root node property: | ||
|
||
compatible = "bcm,bcm11351"; |
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,8 +1,15 @@ | ||
Calxeda Highbank Platforms Device Tree Bindings | ||
Calxeda Platforms Device Tree Bindings | ||
----------------------------------------------- | ||
|
||
Boards with Calxeda Cortex-A9 based Highbank SOC shall have the following | ||
properties. | ||
Boards with Calxeda Cortex-A9 based ECX-1000 (Highbank) SOC shall have the | ||
following properties. | ||
|
||
Required root node properties: | ||
- compatible = "calxeda,highbank"; | ||
|
||
|
||
Boards with Calxeda Cortex-A15 based ECX-2000 SOC shall have the following | ||
properties. | ||
|
||
Required root node properties: | ||
- compatible = "calxeda,ecx-2000"; |
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
50 changes: 50 additions & 0 deletions
50
trunk/Documentation/devicetree/bindings/gpio/spear_spics.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 @@ | ||
=== ST Microelectronics SPEAr SPI CS Driver === | ||
|
||
SPEAr platform provides a provision to control chipselects of ARM PL022 Prime | ||
Cell spi controller through its system registers, which otherwise remains under | ||
PL022 control. If chipselect remain under PL022 control then they would be | ||
released as soon as transfer is over and TxFIFO becomes empty. This is not | ||
desired by some of the device protocols above spi which expect (multiple) | ||
transfers without releasing their chipselects. | ||
|
||
Chipselects can be controlled by software by turning them as GPIOs. SPEAr | ||
provides another interface through system registers through which software can | ||
directly control each PL022 chipselect. Hence, it is natural for SPEAr to export | ||
the control of this interface as gpio. | ||
|
||
Required properties: | ||
|
||
* compatible: should be defined as "st,spear-spics-gpio" | ||
* reg: mentioning address range of spics controller | ||
* st-spics,peripcfg-reg: peripheral configuration register offset | ||
* st-spics,sw-enable-bit: bit offset to enable sw control | ||
* st-spics,cs-value-bit: bit offset to drive chipselect low or high | ||
* st-spics,cs-enable-mask: chip select number bit mask | ||
* st-spics,cs-enable-shift: chip select number program offset | ||
* gpio-controller: Marks the device node as gpio controller | ||
* #gpio-cells: should be 1 and will mention chip select number | ||
|
||
All the above bit offsets are within peripcfg register. | ||
|
||
Example: | ||
------- | ||
spics: spics@e0700000{ | ||
compatible = "st,spear-spics-gpio"; | ||
reg = <0xe0700000 0x1000>; | ||
st-spics,peripcfg-reg = <0x3b0>; | ||
st-spics,sw-enable-bit = <12>; | ||
st-spics,cs-value-bit = <11>; | ||
st-spics,cs-enable-mask = <3>; | ||
st-spics,cs-enable-shift = <8>; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
}; | ||
|
||
|
||
spi0: spi@e0100000 { | ||
status = "okay"; | ||
num-cs = <3>; | ||
cs-gpios = <&gpio1 7 0>, <&spics 0>, | ||
<&spics 1>; | ||
... | ||
} |
Oops, something went wrong.