P2020 CCSRGU Model

This section describes the model of the P2020 CCSR General Utilities model. The device models the General Utilities part in CCSR space. CCSRGU includes the local configuration control and local access parts, handling the remapping of the dynamic physical address space.

Loading the Plugin

import P2020

Configuration

@CCSRGU Reference

Properties

Name Type Description

Class

*void

Class object

Component

*void

Pointer to component object if part of component

LoggingFlags

uint64_t

Flags for logging info

Name

*char

Object name

TimeSource

*void

Time source object

Commands

Name Description

delete

Dispose instance of @CCSRGU

new

Create new instance of CCSRGU

Command new Arguments

Name Type Required Description

name

string

yes

Name of object to create

CCSRGU Reference

Properties

Name Type Description

ALTCAR

uint32_t

ALTCAR register

ALTCBAR

uint32_t

ALTCBAR register

BPTR

uint32_t

BPTR register

CCSRBAR

uint32_t

CCSRBAR register

Class

*void

Class object

Component

*void

Pointer to component object if part of component

LAWAR

[uint32_t; 12]

LAWAR register

LAWBAR

[uint32_t; 12]

LAWBAR register

LoggingFlags

uint64_t

Flags for logging info

Name

*char

Object name

TimeSource

*void

Time source object

ddr

temu_IfaceRef/ <unknown>

DDR memory controller

ddrCtrl

temu_IfaceRef/ <unknown>

DDR registers.

dmaCtrl

[temu_IfaceRef; 2]/ <unknown>

DMA registers

duartCtrl

[temu_IfaceRef; 2]/ <unknown>

DUART registers

ecmCtrl

temu_IfaceRef/ <unknown>

ECM registers

elbc

temu_IfaceRef/ <unknown>

Enhanced local bus

elbcCtrl

temu_IfaceRef/ <unknown>

eLBC registers

esdhcCtrl

temu_IfaceRef/ <unknown>

eSDHC registers

espiCtrl

temu_IfaceRef/ <unknown>

eSPI registers

etsecCtrl

[temu_IfaceRef; 3]/ <unknown>

eTSEC registers

globalUtilitiesCtrl

temu_IfaceRef/ <unknown>

Global utilities registers

gpioCtrl

temu_IfaceRef/ <unknown>

GPIO registers

i2cCtrl

temu_IfaceRef/ <unknown>

I2C registers

l2CacheCtrl

temu_IfaceRef/ <unknown>

L2 Cache regsiters

localAccess

temu_IfaceRef/ <unknown>

Reference to device itself

memSpace

temu_IfaceRef/ <unknown>

Memory space

pci

[temu_IfaceRef; 3]/ <unknown>

PCI bridges

pcixCtrl

[temu_IfaceRef; 3]/ <unknown>

PCIx registers

picCtrl

temu_IfaceRef/ <unknown>

PIC registers

secCtrl

temu_IfaceRef/ <unknown>

SEC registers

srio

[temu_IfaceRef; 2]/ <unknown>

SRIO

usbCtrl

temu_IfaceRef/ <unknown>

USB registers

Interfaces

Name Type Description

MemAccessIface

MemAccessIface

Memory access interface

Commands

Name Description

delete

Dispose instance of CCSRGU

Limitations