/usr/src/linux-headers-5.15.0-190/arch/powerpc/include/asm
NameSizeModeActions
book3s/-0755rm
nohash/-0755rm
vdso/-0755rm
8xx_immap.h140990644editdlrm
accounting.h9080644editdlrm
agp.h5250644editdlrm
archrandom.h8380644editdlrm
asm-compat.h18820644editdlrm
asm-const.h4680644editdlrm
asm-offsets.h350644editdlrm
asm-prototypes.h51300644editdlrm
async_tx.h9080644editdlrm
atomic.h142670644editdlrm
backlight.h11150644editdlrm
barrier.h39770644editdlrm
bitops.h79130644editdlrm
bootx.h11420644editdlrm
bpf_perf_event.h2330644editdlrm
btext.h10060644editdlrm
bug.h40900644editdlrm
cache.h28880644editdlrm
cacheflush.h38510644editdlrm
cell-pmu.h34960644editdlrm
cell-regs.h97990644editdlrm
checksum.h57230644editdlrm
clocksource.h1850644editdlrm
cmpxchg.h122800644editdlrm
code-patching-asm.h3970644editdlrm
code-patching.h54430644editdlrm
compat.h33040644editdlrm
context_tracking.h2450644editdlrm
copro.h5930644editdlrm
cpm.h250644editdlrm
cpm1.h217110644editdlrm
cpm2.h495980644editdlrm
cpufeature.h9980644editdlrm
cpuidle.h34070644editdlrm
cputable.h232110644editdlrm
cputhreads.h38560644editdlrm
cputime.h30690644editdlrm
cpu_has_feature.h13390644editdlrm
cpu_setup_power.h5070644editdlrm
crashdump-ppc64.h6240644editdlrm
current.h6800644editdlrm
dbdma.h38090644editdlrm
dbell.h40250644editdlrm
dcr-generic.h9300644editdlrm
dcr-mmio.h10260644editdlrm
dcr-native.h38590644editdlrm
dcr-regs.h58460644editdlrm
dcr.h21080644editdlrm
debug.h18860644editdlrm
delay.h32970644editdlrm
device.h10160644editdlrm
disassemble.h21890644editdlrm
dma-direct.h3910644editdlrm
dma.h107250644editdlrm
drmem.h29700644editdlrm
dtl.h15150644editdlrm
dt_cpu_ftrs.h7560644editdlrm
edac.h11050644editdlrm
eeh.h154780644editdlrm
eeh_event.h8260644editdlrm
ehv_pic.h9630644editdlrm
elf.h62830644editdlrm
elfnote.h5270644editdlrm
emergency-restart.h430644editdlrm
emulated_ops.h20720644editdlrm
epapr_hcalls.h168270644editdlrm
exception-64e.h57850644editdlrm
exception-64s.h43500644editdlrm
exec.h2460644editdlrm
extable.h12050644editdlrm
fadump-internal.h43520644editdlrm
fadump.h10950644editdlrm
fb.h4830644editdlrm
feature-fixups.h98280644editdlrm
firmware.h53270644editdlrm
fixmap.h37230644editdlrm
floppy.h51110644editdlrm
fsl_85xx_cache_sram.h8120644editdlrm
fsl_gtm.h12030644editdlrm
fsl_hcalls.h176150644editdlrm
fsl_lbc.h104890644editdlrm
fsl_pamu_stash.h4110644editdlrm
fsl_pm.h11830644editdlrm
fs_pd.h10460644editdlrm
ftrace.h35500644editdlrm
futex.h22460644editdlrm
grackle.h3310644editdlrm
hardirq.h9480644editdlrm
head-64.h55070644editdlrm
heathrow.h25950644editdlrm
highmem.h20790644editdlrm
hmi.h9710644editdlrm
hugetlb.h21860644editdlrm
hvcall.h212500644editdlrm
hvconsole.h7900644editdlrm
hvcserver.h14730644editdlrm
hvsi.h28500644editdlrm
hw_breakpoint.h37350644editdlrm
hw_irq.h112180644editdlrm
hydra.h29480644editdlrm
i8259.h3610644editdlrm
ibmebus.h22040644editdlrm
icswx.h50900644editdlrm
ide.h5860644editdlrm
idle.h23720644editdlrm
imc-pmu.h39830644editdlrm
immap_cpm2.h107490644editdlrm
inst.h36830644editdlrm
interrupt.h183530644editdlrm
io-defs.h31640644editdlrm
io-workarounds.h13130644editdlrm
io.h313870644editdlrm
iommu.h102830644editdlrm
io_event_irq.h17460644editdlrm
ipic.h31410644editdlrm
irq.h13200644editdlrm
irqflags.h17770644editdlrm
irq_work.h2130644editdlrm
isa-bridge.h6540644editdlrm
jump_label.h13510644editdlrm
kasan.h13960644editdlrm
Kbuild2860644editdlrm
kdebug.h2910644editdlrm
kdump.h13990644editdlrm
kexec.h48380644editdlrm
kexec_ranges.h9430644editdlrm
keylargo.h110610644editdlrm
kfence.h6500644editdlrm
kgdb.h21560644editdlrm
kprobes.h28150644editdlrm
kup.h32590644editdlrm
kvm_asm.h49520644editdlrm
kvm_book3s.h172200644editdlrm
kvm_book3s_32.h8160644editdlrm
kvm_book3s_64.h183330644editdlrm
kvm_book3s_asm.h37770644editdlrm
kvm_book3s_uvmem.h27380644editdlrm
kvm_booke.h22330644editdlrm
kvm_booke_hv_asm.h19600644editdlrm
kvm_fpu.h21990644editdlrm
kvm_guest.h5660644editdlrm
kvm_host.h219660644editdlrm
kvm_para.h7520644editdlrm
kvm_ppc.h366990644editdlrm
libata-portmap.h2490644editdlrm
linkage.h5010644editdlrm
livepatch.h11400644editdlrm
local.h32580644editdlrm
lppaca.h50150644editdlrm
lv1call.h185550644editdlrm
machdep.h96300644editdlrm
macio.h39850644editdlrm
mc146818rtc.h7360644editdlrm
mce.h63960644editdlrm
mediabay.h13750644editdlrm
membarrier.h8770644editdlrm
mem_encrypt.h5320644editdlrm
mman.h14710644editdlrm
mmiowb.h3740644editdlrm
mmu.h112440644editdlrm
mmu_context.h96460644editdlrm
mmzone.h10030644editdlrm
module.h22840644editdlrm
module.lds.h950644editdlrm
mpc5xxx.h4390644editdlrm
mpc6xx.h1430644editdlrm
mpc52xx.h111000644editdlrm
mpc52xx_psc.h101250644editdlrm
mpc85xx.h23820644editdlrm
mpc5121.h38630644editdlrm
mpc8260.h7420644editdlrm
mpic.h143090644editdlrm
mpic_msgr.h34410644editdlrm
mpic_timer.h11830644editdlrm
msi_bitmap.h8670644editdlrm
nmi.h5790644editdlrm
nvram.h28340644editdlrm
ohare.h16840644editdlrm
opal-api.h316800644editdlrm
opal.h178430644editdlrm
paca.h87830644editdlrm
page.h103620644editdlrm
page_32.h16260644editdlrm
page_64.h27160644editdlrm
paravirt.h38810644editdlrm
parport.h9560644editdlrm
pasemi_dma.h232730644editdlrm
pci-bridge.h94810644editdlrm
pci.h36050644editdlrm
percpu.h8150644editdlrm
perf_event.h15090644editdlrm
perf_event_fsl_emb.h12520644editdlrm
perf_event_server.h71040644editdlrm
pgalloc.h20670644editdlrm
pgtable-be-types.h26010644editdlrm
pgtable-types.h18950644editdlrm
pgtable.h40470644editdlrm
pkeys.h42790644editdlrm
plpar_wrappers.h101930644editdlrm
pmac_feature.h133960644editdlrm
pmac_low_i2c.h31000644editdlrm
pmac_pfunc.h82370644editdlrm
pmc.h11160644editdlrm
pmi.h11770644editdlrm
pnv-ocxl.h30690644editdlrm
pnv-pci.h24320644editdlrm
powernv.h4540644editdlrm
ppc-opcode.h314190644editdlrm
ppc-pci.h22820644editdlrm
ppc4xx.h3280644editdlrm
ppc_asm.h205300644editdlrm
probes.h15420644editdlrm
processor.h118980644editdlrm
prom.h73240644editdlrm
ps3.h152190644editdlrm
ps3av.h234220644editdlrm
ps3gpu.h19280644editdlrm
ps3stor.h14080644editdlrm
pte-walk.h22810644editdlrm
ptrace.h105080644editdlrm
qspinlock.h20640644editdlrm
qspinlock_paravirt.h2210644editdlrm
reg.h644650644editdlrm
reg_8xx.h28670644editdlrm
reg_a2.h61280644editdlrm
reg_booke.h338820644editdlrm
reg_fsl_emb.h39610644editdlrm
rheap.h25780644editdlrm
rio.h4240644editdlrm
rtas-types.h29390644editdlrm
rtas.h125740644editdlrm
runlatch.h11840644editdlrm
seccomp.h10430644editdlrm
sections.h19820644editdlrm
secure_boot.h4760644editdlrm
security_features.h35090644editdlrm
secvar.h7650644editdlrm
serial.h4730644editdlrm
setjmp.h4000644editdlrm
setup.h24750644editdlrm
set_memory.h11600644editdlrm
sfp-machine.h126760644editdlrm
shmparam.h2060644editdlrm
signal.h3200644editdlrm
simple_spinlock.h66620644editdlrm
simple_spinlock_types.h4810644editdlrm
slice.h11210644editdlrm
smp.h78040644editdlrm
smu.h197890644editdlrm
sparsemem.h8430644editdlrm
spinlock.h4720644editdlrm
spinlock_types.h3820644editdlrm
spu.h239630644editdlrm
spu_csa.h61660644editdlrm
spu_info.h2720644editdlrm
spu_priv1.h51860644editdlrm
sstep.h47300644editdlrm
stackprotector.h7880644editdlrm
stacktrace.h2970644editdlrm
string.h25220644editdlrm
svm.h6520644editdlrm
swab.h1730644editdlrm
swiotlb.h3740644editdlrm
switch_to.h29660644editdlrm
synch.h20670644editdlrm
syscall.h30570644editdlrm
syscalls.h21890644editdlrm
task_size_32.h5440644editdlrm
task_size_64.h23900644editdlrm
tce.h8920644editdlrm
termios.h6530644editdlrm
thread_info.h61660644editdlrm
time.h29970644editdlrm
timex.h4630644editdlrm
tlb.h23080644editdlrm
tlbflush.h2710644editdlrm
tm.h6240644editdlrm
topology.h35360644editdlrm
trace.h46950644editdlrm
trace_clock.h3720644editdlrm
tsi108.h32640644editdlrm
tsi108_irq.h39160644editdlrm
tsi108_pci.h11910644editdlrm
types.h8220644editdlrm
uaccess.h142880644editdlrm
udbg.h20030644editdlrm
uic.h4030644editdlrm
ultravisor-api.h9410644editdlrm
ultravisor.h21010644editdlrm
uninorth.h84100644editdlrm
unistd.h14450644editdlrm
uprobes.h8010644editdlrm
user.h21920644editdlrm
vas.h75800644editdlrm
vdso.h10960644editdlrm
vdso_datapage.h35700644editdlrm
vermagic.h4900644editdlrm
vga.h12730644editdlrm
vio.h47340644editdlrm
vmalloc.h5540644editdlrm
word-at-a-time.h48780644editdlrm
xics.h45390644editdlrm
xive-regs.h50830644editdlrm
xive.h51910644editdlrm
xmon.h7330644editdlrm
xor.h10170644editdlrm
xor_altivec.h6830644editdlrm
Edit: /usr/src/linux-headers-5.15.0-190/arch/powerpc/include/asm/8xx_immap.h (14099B)
/* * MPC8xx Internal Memory Map * Copyright (c) 1997 Dan Malek (dmalek@jlc.net) * * The I/O on the MPC860 is comprised of blocks of special registers * and the dual port ram for the Communication Processor Module. * Within this space are functional units such as the SIU, memory * controller, system timers, and other control functions. It is * a combination that I found difficult to separate into logical * functional files.....but anyone else is welcome to try. -- Dan */ #ifdef __KERNEL__ #ifndef __IMMAP_8XX__ #define __IMMAP_8XX__ /* System configuration registers. */ typedef struct sys_conf { uint sc_siumcr; uint sc_sypcr; uint sc_swt; char res1[2]; ushort sc_swsr; uint sc_sipend; uint sc_simask; uint sc_siel; uint sc_sivec; uint sc_tesr; char res2[0xc]; uint sc_sdcr; char res3[0x4c]; } sysconf8xx_t; /* PCMCIA configuration registers. */ typedef struct pcmcia_conf { uint pcmc_pbr0; uint pcmc_por0; uint pcmc_pbr1; uint pcmc_por1; uint pcmc_pbr2; uint pcmc_por2; uint pcmc_pbr3; uint pcmc_por3; uint pcmc_pbr4; uint pcmc_por4; uint pcmc_pbr5; uint pcmc_por5; uint pcmc_pbr6; uint pcmc_por6; uint pcmc_pbr7; uint pcmc_por7; char res1[0x20]; uint pcmc_pgcra; uint pcmc_pgcrb; uint pcmc_pscr; char res2[4]; uint pcmc_pipr; char res3[4]; uint pcmc_per; char res4[4]; } pcmconf8xx_t; /* Memory controller registers. */ typedef struct mem_ctlr { uint memc_br0; uint memc_or0; uint memc_br1; uint memc_or1; uint memc_br2; uint memc_or2; uint memc_br3; uint memc_or3; uint memc_br4; uint memc_or4; uint memc_br5; uint memc_or5; uint memc_br6; uint memc_or6; uint memc_br7; uint memc_or7; char res1[0x24]; uint memc_mar; uint memc_mcr; char res2[4]; uint memc_mamr; uint memc_mbmr; ushort memc_mstat; ushort memc_mptpr; uint memc_mdr; char res3[0x80]; } memctl8xx_t; /*----------------------------------------------------------------------- * BR - Memory Controller: Base Register 16-9 */ #define BR_BA_MSK 0xffff8000 /* Base Address Mask */ #define BR_AT_MSK 0x00007000 /* Address Type Mask */ #define BR_PS_MSK 0x00000c00 /* Port Size Mask */ #define BR_PS_32 0x00000000 /* 32 bit port size */ #define BR_PS_16 0x00000800 /* 16 bit port size */ #define BR_PS_8 0x00000400 /* 8 bit port size */ #define BR_PARE 0x00000200 /* Parity Enable */ #define BR_WP 0x00000100 /* Write Protect */ #define BR_MS_MSK 0x000000c0 /* Machine Select Mask */ #define BR_MS_GPCM 0x00000000 /* G.P.C.M. Machine Select */ #define BR_MS_UPMA 0x00000080 /* U.P.M.A Machine Select */ #define BR_MS_UPMB 0x000000c0 /* U.P.M.B Machine Select */ #define BR_V 0x00000001 /* Bank Valid */ /*----------------------------------------------------------------------- * OR - Memory Controller: Option Register 16-11 */ #define OR_AM_MSK 0xffff8000 /* Address Mask Mask */ #define OR_ATM_MSK 0x00007000 /* Address Type Mask Mask */ #define OR_CSNT_SAM 0x00000800 /* Chip Select Negation Time/ Start */ /* Address Multiplex */ #define OR_ACS_MSK 0x00000600 /* Address to Chip Select Setup mask */ #define OR_ACS_DIV1 0x00000000 /* CS is output at the same time */ #define OR_ACS_DIV4 0x00000400 /* CS is output 1/4 a clock later */ #define OR_ACS_DIV2 0x00000600 /* CS is output 1/2 a clock later */ #define OR_G5LA 0x00000400 /* Output #GPL5 on #GPL_A5 */ #define OR_G5LS 0x00000200 /* Drive #GPL high on falling edge of...*/ #define OR_BI 0x00000100 /* Burst inhibit */ #define OR_SCY_MSK 0x000000f0 /* Cycle Length in Clocks */ #define OR_SCY_0_CLK 0x00000000 /* 0 clock cycles wait states */ #define OR_SCY_1_CLK 0x00000010 /* 1 clock cycles wait states */ #define OR_SCY_2_CLK 0x00000020 /* 2 clock cycles wait states */ #define OR_SCY_3_CLK 0x00000030 /* 3 clock cycles wait states */ #define OR_SCY_4_CLK 0x00000040 /* 4 clock cycles wait states */ #define OR_SCY_5_CLK 0x00000050 /* 5 clock cycles wait states */ #define OR_SCY_6_CLK 0x00000060 /* 6 clock cycles wait states */ #define OR_SCY_7_CLK 0x00000070 /* 7 clock cycles wait states */ #define OR_SCY_8_CLK 0x00000080 /* 8 clock cycles wait states */ #define OR_SCY_9_CLK 0x00000090 /* 9 clock cycles wait states */ #define OR_SCY_10_CLK 0x000000a0 /* 10 clock cycles wait states */ #define OR_SCY_11_CLK 0x000000b0 /* 11 clock cycles wait states */ #define OR_SCY_12_CLK 0x000000c0 /* 12 clock cycles wait states */ #define OR_SCY_13_CLK 0x000000d0 /* 13 clock cycles wait states */ #define OR_SCY_14_CLK 0x000000e0 /* 14 clock cycles wait states */ #define OR_SCY_15_CLK 0x000000f0 /* 15 clock cycles wait states */ #define OR_SETA 0x00000008 /* External Transfer Acknowledge */ #define OR_TRLX 0x00000004 /* Timing Relaxed */ #define OR_EHTR 0x00000002 /* Extended Hold Time on Read */ /* System Integration Timers. */ typedef struct sys_int_timers { ushort sit_tbscr; char res0[0x02]; uint sit_tbreff0; uint sit_tbreff1; char res1[0x14]; ushort sit_rtcsc; char res2[0x02]; uint sit_rtc; uint sit_rtsec; uint sit_rtcal; char res3[0x10]; ushort sit_piscr; char res4[2]; uint sit_pitc; uint sit_pitr; char res5[0x34]; } sit8xx_t; #define TBSCR_TBIRQ_MASK ((ushort)0xff00) #define TBSCR_REFA ((ushort)0x0080) #define TBSCR_REFB ((ushort)0x0040) #define TBSCR_REFAE ((ushort)0x0008) #define TBSCR_REFBE ((ushort)0x0004) #define TBSCR_TBF ((ushort)0x0002) #define TBSCR_TBE ((ushort)0x0001) #define RTCSC_RTCIRQ_MASK ((ushort)0xff00) #define RTCSC_SEC ((ushort)0x0080) #define RTCSC_ALR ((ushort)0x0040) #define RTCSC_38K ((ushort)0x0010) #define RTCSC_SIE ((ushort)0x0008) #define RTCSC_ALE ((ushort)0x0004) #define RTCSC_RTF ((ushort)0x0002) #define RTCSC_RTE ((ushort)0x0001) #define PISCR_PIRQ_MASK ((ushort)0xff00) #define PISCR_PS ((ushort)0x0080) #define PISCR_PIE ((ushort)0x0004) #define PISCR_PTF ((ushort)0x0002) #define PISCR_PTE ((ushort)0x0001) /* Clocks and Reset. */ typedef struct clk_and_reset { uint car_sccr; uint car_plprcr; uint car_rsr; char res[0x74]; /* Reserved area */ } car8xx_t; /* System Integration Timers keys. */ typedef struct sitk { uint sitk_tbscrk; uint sitk_tbreff0k; uint sitk_tbreff1k; uint sitk_tbk; char res1[0x10]; uint sitk_rtcsck; uint sitk_rtck; uint sitk_rtseck; uint sitk_rtcalk; char res2[0x10]; uint sitk_piscrk; uint sitk_pitck; char res3[0x38]; } sitk8xx_t; /* Clocks and reset keys. */ typedef struct cark { uint cark_sccrk; uint cark_plprcrk; uint cark_rsrk; char res[0x474]; } cark8xx_t; /* The key to unlock registers maintained by keep-alive power. */ #define KAPWR_KEY ((unsigned int)0x55ccaa33) /* Video interface. MPC823 Only. */ typedef struct vid823 { ushort vid_vccr; ushort res1; u_char vid_vsr; u_char res2; u_char vid_vcmr; u_char res3; uint vid_vbcb; uint res4; uint vid_vfcr0; uint vid_vfaa0; uint vid_vfba0; uint vid_vfcr1; uint vid_vfaa1; uint vid_vfba1; u_char res5[0x18]; } vid823_t; /* LCD interface. 823 Only. */ typedef struct lcd { uint lcd_lccr; uint lcd_lchcr; uint lcd_lcvcr; char res1[4]; uint lcd_lcfaa; uint lcd_lcfba; char lcd_lcsr; char res2[0x7]; } lcd823_t; /* I2C */ typedef struct i2c { u_char i2c_i2mod; char res1[3]; u_char i2c_i2add; char res2[3]; u_char i2c_i2brg; char res3[3]; u_char i2c_i2com; char res4[3]; u_char i2c_i2cer; char res5[3]; u_char i2c_i2cmr; char res6[0x8b]; } i2c8xx_t; /* DMA control/status registers. */ typedef struct sdma_csr { char res1[4]; uint sdma_sdar; u_char sdma_sdsr; char res3[3]; u_char sdma_sdmr; char res4[3]; u_char sdma_idsr1; char res5[3]; u_char sdma_idmr1; char res6[3]; u_char sdma_idsr2; char res7[3]; u_char sdma_idmr2; char res8[0x13]; } sdma8xx_t; /* Communication Processor Module Interrupt Controller. */ typedef struct cpm_ic { ushort cpic_civr; char res[0xe]; uint cpic_cicr; uint cpic_cipr; uint cpic_cimr; uint cpic_cisr; } cpic8xx_t; /* Input/Output Port control/status registers. */ typedef struct io_port { ushort iop_padir; ushort iop_papar; ushort iop_paodr; ushort iop_padat; char res1[8]; ushort iop_pcdir; ushort iop_pcpar; ushort iop_pcso; ushort iop_pcdat; ushort iop_pcint; char res2[6]; ushort iop_pddir; ushort iop_pdpar; char res3[2]; ushort iop_pddat; uint utmode; char res4[4]; } iop8xx_t; /* Communication Processor Module Timers */ typedef struct cpm_timers { ushort cpmt_tgcr; char res1[0xe]; ushort cpmt_tmr1; ushort cpmt_tmr2; ushort cpmt_trr1; ushort cpmt_trr2; ushort cpmt_tcr1; ushort cpmt_tcr2; ushort cpmt_tcn1; ushort cpmt_tcn2; ushort cpmt_tmr3; ushort cpmt_tmr4; ushort cpmt_trr3; ushort cpmt_trr4; ushort cpmt_tcr3; ushort cpmt_tcr4; ushort cpmt_tcn3; ushort cpmt_tcn4; ushort cpmt_ter1; ushort cpmt_ter2; ushort cpmt_ter3; ushort cpmt_ter4; char res2[8]; } cpmtimer8xx_t; /* Finally, the Communication Processor stuff..... */ typedef struct scc { /* Serial communication channels */ uint scc_gsmrl; uint scc_gsmrh; ushort scc_psmr; char res1[2]; ushort scc_todr; ushort scc_dsr; ushort scc_scce; char res2[2]; ushort scc_sccm; char res3; u_char scc_sccs; char res4[8]; } scc_t; typedef struct smc { /* Serial management channels */ char res1[2]; ushort smc_smcmr; char res2[2]; u_char smc_smce; char res3[3]; u_char smc_smcm; char res4[5]; } smc_t; /* MPC860T Fast Ethernet Controller. It isn't part of the CPM, but * it fits within the address space. */ typedef struct fec { uint fec_addr_low; /* lower 32 bits of station address */ ushort fec_addr_high; /* upper 16 bits of station address */ ushort res1; /* reserved */ uint fec_grp_hash_table_high; /* upper 32-bits of hash table */ uint fec_grp_hash_table_low; /* lower 32-bits of hash table */ uint fec_r_des_start; /* beginning of Rx descriptor ring */ uint fec_x_des_start; /* beginning of Tx descriptor ring */ uint fec_r_buff_size; /* Rx buffer size */ uint res2[9]; /* reserved */ uint fec_ecntrl; /* ethernet control register */ uint fec_ievent; /* interrupt event register */ uint fec_imask; /* interrupt mask register */ uint fec_ivec; /* interrupt level and vector status */ uint fec_r_des_active; /* Rx ring updated flag */ uint fec_x_des_active; /* Tx ring updated flag */ uint res3[10]; /* reserved */ uint fec_mii_data; /* MII data register */ uint fec_mii_speed; /* MII speed control register */ uint res4[17]; /* reserved */ uint fec_r_bound; /* end of RAM (read-only) */ uint fec_r_fstart; /* Rx FIFO start address */ uint res5[6]; /* reserved */ uint fec_x_fstart; /* Tx FIFO start address */ uint res6[17]; /* reserved */ uint fec_fun_code; /* fec SDMA function code */ uint res7[3]; /* reserved */ uint fec_r_cntrl; /* Rx control register */ uint fec_r_hash; /* Rx hash register */ uint res8[14]; /* reserved */ uint fec_x_cntrl; /* Tx control register */ uint res9[0x1e]; /* reserved */ } fec_t; /* The FEC and LCD color map share the same address space.... * I guess we will never see an 823T :-). */ union fec_lcd { fec_t fl_un_fec; u_char fl_un_cmap[0x200]; }; typedef struct comm_proc { /* General control and status registers. */ ushort cp_cpcr; u_char res1[2]; ushort cp_rccr; u_char res2; u_char cp_rmds; u_char res3[4]; ushort cp_cpmcr1; ushort cp_cpmcr2; ushort cp_cpmcr3; ushort cp_cpmcr4; u_char res4[2]; ushort cp_rter; u_char res5[2]; ushort cp_rtmr; u_char res6[0x14]; /* Baud rate generators. */ uint cp_brgc1; uint cp_brgc2; uint cp_brgc3; uint cp_brgc4; /* Serial Communication Channels. */ scc_t cp_scc[4]; /* Serial Management Channels. */ smc_t cp_smc[2]; /* Serial Peripheral Interface. */ ushort cp_spmode; u_char res7[4]; u_char cp_spie; u_char res8[3]; u_char cp_spim; u_char res9[2]; u_char cp_spcom; u_char res10[2]; /* Parallel Interface Port. */ u_char res11[2]; ushort cp_pipc; u_char res12[2]; ushort cp_ptpr; uint cp_pbdir; uint cp_pbpar; u_char res13[2]; ushort cp_pbodr; uint cp_pbdat; /* Port E - MPC87x/88x only. */ uint cp_pedir; uint cp_pepar; uint cp_peso; uint cp_peodr; uint cp_pedat; /* Communications Processor Timing Register - Contains RMII Timing for the FECs on MPC87x/88x only. */ uint cp_cptr; /* Serial Interface and Time Slot Assignment. */ uint cp_simode; u_char cp_sigmr; u_char res15; u_char cp_sistr; u_char cp_sicmr; u_char res16[4]; uint cp_sicr; uint cp_sirp; u_char res17[0xc]; /* 256 bytes of MPC823 video controller RAM array. */ u_char cp_vcram[0x100]; u_char cp_siram[0x200]; /* The fast ethernet controller is not really part of the CPM, * but it resides in the address space. * The LCD color map is also here. */ union fec_lcd fl_un; #define cp_fec fl_un.fl_un_fec #define lcd_cmap fl_un.fl_un_cmap char res18[0xE00]; /* The DUET family has a second FEC here */ fec_t cp_fec2; #define cp_fec1 cp_fec /* consistency macro */ /* Dual Ported RAM follows. * There are many different formats for this memory area * depending upon the devices used and options chosen. * Some processors don't have all of it populated. */ u_char cp_dpmem[0x1C00]; /* BD / Data / ucode */ u_char cp_dparam[0x400]; /* Parameter RAM */ } cpm8xx_t; /* Internal memory map. */ typedef struct immap { sysconf8xx_t im_siu_conf; /* SIU Configuration */ pcmconf8xx_t im_pcmcia; /* PCMCIA Configuration */ memctl8xx_t im_memctl; /* Memory Controller */ sit8xx_t im_sit; /* System integration timers */ car8xx_t im_clkrst; /* Clocks and reset */ sitk8xx_t im_sitk; /* Sys int timer keys */ cark8xx_t im_clkrstk; /* Clocks and reset keys */ vid823_t im_vid; /* Video (823 only) */ lcd823_t im_lcd; /* LCD (823 only) */ i2c8xx_t im_i2c; /* I2C control/status */ sdma8xx_t im_sdma; /* SDMA control/status */ cpic8xx_t im_cpic; /* CPM Interrupt Controller */ iop8xx_t im_ioport; /* IO Port control/status */ cpmtimer8xx_t im_cpmtimer; /* CPM timers */ cpm8xx_t im_cpm; /* Communication processor */ } immap_t; #endif /* __IMMAP_8XX__ */ #endif /* __KERNEL__ */