Регистры Allwinner H616

Сокращения  |  Дерево шин  |  Карта памяти


E_HCSPPORTROUTE
9.5.3. EHCI Companion Port Route Description - адрес: 0x520000c 0x531000c 0x531100c (смещение: 0x000C)

Хост-контроллер USB2.0: список регистров



31 ||||||||||||||||| 16
15 ||||||||||||||||| 00

  HCSP_ORTROUTE

Bits 31 : 0
R
0x0

This optional field is valid only if Port Routing Rules field in HCSPARAMS
register is set to a one.
This field is used to allow a host controller implementation to explicitly
describe to which companion host controller each implemented port is
mapped. This field is a 15-element nibble array (each 4 bit is one array element).

Each array location corresponds one-to-one with a physical port
provided by the host controller (e.g. PORTROUTE [0] corresponds to the first
PORTSC port, PORTROUTE [1] to the second PORTSC port, etc.). The value of
each element indicates to which the companion host controllers this port is
routed. Only the first N_PORTS elements have valid information. A value of
zero indicates that the port is routed to the lowest numbered function
companion host controller. A value of one indicates that the port is routed
to the next lowest numbered function companion host controller, and so on.



Команда U-Boot для чтения регистра

md 520000c 1
md 531000c 1
md 531100c 1



Bit fields structure

typedef union  e_hcspportroute
{
  struct
  {
   unsigned hcsp_ortroute : 32;
  } b;
   unsigned long w;
} E_HCSPPORTROUTE
   

Allwinner H616 Manual