Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
realview_pbx.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 <asm/irq.h>
#include <asm/mach-types.h>
#include <asm/smp_twd.h>
#include <asm/pgtable.h>
#include <asm/hardware/gic.h>
#include <asm/hardware/cache-l2x0.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/time.h>
#include <mach/hardware.h>
#include <mach/board-pbx.h>
#include <mach/irqs.h>
#include "core.h"

Go to the source code of this file.

Macros

#define GPIO2_IRQ   { IRQ_PBX_GPIO2 }
 
#define GPIO3_IRQ   { IRQ_PBX_GPIO3 }
 
#define AACI_IRQ   { IRQ_PBX_AACI }
 
#define MMCI0_IRQ   { IRQ_PBX_MMCI0A, IRQ_PBX_MMCI0B }
 
#define KMI0_IRQ   { IRQ_PBX_KMI0 }
 
#define KMI1_IRQ   { IRQ_PBX_KMI1 }
 
#define PBX_SMC_IRQ   { }
 
#define MPMC_IRQ   { }
 
#define PBX_CLCD_IRQ   { IRQ_PBX_CLCD }
 
#define DMAC_IRQ   { IRQ_PBX_DMAC }
 
#define SCTL_IRQ   { }
 
#define PBX_WATCHDOG_IRQ   { IRQ_PBX_WATCHDOG }
 
#define PBX_GPIO0_IRQ   { IRQ_PBX_GPIO0 }
 
#define GPIO1_IRQ   { IRQ_PBX_GPIO1 }
 
#define PBX_RTC_IRQ   { IRQ_PBX_RTC }
 
#define SCI_IRQ   { IRQ_PBX_SCI }
 
#define PBX_UART0_IRQ   { IRQ_PBX_UART0 }
 
#define PBX_UART1_IRQ   { IRQ_PBX_UART1 }
 
#define PBX_UART2_IRQ   { IRQ_PBX_UART2 }
 
#define PBX_UART3_IRQ   { IRQ_PBX_UART3 }
 
#define PBX_SSP_IRQ   { IRQ_PBX_SSP }
 
#define realview_pbx_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", PBX_UART3, NULL)
 
 AHB_DEVICE (smc,"dev:smc", PBX_SMC, NULL)
 
 AHB_DEVICE (sctl,"dev:sctl", SCTL, NULL)
 
 APB_DEVICE (wdog,"dev:wdog", PBX_WATCHDOG, NULL)
 
 APB_DEVICE (gpio0,"dev:gpio0", PBX_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", PBX_RTC, NULL)
 
 APB_DEVICE (sci0,"dev:sci0", SCI, NULL)
 
 APB_DEVICE (uart0,"dev:uart0", PBX_UART0, NULL)
 
 APB_DEVICE (uart1,"dev:uart1", PBX_UART1, NULL)
 
 APB_DEVICE (uart2,"dev:uart2", PBX_UART2, NULL)
 
 APB_DEVICE (ssp0,"dev:ssp0", PBX_SSP,&ssp0_plat_data)
 
 AHB_DEVICE (clcd,"issp:clcd", PBX_CLCD,&clcd_plat_data)
 
 AHB_DEVICE (dmac,"issp:dmac", DMAC, NULL)
 

Variables

 atag_offset = 0x100
 
 smp = smp_ops(realview_smp_ops)
 
 fixup = realview_pbx_fixup
 
 map_io = realview_pbx_map_io
 
 init_early = realview_init_early
 
 init_irq = gic_init_irq
 
 timer = &realview_pbx_timer
 
 handle_irq = gic_handle_irq
 
 init_machine = realview_pbx_init
 
 restart = realview_pbx_restart
 

Macro Definition Documentation

#define AACI_IRQ   { IRQ_PBX_AACI }

Definition at line 148 of file realview_pbx.c.

#define DMAC_IRQ   { IRQ_PBX_DMAC }

Definition at line 155 of file realview_pbx.c.

#define GPIO1_IRQ   { IRQ_PBX_GPIO1 }

Definition at line 159 of file realview_pbx.c.

#define GPIO2_IRQ   { IRQ_PBX_GPIO2 }

Definition at line 146 of file realview_pbx.c.

#define GPIO3_IRQ   { IRQ_PBX_GPIO3 }

Definition at line 147 of file realview_pbx.c.

#define KMI0_IRQ   { IRQ_PBX_KMI0 }

Definition at line 150 of file realview_pbx.c.

#define KMI1_IRQ   { IRQ_PBX_KMI1 }

Definition at line 151 of file realview_pbx.c.

#define MMCI0_IRQ   { IRQ_PBX_MMCI0A, IRQ_PBX_MMCI0B }

Definition at line 149 of file realview_pbx.c.

#define MPMC_IRQ   { }

Definition at line 153 of file realview_pbx.c.

#define PBX_CLCD_IRQ   { IRQ_PBX_CLCD }

Definition at line 154 of file realview_pbx.c.

#define PBX_GPIO0_IRQ   { IRQ_PBX_GPIO0 }

Definition at line 158 of file realview_pbx.c.

#define PBX_RTC_IRQ   { IRQ_PBX_RTC }

Definition at line 160 of file realview_pbx.c.

#define PBX_SMC_IRQ   { }

Definition at line 152 of file realview_pbx.c.

#define PBX_SSP_IRQ   { IRQ_PBX_SSP }

Definition at line 166 of file realview_pbx.c.

#define PBX_UART0_IRQ   { IRQ_PBX_UART0 }

Definition at line 162 of file realview_pbx.c.

#define PBX_UART1_IRQ   { IRQ_PBX_UART1 }

Definition at line 163 of file realview_pbx.c.

#define PBX_UART2_IRQ   { IRQ_PBX_UART2 }

Definition at line 164 of file realview_pbx.c.

#define PBX_UART3_IRQ   { IRQ_PBX_UART3 }

Definition at line 165 of file realview_pbx.c.

#define PBX_WATCHDOG_IRQ   { IRQ_PBX_WATCHDOG }

Definition at line 157 of file realview_pbx.c.

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

Definition at line 312 of file realview_pbx.c.

#define SCI_IRQ   { IRQ_PBX_SCI }

Definition at line 161 of file realview_pbx.c.

#define SCTL_IRQ   { }

Definition at line 156 of file realview_pbx.c.

Function Documentation

AHB_DEVICE ( smc  ,
"dev:smc"  ,
PBX_SMC  ,
NULL   
)
AHB_DEVICE ( sctl  ,
"dev:sctl"  ,
SCTL  ,
NULL   
)
AHB_DEVICE ( clcd  ,
"issp:clcd"  ,
PBX_CLCD  ,
clcd_plat_data 
)
AHB_DEVICE ( dmac  ,
"issp:dmac"  ,
DMAC  ,
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"  ,
PBX_UART3  ,
NULL   
)
APB_DEVICE ( wdog  ,
"dev:wdog"  ,
PBX_WATCHDOG  ,
NULL   
)
APB_DEVICE ( gpio0  ,
"dev:gpio0"  ,
PBX_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"  ,
PBX_RTC  ,
NULL   
)
APB_DEVICE ( sci0  ,
"dev:sci0"  ,
SCI  ,
NULL   
)
APB_DEVICE ( uart0  ,
"dev:uart0"  ,
PBX_UART0  ,
NULL   
)
APB_DEVICE ( uart1  ,
"dev:uart1"  ,
PBX_UART1  ,
NULL   
)
APB_DEVICE ( uart2  ,
"dev:uart2"  ,
PBX_UART2  ,
NULL   
)
APB_DEVICE ( ssp0  ,
"dev:ssp0"  ,
PBX_SSP  ,
ssp0_plat_data 
)

Variable Documentation

atag_offset = 0x100

Definition at line 401 of file realview_pbx.c.

fixup = realview_pbx_fixup

Definition at line 403 of file realview_pbx.c.

handle_irq = gic_handle_irq

Definition at line 408 of file realview_pbx.c.

init_early = realview_init_early

Definition at line 405 of file realview_pbx.c.

init_irq = gic_init_irq

Definition at line 406 of file realview_pbx.c.

init_machine = realview_pbx_init

Definition at line 409 of file realview_pbx.c.

map_io = realview_pbx_map_io

Definition at line 404 of file realview_pbx.c.

restart = realview_pbx_restart

Definition at line 413 of file realview_pbx.c.

Definition at line 402 of file realview_pbx.c.

timer = &realview_pbx_timer

Definition at line 407 of file realview_pbx.c.