diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-16 19:39:45 +0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2012-11-22 01:00:45 +0400 |
commit | 1bffb4a8729838f5ee27364803406416459c3252 (patch) | |
tree | 5c8c1c63d843d902c92d03fc90edff3f0e77b29b /arch/arm/mach-orion5x/common.h | |
parent | 9973978614f6cdec2ba52ce161a4bd084b252267 (diff) | |
download | linux-1bffb4a8729838f5ee27364803406416459c3252.tar.xz |
arm: orion5x: basic Device Tree support
This commit adds basic DT support for the Orion5x SoC family. It adds
an orion5x.dtsi description of the Orion5x SoC as well as the needed
DT_MACHINE structure to support boards converted to DT in the future.
So far, the Device Tree contains the interrupt controller, the GPIO
bank, the UART controllers, the SPI controller, the watchdog, the SATA
controller, the I2C controller and the cryptographic engine.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested by: Maxime Hadjinlian <mhadjinlian@lacie.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-orion5x/common.h')
-rw-r--r-- | arch/arm/mach-orion5x/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-orion5x/common.h b/arch/arm/mach-orion5x/common.h index 31bab92ce038..2033b79089a7 100644 --- a/arch/arm/mach-orion5x/common.h +++ b/arch/arm/mach-orion5x/common.h @@ -12,6 +12,8 @@ void orion5x_map_io(void); void orion5x_init_early(void); void orion5x_init_irq(void); void orion5x_init(void); +void orion5x_id(u32 *dev, u32 *rev, char **dev_name); +void clk_init(void); extern int orion5x_tclk; extern struct sys_timer orion5x_timer; |