-
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.
Merge branch 'ux500/dt' into next/dt2
* ux500/dt: ARM: ux500: Provide local timer support for Device Tree ARM: ux500: Enable PL022 SSP Controller in Device Tree ARM: ux500: Enable PL310 Level 2 Cache Controller in Device Tree ARM: ux500: Enable PL011 AMBA UART Controller for Device Tree ARM: ux500: Enable Cortex-A9 GIC (Generic Interrupt Controller) in Device Tree ARM: ux500: db8500: list most devices in the snowball device tree ARM: ux500: split dts file for snowball into generic part ARM: ux500: combine the board init functions for DT boot ARM: ux500: Initial Device Tree support for Snowball ARM: ux500: CONFIG: Enable Device Tree support for future endeavours ARM: ux500: fix compilation after local timer rework (adds dependency on localtimer branch, irqdomain branch and ux500/soc branch) Conflicts: arch/arm/mach-ux500/devices-common.c This adds patches from Lee Jones, Niklas Hernaeus and myself to provide initial device tree support on the ux500 platform. The pull request from Lee contained some other changes, so I rebased the patches on top of the branches that are actually dependencies for this. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
- Loading branch information
Showing
149 changed files
with
2,983 additions
and
1,690 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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
What: /sys/devices/socX | ||
Date: January 2012 | ||
contact: Lee Jones <lee.jones@linaro.org> | ||
Description: | ||
The /sys/devices/ directory contains a sub-directory for each | ||
System-on-Chip (SoC) device on a running platform. Information | ||
regarding each SoC can be obtained by reading sysfs files. This | ||
functionality is only available if implemented by the platform. | ||
|
||
The directory created for each SoC will also house information | ||
about devices which are commonly contained in /sys/devices/platform. | ||
It has been agreed that if an SoC device exists, its supported | ||
devices would be better suited to appear as children of that SoC. | ||
|
||
What: /sys/devices/socX/machine | ||
Date: January 2012 | ||
contact: Lee Jones <lee.jones@linaro.org> | ||
Description: | ||
Read-only attribute common to all SoCs. Contains the SoC machine | ||
name (e.g. Ux500). | ||
|
||
What: /sys/devices/socX/family | ||
Date: January 2012 | ||
contact: Lee Jones <lee.jones@linaro.org> | ||
Description: | ||
Read-only attribute common to all SoCs. Contains SoC family name | ||
(e.g. DB8500). | ||
|
||
What: /sys/devices/socX/soc_id | ||
Date: January 2012 | ||
contact: Lee Jones <lee.jones@linaro.org> | ||
Description: | ||
Read-only attribute supported by most SoCs. In the case of | ||
ST-Ericsson's chips this contains the SoC serial number. | ||
|
||
What: /sys/devices/socX/revision | ||
Date: January 2012 | ||
contact: Lee Jones <lee.jones@linaro.org> | ||
Description: | ||
Read-only attribute supported by most SoCs. Contains the SoC's | ||
manufacturing revision number. | ||
|
||
What: /sys/devices/socX/process | ||
Date: January 2012 | ||
contact: Lee Jones <lee.jones@linaro.org> | ||
Description: | ||
Read-only attribute supported ST-Ericsson's silicon. Contains the | ||
the process by which the silicon chip was manufactured. | ||
|
||
What: /sys/bus/soc | ||
Date: January 2012 | ||
contact: Lee Jones <lee.jones@linaro.org> | ||
Description: | ||
The /sys/bus/soc/ directory contains the usual sub-folders | ||
expected under most buses. /sys/bus/soc/devices is of particular | ||
interest, as it contains a symlink for each SoC device found on | ||
the system. Each symlink points back into the aforementioned | ||
/sys/devices/socX devices. |
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,48 @@ | ||
* ARM Timer Watchdog | ||
|
||
ARM 11MP, Cortex-A5 and Cortex-A9 are often associated with a per-core | ||
Timer-Watchdog (aka TWD), which provides both a per-cpu local timer | ||
and watchdog. | ||
|
||
The TWD is usually attached to a GIC to deliver its two per-processor | ||
interrupts. | ||
|
||
** Timer node required properties: | ||
|
||
- compatible : Should be one of: | ||
"arm,cortex-a9-twd-timer" | ||
"arm,cortex-a5-twd-timer" | ||
"arm,arm11mp-twd-timer" | ||
|
||
- interrupts : One interrupt to each core | ||
|
||
- reg : Specify the base address and the size of the TWD timer | ||
register window. | ||
|
||
Example: | ||
|
||
twd-timer@2c000600 { | ||
compatible = "arm,arm11mp-twd-timer""; | ||
reg = <0x2c000600 0x20>; | ||
interrupts = <1 13 0xf01>; | ||
}; | ||
|
||
** Watchdog node properties: | ||
|
||
- compatible : Should be one of: | ||
"arm,cortex-a9-twd-wdt" | ||
"arm,cortex-a5-twd-wdt" | ||
"arm,arm11mp-twd-wdt" | ||
|
||
- interrupts : One interrupt to each core | ||
|
||
- reg : Specify the base address and the size of the TWD watchdog | ||
register window. | ||
|
||
Example: | ||
|
||
twd-watchdog@2c000620 { | ||
compatible = "arm,arm11mp-twd-wdt"; | ||
reg = <0x2c000620 0x20>; | ||
interrupts = <1 14 0xf01>; | ||
}; |
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
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.