Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340123
b: refs/heads/master
c: de0bf33
h: refs/heads/master
i:
  340121: 338a400
  340119: 420a89d
v: v3
  • Loading branch information
Stefan Roese authored and Maxime Ripard committed Nov 20, 2012
1 parent e4f8374 commit 92b1e6a
Show file tree
Hide file tree
Showing 483 changed files with 12,207 additions and 9,907 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 41739b60b3c00e0591d1a413276ddfa0d0b1ea89
refs/heads/master: de0bf33fc2b0b1d4b1419adf645fb36e9e52781a
9 changes: 0 additions & 9 deletions trunk/Documentation/devicetree/bindings/arm/bcm/bcm11351.txt

This file was deleted.

13 changes: 3 additions & 10 deletions trunk/Documentation/devicetree/bindings/arm/calxeda.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
Calxeda Platforms Device Tree Bindings
Calxeda Highbank Platforms Device Tree Bindings
-----------------------------------------------

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
Boards with Calxeda Cortex-A9 based Highbank SOC shall have the following
properties.

Required root node properties:
- compatible = "calxeda,ecx-2000";
- compatible = "calxeda,highbank";
50 changes: 0 additions & 50 deletions trunk/Documentation/devicetree/bindings/arm/vexpress-sysreg.txt

This file was deleted.

98 changes: 10 additions & 88 deletions trunk/Documentation/devicetree/bindings/arm/vexpress.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ the motherboard file using a /include/ directive. As the motherboard
can be initialized in one of two different configurations ("memory
maps"), care must be taken to include the correct one.


Root node
---------

Required properties in the root node:
- compatible value:
compatible = "arm,vexpress,<model>", "arm,vexpress";
Expand Down Expand Up @@ -49,10 +45,6 @@ Optional properties in the root node:
- Coretile Express A9x4 (V2P-CA9) HBI-0225:
arm,hbi = <0x225>;


CPU nodes
---------

Top-level standard "cpus" node is required. It must contain a node
with device_type = "cpu" property for every available core, eg.:

Expand All @@ -67,52 +59,6 @@ with device_type = "cpu" property for every available core, eg.:
};
};


Configuration infrastructure
----------------------------

The platform has an elaborated configuration system, consisting of
microcontrollers residing on the mother- and daughterboards known
as Motherboard/Daughterboard Configuration Controller (MCC and DCC).
The controllers are responsible for the platform initialization
(reset generation, flash programming, FPGA bitfiles loading etc.)
but also control clock generators, voltage regulators, gather
environmental data like temperature, power consumption etc. Even
the video output switch (FPGA) is controlled that way.

Nodes describing devices controlled by this infrastructure should
point at the bridge device node:
- bridge phandle:
arm,vexpress,config-bridge = <phandle>;
This property can be also defined in a parent node (eg. for a DCC)
and is effective for all children.


Platform topology
-----------------

As Versatile Express can be configured in number of physically
different setups, the device tree should describe platform topology.
Root node and main motherboard node must define the following
property, describing physical location of the children nodes:
- site number:
arm,vexpress,site = <number>;
where 0 means motherboard, 1 or 2 are daugtherboard sites,
0xf means "master" site (site containing main CPU tile)
- when daughterboards are stacked on one site, their position
in the stack be be described with:
arm,vexpress,position = <number>;
- when describing tiles consisting more than one DCC, its number
can be described with:
arm,vexpress,dcc = <number>;

Any of the numbers above defaults to zero if not defined in
the node or any of its parent.


Motherboard
-----------

The motherboard description file provides a single "motherboard" node
using 2 address cells corresponding to the Static Memory Bus used
between the motherboard and the tile. The first cell defines the Chip
Expand Down Expand Up @@ -141,30 +87,22 @@ can be used to obtain required phandle in the tile's "aliases" node:
- SP804 timers:
v2m_timer01 and v2m_timer23

The tile description should define a "smb" node, describing the
Static Memory Bus between the tile and motherboard. It must define
the following properties:
- "simple-bus" compatible value (to ensure creation of the children)
compatible = "simple-bus";
- mapping of the SMB CS/offset addresses into main address space:
#address-cells = <2>;
#size-cells = <1>;
ranges = <...>;
- interrupts mapping:
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 63>;
interrupt-map = <...>;
Current Linux implementation requires a "arm,v2m_timer" alias
pointing at one of the motherboard's SP804 timers, if it is to be
used as the system timer. This alias should be defined in the
motherboard files.

The tile description must define "ranges", "interrupt-map-mask" and
"interrupt-map" properties to translate the motherboard's address
and interrupt space into one used by the tile's processor.

Example of a VE tile description (simplified)
---------------------------------------------
Abbreviated example:

/dts-v1/;

/ {
model = "V2P-CA5s";
arm,hbi = <0x225>;
arm,vexpress,site = <0xf>;
compatible = "arm,vexpress-v2p-ca5s", "arm,vexpress";
interrupt-parent = <&gic>;
#address-cells = <1>;
Expand Down Expand Up @@ -196,29 +134,13 @@ Example of a VE tile description (simplified)
<0x2c000100 0x100>;
};

dcc {
compatible = "simple-bus";
arm,vexpress,config-bridge = <&v2m_sysreg>;

osc@0 {
compatible = "arm,vexpress-osc";
};
};

smb {
compatible = "simple-bus";

#address-cells = <2>;
#size-cells = <1>;
motherboard {
/* CS0 is visible at 0x08000000 */
ranges = <0 0 0x08000000 0x04000000>;

#interrupt-cells = <1>;
interrupt-map-mask = <0 0 63>;
/* Active high IRQ 0 is connected to GIC's SPI0 */
interrupt-map = <0 0 0 &gic 0 0 4>;

/include/ "vexpress-v2m-rs1.dtsi"
};
};

/include/ "vexpress-v2m-rs1.dtsi"
4 changes: 2 additions & 2 deletions trunk/Documentation/devicetree/bindings/i2c/fsl-imx-i2c.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Optional properties:
Examples:

i2c@83fc4000 { /* I2C2 on i.MX51 */
compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
compatible = "fsl,imx51-i2c", "fsl,imx1-i2c";
reg = <0x83fc4000 0x4000>;
interrupts = <63>;
};

i2c@70038000 { /* HS-I2C on i.MX51 */
compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
compatible = "fsl,imx51-i2c", "fsl,imx1-i2c";
reg = <0x70038000 0x4000>;
interrupts = <64>;
clock-frequency = <400000>;
Expand Down
Loading

0 comments on commit 92b1e6a

Please sign in to comment.