Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
setup-sh7757.c File Reference
#include <linux/platform_device.h>
#include <linux/init.h>
#include <linux/serial.h>
#include <linux/serial_sci.h>
#include <linux/io.h>
#include <linux/mm.h>
#include <linux/dma-mapping.h>
#include <linux/sh_timer.h>
#include <linux/sh_dma.h>
#include <linux/sh_intc.h>
#include <cpu/dma-register.h>
#include <cpu/sh7757.h>

Go to the source code of this file.

Macros

#define INTPRI   0xffd00010
 
#define INT2PRI0   0xffd40000
 
#define INT2PRI1   0xffd40004
 
#define INT2PRI2   0xffd40008
 
#define INT2PRI3   0xffd4000c
 
#define INT2PRI4   0xffd40010
 
#define INT2PRI5   0xffd40014
 
#define INT2PRI6   0xffd40018
 
#define INT2PRI7   0xffd4001c
 
#define INT2PRI8   0xffd400a0
 
#define INT2PRI9   0xffd400a4
 
#define INT2PRI10   0xffd400a8
 
#define INT2PRI11   0xffd400ac
 
#define INT2PRI12   0xffd400b0
 
#define INT2PRI13   0xffd400b4
 
#define INT2PRI14   0xffd400b8
 
#define INT2PRI15   0xffd400bc
 
#define INT2PRI16   0xffd10000
 
#define INT2PRI17   0xffd10004
 
#define INT2PRI18   0xffd10008
 
#define INT2PRI19   0xffd1000c
 
#define INT2PRI20   0xffd10010
 
#define INT2PRI21   0xffd10014
 
#define INT2PRI22   0xffd10018
 
#define INT2PRI23   0xffd1001c
 
#define INT2PRI24   0xffd100a0
 
#define INT2PRI25   0xffd100a4
 
#define INT2PRI26   0xffd100a8
 
#define INT2PRI27   0xffd100ac
 
#define INT2PRI28   0xffd100b0
 
#define INT2PRI29   0xffd100b4
 
#define INT2PRI30   0xffd100b8
 
#define INT2PRI31   0xffd100bc
 
#define INT2PRI32   0xffd20000
 
#define INT2PRI33   0xffd20004
 
#define INT2PRI34   0xffd20008
 
#define INT2PRI35   0xffd2000c
 
#define INT2PRI36   0xffd20010
 
#define INT2PRI37   0xffd20014
 
#define INT2PRI38   0xffd20018
 
#define INT2PRI39   0xffd2001c
 
#define INT2PRI40   0xffd200a0
 
#define INT2PRI41   0xffd200a4
 
#define INT2PRI42   0xffd200a8
 
#define INT2PRI43   0xffd200ac
 
#define INT2PRI44   0xffd200b0
 
#define INT2PRI45   0xffd200b4
 
#define INT2PRI46   0xffd200b8
 
#define INT2PRI47   0xffd200bc
 
#define INTC_ICR0   0xffd00000
 
#define INTC_INTMSK0   0xffd00044
 
#define INTC_INTMSK1   0xffd00048
 
#define INTC_INTMSK2   0xffd40080
 
#define INTC_INTMSKCLR1   0xffd00068
 
#define INTC_INTMSKCLR2   0xffd40084
 

Enumerations

enum  {
  UNUSED = 0, IRL0_LLLL, IRL0_LLLH, IRL0_LLHL,
  IRL0_LLHH, IRL0_LHLL, IRL0_LHLH, IRL0_LHHL,
  IRL0_LHHH, IRL0_HLLL, IRL0_HLLH, IRL0_HLHL,
  IRL0_HLHH, IRL0_HHLL, IRL0_HHLH, IRL0_HHHL,
  IRL4_LLLL, IRL4_LLLH, IRL4_LLHL, IRL4_LLHH,
  IRL4_LHLL, IRL4_LHLH, IRL4_LHHL, IRL4_LHHH,
  IRL4_HLLL, IRL4_HLLH, IRL4_HLHL, IRL4_HLHH,
  IRL4_HHLL, IRL4_HHLH, IRL4_HHHL, IRQ0,
  IRQ1, IRQ2, IRQ3, IRQ4,
  IRQ5, IRQ6, IRQ7, SDHI,
  DVC, IRQ8, IRQ9, IRQ11,
  IRQ10, IRQ12, IRQ13, IRQ14,
  IRQ15, TMU0, TMU1, TMU2,
  TMU2_TICPI, TMU3, TMU4, TMU5,
  HUDI, ARC4, DMAC0_5, DMAC6_7,
  DMAC8_11, SCIF0, SCIF1, SCIF2,
  SCIF3, SCIF4, USB0, USB1,
  JMC, SPI0, SPI1, TMR01,
  TMR23, TMR45, FRT, LPC,
  LPC5, LPC6, LPC7, LPC8,
  PECI0, PECI1, PECI2, PECI3,
  PECI4, PECI5, ETHERC, ADC0,
  ADC1, SIM, IIC0_0, IIC0_1,
  IIC0_2, IIC0_3, IIC1_0, IIC1_1,
  IIC1_2, IIC1_3, IIC2_0, IIC2_1,
  IIC2_2, IIC2_3, IIC3_0, IIC3_1,
  IIC3_2, IIC3_3, IIC4_0, IIC4_1,
  IIC4_2, IIC4_3, IIC5_0, IIC5_1,
  IIC5_2, IIC5_3, IIC6_0, IIC6_1,
  IIC6_2, IIC6_3, IIC7_0, IIC7_1,
  IIC7_2, IIC7_3, IIC8_0, IIC8_1,
  IIC8_2, IIC8_3, IIC9_0, IIC9_1,
  IIC9_2, IIC9_3, ONFICTL, MMC1,
  MMC2, ECCU, PCIC, G200,
  RSPI, SGPIO, DMINT12, DMINT13,
  DMINT14, DMINT15, DMINT16, DMINT17,
  DMINT18, DMINT19, DMINT20, DMINT21,
  DMINT22, DMINT23, DDRECC, TSIP,
  PCIE_BRIDGE, WDT0B, WDT1B, WDT2B,
  WDT3B, WDT4B, WDT5B, WDT6B,
  WDT7B, WDT8B, GETHER0, GETHER1,
  GETHER2, PBIA, PBIB, PBIC,
  DMAE2, DMAE3, SERMUX2, SERMUX3,
  TMU012, TMU345
}
 

Functions

 arch_initcall (sh7757_devices_setup)
 
void __init plat_early_device_setup (void)
 
void __init plat_irq_setup (void)
 
void __init plat_irq_setup_pins (int mode)
 
void __init plat_mem_setup (void)
 

Macro Definition Documentation

#define INT2PRI0   0xffd40000

Definition at line 1035 of file setup-sh7757.c.

#define INT2PRI1   0xffd40004

Definition at line 1036 of file setup-sh7757.c.

#define INT2PRI10   0xffd400a8

Definition at line 1045 of file setup-sh7757.c.

#define INT2PRI11   0xffd400ac

Definition at line 1046 of file setup-sh7757.c.

#define INT2PRI12   0xffd400b0

Definition at line 1047 of file setup-sh7757.c.

#define INT2PRI13   0xffd400b4

Definition at line 1048 of file setup-sh7757.c.

#define INT2PRI14   0xffd400b8

Definition at line 1049 of file setup-sh7757.c.

#define INT2PRI15   0xffd400bc

Definition at line 1050 of file setup-sh7757.c.

#define INT2PRI16   0xffd10000

Definition at line 1051 of file setup-sh7757.c.

#define INT2PRI17   0xffd10004

Definition at line 1052 of file setup-sh7757.c.

#define INT2PRI18   0xffd10008

Definition at line 1053 of file setup-sh7757.c.

#define INT2PRI19   0xffd1000c

Definition at line 1054 of file setup-sh7757.c.

#define INT2PRI2   0xffd40008

Definition at line 1037 of file setup-sh7757.c.

#define INT2PRI20   0xffd10010

Definition at line 1055 of file setup-sh7757.c.

#define INT2PRI21   0xffd10014

Definition at line 1056 of file setup-sh7757.c.

#define INT2PRI22   0xffd10018

Definition at line 1057 of file setup-sh7757.c.

#define INT2PRI23   0xffd1001c

Definition at line 1058 of file setup-sh7757.c.

#define INT2PRI24   0xffd100a0

Definition at line 1059 of file setup-sh7757.c.

#define INT2PRI25   0xffd100a4

Definition at line 1060 of file setup-sh7757.c.

#define INT2PRI26   0xffd100a8

Definition at line 1061 of file setup-sh7757.c.

#define INT2PRI27   0xffd100ac

Definition at line 1062 of file setup-sh7757.c.

#define INT2PRI28   0xffd100b0

Definition at line 1063 of file setup-sh7757.c.

#define INT2PRI29   0xffd100b4

Definition at line 1064 of file setup-sh7757.c.

#define INT2PRI3   0xffd4000c

Definition at line 1038 of file setup-sh7757.c.

#define INT2PRI30   0xffd100b8

Definition at line 1065 of file setup-sh7757.c.

#define INT2PRI31   0xffd100bc

Definition at line 1066 of file setup-sh7757.c.

#define INT2PRI32   0xffd20000

Definition at line 1067 of file setup-sh7757.c.

#define INT2PRI33   0xffd20004

Definition at line 1068 of file setup-sh7757.c.

#define INT2PRI34   0xffd20008

Definition at line 1069 of file setup-sh7757.c.

#define INT2PRI35   0xffd2000c

Definition at line 1070 of file setup-sh7757.c.

#define INT2PRI36   0xffd20010

Definition at line 1071 of file setup-sh7757.c.

#define INT2PRI37   0xffd20014

Definition at line 1072 of file setup-sh7757.c.

#define INT2PRI38   0xffd20018

Definition at line 1073 of file setup-sh7757.c.

#define INT2PRI39   0xffd2001c

Definition at line 1074 of file setup-sh7757.c.

#define INT2PRI4   0xffd40010

Definition at line 1039 of file setup-sh7757.c.

#define INT2PRI40   0xffd200a0

Definition at line 1075 of file setup-sh7757.c.

#define INT2PRI41   0xffd200a4

Definition at line 1076 of file setup-sh7757.c.

#define INT2PRI42   0xffd200a8

Definition at line 1077 of file setup-sh7757.c.

#define INT2PRI43   0xffd200ac

Definition at line 1078 of file setup-sh7757.c.

#define INT2PRI44   0xffd200b0

Definition at line 1079 of file setup-sh7757.c.

#define INT2PRI45   0xffd200b4

Definition at line 1080 of file setup-sh7757.c.

#define INT2PRI46   0xffd200b8

Definition at line 1081 of file setup-sh7757.c.

#define INT2PRI47   0xffd200bc

Definition at line 1082 of file setup-sh7757.c.

#define INT2PRI5   0xffd40014

Definition at line 1040 of file setup-sh7757.c.

#define INT2PRI6   0xffd40018

Definition at line 1041 of file setup-sh7757.c.

#define INT2PRI7   0xffd4001c

Definition at line 1042 of file setup-sh7757.c.

#define INT2PRI8   0xffd400a0

Definition at line 1043 of file setup-sh7757.c.

#define INT2PRI9   0xffd400a4

Definition at line 1044 of file setup-sh7757.c.

#define INTC_ICR0   0xffd00000

Definition at line 1204 of file setup-sh7757.c.

#define INTC_INTMSK0   0xffd00044

Definition at line 1205 of file setup-sh7757.c.

#define INTC_INTMSK1   0xffd00048

Definition at line 1206 of file setup-sh7757.c.

#define INTC_INTMSK2   0xffd40080

Definition at line 1207 of file setup-sh7757.c.

#define INTC_INTMSKCLR1   0xffd00068

Definition at line 1208 of file setup-sh7757.c.

#define INTC_INTMSKCLR2   0xffd40084

Definition at line 1209 of file setup-sh7757.c.

#define INTPRI   0xffd00010

Definition at line 1034 of file setup-sh7757.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
UNUSED 
IRL0_LLLL 
IRL0_LLLH 
IRL0_LLHL 
IRL0_LLHH 
IRL0_LHLL 
IRL0_LHLH 
IRL0_LHHL 
IRL0_LHHH 
IRL0_HLLL 
IRL0_HLLH 
IRL0_HLHL 
IRL0_HLHH 
IRL0_HHLL 
I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RECC 
TSIP 
PCIE_BRIDGE 
WDT0B 
WDT1B 
WDT2B 
WDT3B 
WDT4B 
WDT5B 
WDT6B 
WDT7B 
WDT8B 
GETHER0 
GETHER1 
GETHER2 
PBIA 
PBIB 
PBIC 
DMAE2 
DMAE3 
SERMUX2 
SERMUX3 
TMU012 
TMU345 

Definition at line 802 of file setup-sh7757.c.

Function Documentation

arch_initcall ( sh7757_devices_setup  )
void __init plat_early_device_setup ( void  )

Definition at line 796 of file setup-sh7757.c.

void __init plat_irq_setup ( void  )

Definition at line 1211 of file setup-sh7757.c.

void __init plat_irq_setup_pins ( int  mode)

Definition at line 1229 of file setup-sh7757.c.

void __init plat_mem_setup ( void  )

Definition at line 1267 of file setup-sh7757.c.