Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
realview_eb.c File Reference
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/device.h>
#include <linux/amba/bus.h>
#include <linux/amba/pl061.h>
#include <linux/amba/mmci.h>
#include <linux/amba/pl022.h>
#include <linux/io.h>
#include <linux/platform_data/clk-realview.h>
#include <mach/hardware.h>
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <asm/pgtable.h>
#include <asm/hardware/gic.h>
#include <asm/hardware/cache-l2x0.h>
#include <asm/smp_twd.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/time.h>
#include <mach/board-eb.h>
#include <mach/irqs.h>
#include "core.h"

Go to the source code of this file.

Macros

#define GPIO2_IRQ   { IRQ_EB_GPIO2 }
 
#define GPIO3_IRQ   { IRQ_EB_GPIO3 }
 
#define AACI_IRQ   { IRQ_EB_AACI }
 
#define MMCI0_IRQ   { IRQ_EB_MMCI0A, IRQ_EB_MMCI0B }
 
#define KMI0_IRQ   { IRQ_EB_KMI0 }
 
#define KMI1_IRQ   { IRQ_EB_KMI1 }
 
#define EB_SMC_IRQ   { }
 
#define MPMC_IRQ   { }
 
#define EB_CLCD_IRQ   { IRQ_EB_CLCD }
 
#define DMAC_IRQ   { IRQ_EB_DMA }
 
#define SCTL_IRQ   { }
 
#define EB_WATCHDOG_IRQ   { IRQ_EB_WDOG }
 
#define EB_GPIO0_IRQ   { IRQ_EB_GPIO0 }
 
#define GPIO1_IRQ   { IRQ_EB_GPIO1 }
 
#define EB_RTC_IRQ   { IRQ_EB_RTC }
 
#define SCI_IRQ   { IRQ_EB_SCI }
 
#define EB_UART0_IRQ   { IRQ_EB_UART0 }
 
#define EB_UART1_IRQ   { IRQ_EB_UART1 }
 
#define EB_UART2_IRQ   { IRQ_EB_UART2 }
 
#define EB_UART3_IRQ   { IRQ_EB_UART3 }
 
#define EB_SSP_IRQ   { IRQ_EB_SSP }
 
#define realview_eb_twd_init()   do { } while(0)
 

Functions

 APB_DEVICE (aaci,"fpga:aaci", AACI, NULL)
 
 APB_DEVICE (mmc0,"fpga:mmc0", MMCI0,&realview_mmc0_plat_data)
 
 APB_DEVICE (kmi0,"fpga:kmi0", KMI0, NULL)
 
 APB_DEVICE (kmi1,"fpga:kmi1", KMI1, NULL)
 
 APB_DEVICE (uart3,"fpga:uart3", EB_UART3, NULL)
 
 AHB_DEVICE (smc,"dev:smc", EB_SMC, NULL)
 
 AHB_DEVICE (clcd,"dev:clcd", EB_CLCD,&clcd_plat_data)
 
 AHB_DEVICE (dmac,"dev:dmac", DMAC, NULL)
 
 AHB_DEVICE (sctl,"dev:sctl", SCTL, NULL)
 
 APB_DEVICE (wdog,"dev:wdog", EB_WATCHDOG, NULL)
 
 APB_DEVICE (gpio0,"dev:gpio0", EB_GPIO0,&gpio0_plat_data)
 
 APB_DEVICE (gpio1,"dev:gpio1", GPIO1,&gpio1_plat_data)
 
 APB_DEVICE (gpio2,"dev:gpio2", GPIO2,&gpio2_plat_data)
 
 APB_DEVICE (rtc,"dev:rtc", EB_RTC, NULL)
 
 APB_DEVICE (sci0,"dev:sci0", SCI, NULL)
 
 APB_DEVICE (uart0,"dev:uart0", EB_UART0, NULL)
 
 APB_DEVICE (uart1,"dev:uart1", EB_UART1, NULL)
 
 APB_DEVICE (uart2,"dev:uart2", EB_UART2, NULL)
 
 APB_DEVICE (ssp0,"dev:ssp0", EB_SSP,&ssp0_plat_data)
 

Variables

 atag_offset = 0x100
 
 fixup = realview_fixup
 
 map_io = realview_eb_map_io
 
 init_early = realview_init_early
 
 init_irq = gic_init_irq
 
 timer = &realview_eb_timer
 
 handle_irq = gic_handle_irq
 
 init_machine = realview_eb_init
 
 restart = realview_eb_restart
 

Macro Definition Documentation

#define AACI_IRQ   { IRQ_EB_AACI }

Definition at line 140 of file realview_eb.c.

#define DMAC_IRQ   { IRQ_EB_DMA }

Definition at line 151 of file realview_eb.c.

#define EB_CLCD_IRQ   { IRQ_EB_CLCD }

Definition at line 150 of file realview_eb.c.

#define EB_GPIO0_IRQ   { IRQ_EB_GPIO0 }

Definition at line 158 of file realview_eb.c.

#define EB_RTC_IRQ   { IRQ_EB_RTC }

Definition at line 160 of file realview_eb.c.

#define EB_SMC_IRQ   { }

Definition at line 148 of file realview_eb.c.

#define EB_SSP_IRQ   { IRQ_EB_SSP }

Definition at line 170 of file realview_eb.c.

#define EB_UART0_IRQ   { IRQ_EB_UART0 }

Definition at line 166 of file realview_eb.c.

#define EB_UART1_IRQ   { IRQ_EB_UART1 }

Definition at line 167 of file realview_eb.c.

#define EB_UART2_IRQ   { IRQ_EB_UART2 }

Definition at line 168 of file realview_eb.c.

#define EB_UART3_IRQ   { IRQ_EB_UART3 }

Definition at line 169 of file realview_eb.c.

#define EB_WATCHDOG_IRQ   { IRQ_EB_WDOG }

Definition at line 157 of file realview_eb.c.

#define GPIO1_IRQ   { IRQ_EB_GPIO1 }

Definition at line 159 of file realview_eb.c.

#define GPIO2_IRQ   { IRQ_EB_GPIO2 }

Definition at line 137 of file realview_eb.c.

#define GPIO3_IRQ   { IRQ_EB_GPIO3 }

Definition at line 138 of file realview_eb.c.

#define KMI0_IRQ   { IRQ_EB_KMI0 }

Definition at line 142 of file realview_eb.c.

#define KMI1_IRQ   { IRQ_EB_KMI1 }

Definition at line 143 of file realview_eb.c.

#define MMCI0_IRQ   { IRQ_EB_MMCI0A, IRQ_EB_MMCI0B }

Definition at line 141 of file realview_eb.c.

#define MPMC_IRQ   { }

Definition at line 149 of file realview_eb.c.

#define realview_eb_twd_init ( )    do { } while(0)

Definition at line 399 of file realview_eb.c.

#define SCI_IRQ   { IRQ_EB_SCI }

Definition at line 165 of file realview_eb.c.

#define SCTL_IRQ   { }

Definition at line 156 of file realview_eb.c.

Function Documentation

AHB_DEVICE ( smc  ,
"dev:smc"  ,
EB_SMC  ,
NULL   
)
AHB_DEVICE ( clcd  ,
"dev:clcd"  ,
EB_CLCD  ,
clcd_plat_data 
)
AHB_DEVICE ( dmac  ,
"dev:dmac"  ,
DMAC  ,
NULL   
)
AHB_DEVICE ( sctl  ,
"dev:sctl"  ,
SCTL  ,
NULL   
)
APB_DEVICE ( aaci  ,
"fpga:aaci"  ,
AACI  ,
NULL   
)
APB_DEVICE ( mmc0  ,
"fpga:mmc0"  ,
MMCI0  ,
realview_mmc0_plat_data 
)
APB_DEVICE ( kmi0  ,
"fpga:kmi0"  ,
KMI0  ,
NULL   
)
APB_DEVICE ( kmi1  ,
"fpga:kmi1"  ,
KMI1  ,
NULL   
)
APB_DEVICE ( uart3  ,
"fpga:uart3"  ,
EB_UART3  ,
NULL   
)
APB_DEVICE ( wdog  ,
"dev:wdog"  ,
EB_WATCHDOG  ,
NULL   
)
APB_DEVICE ( gpio0  ,
"dev:gpio0"  ,
EB_GPIO0  ,
gpio0_plat_data 
)
APB_DEVICE ( gpio1  ,
"dev:gpio1"  ,
GPIO1  ,
gpio1_plat_data 
)
APB_DEVICE ( gpio2  ,
"dev:gpio2"  ,
GPIO2  ,
gpio2_plat_data 
)
APB_DEVICE ( rtc  ,
"dev:rtc"  ,
EB_RTC  ,
NULL   
)
APB_DEVICE ( sci0  ,
"dev:sci0"  ,
SCI  ,
NULL   
)
APB_DEVICE ( uart0  ,
"dev:uart0"  ,
EB_UART0  ,
NULL   
)
APB_DEVICE ( uart1  ,
"dev:uart1"  ,
EB_UART1  ,
NULL   
)
APB_DEVICE ( uart2  ,
"dev:uart2"  ,
EB_UART2  ,
NULL   
)
APB_DEVICE ( ssp0  ,
"dev:ssp0"  ,
EB_SSP  ,
ssp0_plat_data 
)

Variable Documentation

atag_offset = 0x100

Definition at line 469 of file realview_eb.c.

fixup = realview_fixup

Definition at line 470 of file realview_eb.c.

handle_irq = gic_handle_irq

Definition at line 475 of file realview_eb.c.

init_early = realview_init_early

Definition at line 472 of file realview_eb.c.

init_irq = gic_init_irq

Definition at line 473 of file realview_eb.c.

init_machine = realview_eb_init

Definition at line 476 of file realview_eb.c.

map_io = realview_eb_map_io

Definition at line 471 of file realview_eb.c.

restart = realview_eb_restart

Definition at line 480 of file realview_eb.c.

timer = &realview_eb_timer

Definition at line 474 of file realview_eb.c.