.begin
# Siae Microelettronica spa - copyright (C) 2011
# Executable Downlodable File
#
# unit_slot=      unit slot
# unit_type=      unit board type es.: 2 -->'eq_controller'
# element_id=     SW id es.:1 FW_boot, 2 FW_appl, 3 FPGA ...
# version=        software version
# software_type=  software type es.: S = Motorola format
#                                    I = FPGA format
#                                    B = binary format
#                                    V = Immediate download
#                                    E = Executable ELF file
#                                    C = Custom file (file di configurazione)
# format=         formato codice es.: plain = in chiaro
#                                     zip   = zippato
# chunk=          numero progressivo utilizzato nei file 'splittati'
#
# name_orig=      file da cui e' stato derivato questo
# date_orig=      data del file <name_orig>
#
 equip_type=       
 name=             ePHY-v1.0.0.cfg
 date=             16/11/2011 16:45:21

 element_id=       7
 unit_slot=        2
 unit_type=        301
 code=             
 version=          01.00.00
 type=             I
 format=           Plain
 chunk=            0

 name_orig=        ePHY-v1.0.0
 date_orig=        16/11/2011 16:44:30

 checksum=         2956033

.echo Siae Microelettronica spa - copyright (C) 2011
.echo
.echo File:        ePHY-v1.0.0.cfg ver: 01.00.00 - 16/11/2011 16:45:21
.echo Type:        I - Plain
.echo Description: Peripheric apply
.echo              Element 7 for the unit type 301 in the slot 2

.end

  #  LEGEND:
  #
  #  Register Types
  #
  #    LH      Latching high
  #    LL      Latching low
  #    RES     Reserved for future use.
  #    RO      Read Only
  #    RW      Read Write
  #    RWR     Read Write reset (zero after reset)
  #    RWS     Read Write set   (non-zero after reset)
  #    SC      Self Clear
  #    Update  Does not take effect until soft reset is executed
  #    Retain  Does not take effect until soft reset is executed
  #    WBAR    Write Back As Read.
  #    WO      Write Only
  #


                              #      ####     ####    ####                                                                    ######
                    ######   ##     #    #   #   #   #   #                               ######  ######  ######  #######      #    #
                    #       # #        #        #       #                                #    #  #    #  #    #     #         #    #
                    #####     #       ###      #       #                                 #    #  #    #  #    #     #         #    #
                    #         #         #     #       #               #########          ######  #    #  ######     #         #    #
                    #         #     #    #   #       #                                   #       #    #  # #        #         #    #
                    ######  #####    ####   ######  ######                               #       ######  #  ##      #         ######



section ePHY_1322_Port0
begin

#register 0x0016 is 0x00ff with mask 0xffff;

#register 0x0018 is 0x2800 with mask 0xffff;

#register 0x0017 is 0x2001 with mask 0xffff;

#register 0x0016 is 0x0000 with mask 0xffff;

register 0x0016 is 0x0000 with mask 0xffff;

register 0x001d is 0x0003 with mask 0xffff;

register 0x001e is 0x0002 with mask 0xffff;

register 0x001d is 0x0000 with mask 0xffff;

  # Copper Control register (offset 0x00)
register 0x0000 is 0x0000 with mask 0x44a0;

# Copper Auto-Negotiation advertisement Register (offset 0x04)
register 0x0004 is 0x01e1 with mask 0xabff;

  # Copper Next Page Transmit Register (offset 0x07)
register 0x0007 is 0x2001 with mask 0xb7ff;

  # 1000BASE-T Control Register (offset 0x09)
register 0x0009 is 0x0300 with mask 0xe3ff;

  # Copper Specific Control Register 1 (offset 0x10)
register 0x0010 is 0x3b00 with mask 0xff9f;

  # Copper Specific Interrupt Enable (offset 0x12)
register 0x0012 is 0x0000 with mask 0xffff;

  # Copper Specific Control Register 2 (offset 0x14)
register 0x0014 is 0x0000 with mask 0xffdf;

  # Page Address (offset 0x16)
register 0x0016 is 0x0000 with mask 0x0000;

  # Copper Specific Control Register 3 (offset 0x1a)
register 0x001a is 0x0040 with mask 0xffff;

  # Fiber Control Register (page 1 offset 0x00)
register 0x0020 is 0x1140 with mask 0xffff;

  # Fiber Auto Negotiation Advertisement Register (page 1 offset 0x04)
register 0x0024 is 0x0024 with mask 0x3060;

  # Fiber Next Page Transmit Register (page 1 offset 0x07)
register 0x0027 is 0x2001 with mask 0xb7ff;

  # Fiber Specific Control Register 1 (page 1 offset 0x10)
register 0x0030 is 0x408f with mask 0xffff;

  # Fiber Interrupt Enable Register (page 1 offset 0x12)
register 0x0032 is 0x0000 with mask 0x7f80;

  # PRBS Control (page 1 offset 0x17)
register 0x0037 is 0x00e0 with mask 0xffff;

  # Fiber Specific Control Register 2 (page 1 offset 0x1a)
register 0x003a is 0x004a with mask 0xffd7;

  # MAC Specific Control Register 1 (page 2 offset 0x10)
register 0x0050 is 0xdc08 with mask 0xffff;

  # MAC Specific Interrupt Enable Register (page 2 offset 0x12)
register 0x0052 is 0x0000 with mask 0xffff;

  # MAC Specific Control Register 2 (page 2 offset 0x15)
register 0x0055 is 0x3046 with mask 0xbfff;

  # LED[3:0] Function Control Register (page 3 offset 0x10)
register 0x0070 is 0x9192 with mask 0x0000;

  # LED[3:0] Polarity Control Register (page 3 offset 0x11)
register 0x0071 is 0x0055 with mask 0xffff;

  # LED Timer Control Register (page 3 offset 0x12)
register 0x0072 is 0x4905 with mask 0xffff;

  # LED[5:4] Function Control and Polarity Register (page 3 offset 0x13)
register 0x0073 is 0x2500 with mask 0xffff;

  # QSGMII Control Register (page 4 offset 0x00)
register 0x0080 is 0x1140 with mask 0xffff;      #TOLTO RESET

  # QSGMII Specific Control Register 1 (page 4 offset 0x10)
register 0x0090 is 0x4084 with mask 0xffff;

  # QSGMII interrupt Enable Register (page 4 offset 0x12)
register 0x0092 is 0x0000 with mask 0xffff;

  # PRBS Control (page 4 offset 0x17)
register 0x0097 is 0x00e0 with mask 0xffff;

  # QSGMII Global Control Register 1 (page 4 offset 0x1a)
register 0x009a is 0x3000 with mask 0xbfff;

  # QSGMII Global Control Register 2 (page 4 offset 0x1b)
register 0x009b is 0x7e03 with mask 0xffff;

  # Advanced VCT Control Register (page 5 offset 0x17)
register 0x00b7 is 0x0c00 with mask 0xbfff;

  # Advanced VCT Sample Point Distance (page 5 offset 0x18)
register 0x00b8 is 0x0000 with mask 0x03ff;

  # Advanced VCT CrossPair Positive Threshold (page 5 offset 0x19)
register 0x00b9 is 0x0104 with mask 0x7f7f;

  # Advanced VCT Same Pair Impedence Positive Threshold 0 and 1 (page 5 offset 0x1a)
register 0x00ba is 0x0f12 with mask 0x7f7f;

  # Advanced VCT Same Pair Impedence Positive Threshold 2 and 3 (page 5 offset 0x1b)
register 0x00bb is 0x0a1c with mask 0x7f7f;

  # Advanced VCT Same pair Impedence Positive Threshold 4 and Transmit Pulse Control (page 5 offset 0x1c)
register 0x00bc is 0x0006 with mask 0x3fff;

  # Packet Generator (page 6 offset 0x10)
register 0x00d0 is 0x0004 with mask 0xffff;

  # Checker Control (page 6 offset 0x12)
register 0x00d2 is 0x0000 with mask 0xffff;

  # General Control Register (page 6 offset 0x14)
register 0x00d4 is 0x0205 with mask 0xfc7f;	#TOLTO RESET

  # Late Collision Windows/Link Disconnect (page 6 offset 0x19)
register 0x00d9 is 0x0000 with mask 0xff00;

  # Misc Test (page 6 offset 0x1a)
register 0x00da is 0x1900 with mask 0xffa0;

  # PHY Cable Diagnostic Control (page 7 offset 0x15)
register 0x00e5 is 0x2400 with mask 0xf400;

  # Advanced VCT Cross Pair Negative Threshold (page 7 offset 0x19)
register 0x00e9 is 0x0000 with mask 0x7f7f;

  # Advanced VCT Cross Pair Negative Threshold 0 and 1 (page 7 offset 0x1a)
register 0x00ea is 0x0000 with mask 0x7f7f;

  # Advanced VCT Cross Pair Negative Threshold 2 and 3 (page 7 offset 0x1b)
register 0x00eb is 0x0000 with mask 0x7f7f;

  # Advanced VCT Cross Pair Negative Threshold 4 (page 7 offset 0x1c)
register 0x00ec is 0x0000 with mask 0x007f;

  # PTP Port Configuration Register 0 (page 8 offset 0x00)
register 0x0100 is 0x0000 with mask 0xf800;

  # PTP Port Configuration Register 1 (page 8 offset 0x01)
register 0x0101 is 0x020c with mask 0x3f1f;

  # PTP Port Configuration Register 2 (page 8 offset 0x02)
register 0x0102 is 0x0003 with mask 0x0003;

  # PTP Arrival 0 Time Port Status Register (page 8 offset 0x08)
register 0x0108 is 0x0000 with mask 0x0007;

  # PTP Arrival 0 Time Register Bytes 1 & 0 (page 8 offset 0x09)
register 0x0109+(8*32) is 0x0000 with mask 0x0000;

  # PTP Arrival 0 Time Register Bytes 3 & 2 (page 8 offset 0x0a)
register 0x010a is 0x0000 with mask 0x0000;

  # PTP Arrival 0 Sequence Identifier Register (page 8 offset 0x0b)
register 0x010b is 0x0000 with mask 0x0000;

  # PTP Arrival 1 Time Port status Register (page 8 offset 0x0c)
register 0x010c is 0x0000 with mask 0x0000;

  # PTP Arrival 1 Time Register Bytes 1& 0 (page 8 offset 0x0d)
register 0x010d is 0x0000 with mask 0x0000;

  # PTP Arrival 1 Time Register Bytes 3 & 2 (page 8 offset 0x0e)
register 0x010e is 0x0000 with mask 0x0000;

  # PTP Arrival 1 Sequence Identifier Register (page 8 offset 0x0f)
register 0x010f is 0x0000 with mask 0x0000;

  # PTP Departure Time Port Status Register (page 9 offset 0x00)
register 0x0120 is 0x0000 with mask 0x0000;

  # PTP Departure Time Register Bytes 1 & 0 (page 9 offset 0x01)
register 0x0121 is 0x0000 with mask 0x0000;

  # PTP Departure Time Register Bytes 3 & 2 (page 9 offset 0x02)
register 0x0122 is 0x0000 with mask 0x0008;

  # PTP Departure Sequence Identifier Status Register (page 9 offset 0x03)
register 0x0123 is 0x0000 with mask 0x0000;

  # PTP Port Discard Counter Register (page 9 offset 0x05)
register 0x0125 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 0 (page 12 offset 0x00)
register 0x0180 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 1 (page 12 offset 0x01)
register 0x0181 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 0 (page 12 offset 0x02)
register 0x0182 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 3 (page 12 offset 0x03)
register 0x0183 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 4 (page 12 offset 0x04)
register 0x0184 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 5 (page 12 offset 0x05)
register 0x0185 is 0x0000 with mask 0x0008;

  # TAI Global Configuration Register 8 (page 12 offset 0x08)
register 0x0188 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 9 (page 12 offset 0x09)
register 0x0009 is 0x0000 with mask 0x0000;

  # Event Capture Register Bytes 1 & 0 (page 12 offset 0x0a)
register 0x018a is 0x0000 with mask 0x0000;

  # Event Capture Register Bytes 3 & 2 (page 12 offset 0x0b)
register 0x018b is 0x0000 with mask 0x0000;

    # PTP Global Time Register  Bytes 1 & 0 (page 12 offset 0x0e)
register 0x018e is 0x0000 with mask 0x0000;

  # PTP Global Time Register  Bytes 3 & 2 (page 12 offset 0x0f)
register 0x018f is 0x0000 with mask 0x0000;

  # PTP Global Configuration Register 0 (page 14 offset 0x00)
register 0x01c0 is 0xffff with mask 0x88f7;

  # PTP Global Configuration Register 1 (page 14 offset 0x01)
register 0x01c1 is 0x0000 with mask 0x0000;

  # PTP Global Configuration Register 2 (page 14 offset 0x02)
register 0x01c2 is 0x0000 with mask 0x0000;

  # PTP Global Configuration Register 3 (page 14 offset 0x03)
register 0x01c3 is 0x0000 with mask 0x0000;

  # PTP status Register (page 14 offset 0x08)
register 0x01c8 is 0x0000 with mask 0x0000;

  # ReadPlus Command Register (page 14 offset 0x0e)
register 0x01ce is 0x0000 with mask 0x0000;

  # ReadPlus Data Register (page 14 offset 0x0f)
register 0x01cf is 0x0000 with mask 0x0000;


end




                              #      ####     ####    ####                                                                      #
                    ######   ##     #    #   #   #   #   #                               ######  ######  ######  #######       ##
                    #       # #        #        #       #                                #    #  #    #  #    #     #         # #
                    #####     #       ###      #       #                                 #    #  #    #  #    #     #           #
                    #         #         #     #       #               #########          ######  #    #  ######     #           #
                    #         #     #    #   #       #                                   #       #    #  # #        #           #
                    ######  #####    ####   ######  ######                               #       ######  #  ##      #         #####



section ePHY_1322_Port1
begin

#register 0x0016 is 0x00ff with mask 0xffff;

#register 0x0018 is 0x2800 with mask 0xffff;

#register 0x0017 is 0x2001 with mask 0xffff;

#register 0x0016 is 0x0000 with mask 0xffff;

register 0x0016 is 0x0000 with mask 0xffff;

register 0x001d is 0x0003 with mask 0xffff;

register 0x001e is 0x0002 with mask 0xffff;

register 0x001d is 0x0000 with mask 0xffff;

  # Copper Control register (offset 0x00)
register 0x0000 is 0x0000 with mask 0x44a0;

# Copper Auto-Negotiation advertisement Register (offset 0x04)
register 0x0004 is 0x01e1 with mask 0xabff;

  # Copper Next Page Transmit Register (offset 0x07)
register 0x0007 is 0x2001 with mask 0xb7ff;

  # 1000BASE-T Control Register (offset 0x09)
register 0x0009 is 0x0300 with mask 0xe3ff;

  # Copper Specific Control Register 1 (offset 0x10)
register 0x0010 is 0x3b00 with mask 0xff97;

  # Copper Specific Interrupt Enable (offset 0x12)
register 0x0012 is 0x0000 with mask 0xffff;

  # Copper Specific Control Register 2 (offset 0x14)
register 0x0014 is 0x0000 with mask 0xffdf;

  # Page Address (offset 0x16)
register 0x0016 is 0x0000 with mask 0x0000;

  # Copper Specific Control Register 3 (offset 0x1a)
register 0x001a is 0x0040 with mask 0xffff;

  # Fiber Control Register (page 1 offset 0x00)
register 0x0020 is 0x0140 with mask 0x4000;

  # Fiber Auto Negotiation Advertisement Register (page 1 offset 0x04)
register 0x0024 is 0x0024 with mask 0x3060;

  # Fiber Next Page Transmit Register (page 1 offset 0x07)
register 0x0027 is 0x2001 with mask 0xb7ff;

  # Fiber Specific Control Register 1 (page 1 offset 0x10)
register 0x0030 is 0x408f with mask 0xffff;

  # Fiber Interrupt Enable Register (page 1 offset 0x12)
register 0x0032 is 0x0000 with mask 0x7f80;

  # PRBS Control (page 1 offset 0x17)
register 0x0037 is 0x00e0 with mask 0xffff;

  # Fiber Specific Control Register 2 (page 1 offset 0x1a)
register 0x003a is 0x004a with mask 0xffd7;

  # MAC Specific Control Register 1 (page 2 offset 0x10)
register 0x0050 is 0xddc8 with mask 0xffff;

  # MAC Specific Interrupt Enable Register (page 2 offset 0x12)
register 0x0052 is 0x0000 with mask 0xffff;

  # MAC Specific Control Register 2 (page 2 offset 0x15)
register 0x0055 is 0x3046 with mask 0xbfff;

  # LED[3:0] Function Control Register (page 3 offset 0x10)
register 0x0070 is 0x8192 with mask 0xefef;

  # LED[3:0] Polarity Control Register (page 3 offset 0x11)
register 0x0071 is 0x0055 with mask 0xffff;

  # LED Timer Control Register (page 3 offset 0x12)
register 0x0072 is 0x4905 with mask 0xffff;

  # LED[5:4] Function Control and Polarity Register (page 3 offset 0x13)
register 0x0073 is 0x0073 with mask 0xffff;

  # QSGMII Control Register (page 4 offset 0x00)
register 0x0080 is 0x1140 with mask 0xffff; #TOLTO RESET

  # QSGMII Specific Control Register 1 (page 4 offset 0x10)
register 0x0090 is 0x4084 with mask 0xffff;

  # QSGMII interrupt Enable Register (page 4 offset 0x12)
register 0x0092 is 0x0000 with mask 0xffff;

  # PRBS Control (page 4 offset 0x17)
register 0x0097 is 0x00e0 with mask 0xffff;

  # QSGMII Global Control Register 1 (page 4 offset 0x1a)
register 0x009a is 0x3000 with mask 0xbfff;

  # QSGMII Global Control Register 2 (page 4 offset 0x1b)
register 0x009b is 0x7e03 with mask 0xffff;

  # Advanced VCT Control Register (page 5 offset 0x17)
register 0x00b7 is 0x0c00 with mask 0xbfff;

  # Advanced VCT Sample Point Distance (page 5 offset 0x18)
register 0x00b8 is 0x0000 with mask 0x03ff;

  # Advanced VCT CrossPair Positive Threshold (page 5 offset 0x19)
register 0x00b9 is 0x0104 with mask 0x7f7f;

  # Advanced VCT Same Pair Impedence Positive Threshold 0 and 1 (page 5 offset 0x1a)
register 0x00ba is 0x0f12 with mask 0x7f7f;

  # Advanced VCT Same Pair Impedence Positive Threshold 2 and 3 (page 5 offset 0x1b)
register 0x00bb is 0x0a1c with mask 0x7f7f;

  # Advanced VCT Same pair Impedence Positive Threshold 4 and Transmit Pulse Control (page 5 offset 0x1c)
register 0x00bc is 0x0006 with mask 0x3fff;

  # Packet Generator (page 6 offset 0x10)
register 0x00d0 is 0x0004 with mask 0xffff;

  # Checker Control (page 6 offset 0x12)
register 0x00d2 is 0x0000 with mask 0xffff;

  # General Control Register (page 6 offset 0x14)
register 0x00d4 is 0x0205 with mask 0x0000; 	#TOLTO RESET #uso default

  # Late Collision Windows/Link Disconnect (page 6 offset 0x19)
register 0x00d9 is 0x0000 with mask 0xff00;

  # Misc Test (page 6 offset 0x1a)
register 0x00da is 0x1900 with mask 0xffa0;

  # PHY Cable Diagnostic Control (page 7 offset 0x15)
register 0x00e5 is 0x2400 with mask 0xf400;

  # Advanced VCT Cross Pair Negative Threshold (page 7 offset 0x19)
register 0x00e9 is 0x0000 with mask 0x7f7f;

  # Advanced VCT Cross Pair Negative Threshold 0 and 1 (page 7 offset 0x1a)
register 0x00ea is 0x0000 with mask 0x7f7f;

  # Advanced VCT Cross Pair Negative Threshold 2 and 3 (page 7 offset 0x1b)
register 0x00eb is 0x0000 with mask 0x7f7f;

  # Advanced VCT Cross Pair Negative Threshold 4 (page 7 offset 0x1c)
register 0x00ec is 0x0000 with mask 0x007f;

  # PTP Port Configuration Register 0 (page 8 offset 0x00)
register 0x0100 is 0x0000 with mask 0xf800;

  # PTP Port Configuration Register 1 (page 8 offset 0x01)
register 0x0101 is 0x020c with mask 0x3f1f;

  # PTP Port Configuration Register 2 (page 8 offset 0x02)
register 0x0102 is 0x0003 with mask 0x0003;

  # PTP Arrival 0 Time Port Status Register (page 8 offset 0x08)
register 0x0108 is 0x0000 with mask 0x0007;

  # PTP Arrival 0 Time Register Bytes 1 & 0 (page 8 offset 0x09)
register 0x0109+(8*32) is 0x0000 with mask 0x0000;

  # PTP Arrival 0 Time Register Bytes 3 & 2 (page 8 offset 0x0a)
register 0x010a is 0x0000 with mask 0x0000;

  # PTP Arrival 0 Sequence Identifier Register (page 8 offset 0x0b)
register 0x010b is 0x0000 with mask 0x0000;

  # PTP Arrival 1 Time Port status Register (page 8 offset 0x0c)
register 0x010c is 0x0000 with mask 0x0000;

  # PTP Arrival 1 Time Register Bytes 1& 0 (page 8 offset 0x0d)
register 0x010d is 0x0000 with mask 0x0000;

  # PTP Arrival 1 Time Register Bytes 3 & 2 (page 8 offset 0x0e)
register 0x010e is 0x0000 with mask 0x0000;

  # PTP Arrival 1 Sequence Identifier Register (page 8 offset 0x0f)
register 0x010f is 0x0000 with mask 0x0000;

  # PTP Departure Time Port Status Register (page 9 offset 0x00)
register 0x0120 is 0x0000 with mask 0x0000;

  # PTP Departure Time Register Bytes 1 & 0 (page 9 offset 0x01)
register 0x0121 is 0x0000 with mask 0x0000;

  # PTP Departure Time Register Bytes 3 & 2 (page 9 offset 0x02)
register 0x0122 is 0x0000 with mask 0x0008;

  # PTP Departure Sequence Identifier Status Register (page 9 offset 0x03)
register 0x0123 is 0x0000 with mask 0x0000;

  # PTP Port Discard Counter Register (page 9 offset 0x05)
register 0x0125 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 0 (page 12 offset 0x00)
register 0x0180 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 1 (page 12 offset 0x01)
register 0x0181 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 0 (page 12 offset 0x02)
register 0x0182 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 3 (page 12 offset 0x03)
register 0x0183 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 4 (page 12 offset 0x04)
register 0x0184 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 5 (page 12 offset 0x05)
register 0x0185 is 0x0000 with mask 0x0008;

  # TAI Global Configuration Register 8 (page 12 offset 0x08)
register 0x0188 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 9 (page 12 offset 0x09)
register 0x0009 is 0x0000 with mask 0x0000;

  # Event Capture Register Bytes 1 & 0 (page 12 offset 0x0a)
register 0x018a is 0x0000 with mask 0x0000;

  # Event Capture Register Bytes 3 & 2 (page 12 offset 0x0b)
register 0x018b is 0x0000 with mask 0x0000;

    # PTP Global Time Register  Bytes 1 & 0 (page 12 offset 0x0e)
register 0x018e is 0x0000 with mask 0x0000;

  # PTP Global Time Register  Bytes 3 & 2 (page 12 offset 0x0f)
register 0x018f is 0x0000 with mask 0x0000;

  # PTP Global Configuration Register 0 (page 14 offset 0x00)
register 0x01c0 is 0xffff with mask 0x88f7;

  # PTP Global Configuration Register 1 (page 14 offset 0x01)
register 0x01c1 is 0x0000 with mask 0x0000;

  # PTP Global Configuration Register 2 (page 14 offset 0x02)
register 0x01c2 is 0x0000 with mask 0x0000;

  # PTP Global Configuration Register 3 (page 14 offset 0x03)
register 0x01c3 is 0x0000 with mask 0x0000;

  # PTP status Register (page 14 offset 0x08)
register 0x01c8 is 0x0000 with mask 0x0000;

  # ReadPlus Command Register (page 14 offset 0x0e)
register 0x01ce is 0x0000 with mask 0x0000;

  # ReadPlus Data Register (page 14 offset 0x0f)
register 0x01cf is 0x0000 with mask 0x0000;


end




                              #      ####     ####    ####                                                                      ####
                    ######   ##     #    #   #   #   #   #                               ######  ######  ######  #######       #   #
                    #       # #        #        #       #                                #    #  #    #  #    #     #             #
                    #####     #       ###      #       #                                 #    #  #    #  #    #     #            #
                    #         #         #     #       #               #########          ######  #    #  ######     #           #
                    #         #     #    #   #       #                          	 #       #    #  # #        #          #
                    ######  #####    ####   ######  ######                               #       ######  #  ##      #         ######



section ePHY_1322_Port2
begin

#register 0x0016 is 0x00ff with mask 0xffff;

#register 0x0018 is 0x2800 with mask 0xffff;

#register 0x0017 is 0x2001 with mask 0xffff;

#register 0x0016 is 0x0000 with mask 0xffff;

register 0x0016 is 0x0000 with mask 0xffff;

register 0x001d is 0x0003 with mask 0xffff;

register 0x001e is 0x0002 with mask 0xffff;

register 0x001d is 0x0000 with mask 0xffff;

  # Copper Control register (offset 0x00)
register 0x0000 is 0x0000 with mask 0x44a0;

# Copper Auto-Negotiation advertisement Register (offset 0x04)
register 0x0004 is 0x01e1 with mask 0xabff;

  # Copper Next Page Transmit Register (offset 0x07)
register 0x0007 is 0x2001 with mask 0xb7ff;

  # 1000BASE-T Control Register (offset 0x09)
register 0x0009 is 0x0300 with mask 0xe3ff;

  # Copper Specific Control Register 1 (offset 0x10)
register 0x0010 is 0x3b00 with mask 0xff9f;

  # Copper Specific Interrupt Enable (offset 0x12)
register 0x0012 is 0x0000 with mask 0xffff;

  # Copper Specific Control Register 2 (offset 0x14)
register 0x0014 is 0x0000 with mask 0xffdf;

  # Page Address (offset 0x16)
register 0x0016 is 0x0000 with mask 0x0000;

  # Copper Specific Control Register 3 (offset 0x1a)
register 0x001a is 0x0040 with mask 0xffff;

  # Fiber Control Register (page 1 offset 0x00)
register 0x0020 is 0x1140 with mask 0xffff;

  # Fiber Auto Negotiation Advertisement Register (page 1 offset 0x04)
register 0x0024 is 0x0024 with mask 0x3060;

  # Fiber Next Page Transmit Register (page 1 offset 0x07)
register 0x0027 is 0x2001 with mask 0xb7ff;

  # Fiber Specific Control Register 1 (page 1 offset 0x10)
register 0x0030 is 0x408f with mask 0xffff;

  # Fiber Interrupt Enable Register (page 1 offset 0x12)
register 0x0032 is 0x0000 with mask 0x7f80;

  # PRBS Control (page 1 offset 0x17)
register 0x0037 is 0x00e0 with mask 0xffff;

  # Fiber Specific Control Register 2 (page 1 offset 0x1a)
register 0x003a is 0x004a with mask 0xffd7;

  # MAC Specific Control Register 1 (page 2 offset 0x10)
register 0x0050 is 0xdc08 with mask 0xffff;

  # MAC Specific Interrupt Enable Register (page 2 offset 0x12)
register 0x0052 is 0x0000 with mask 0xffff;

  # MAC Specific Control Register 2 (page 2 offset 0x15)
register 0x0055 is 0x3046 with mask 0xbfff;

  # LED[3:0] Function Control Register (page 3 offset 0x10)
register 0x0070 is 0x9192 with mask 0x0000;

  # LED[3:0] Polarity Control Register (page 3 offset 0x11)
register 0x0071 is 0x0055 with mask 0xffff;

  # LED Timer Control Register (page 3 offset 0x12)
register 0x0072 is 0x4905 with mask 0xffff;

  # LED[5:4] Function Control and Polarity Register (page 3 offset 0x13)
register 0x0073 is 0x2500 with mask 0xffff;

  # QSGMII Control Register (page 4 offset 0x00)
register 0x0080 is 0x1140 with mask 0xffff;    #TOLTO RESET

  # QSGMII Specific Control Register 1 (page 4 offset 0x10)
register 0x0090 is 0x4084 with mask 0xffff;

  # QSGMII interrupt Enable Register (page 4 offset 0x12)
register 0x0092 is 0x0000 with mask 0xffff;

  # PRBS Control (page 4 offset 0x17)
register 0x0097 is 0x00e0 with mask 0xffff;

  # QSGMII Global Control Register 1 (page 4 offset 0x1a)
register 0x009a is 0x3000 with mask 0xbfff;

  # QSGMII Global Control Register 2 (page 4 offset 0x1b)
register 0x009b is 0x7e03 with mask 0xffff;

  # Advanced VCT Control Register (page 5 offset 0x17)
register 0x00b7 is 0x0c00 with mask 0xbfff;

  # Advanced VCT Sample Point Distance (page 5 offset 0x18)
register 0x00b8 is 0x0000 with mask 0x03ff;

  # Advanced VCT CrossPair Positive Threshold (page 5 offset 0x19)
register 0x00b9 is 0x0104 with mask 0x7f7f;

  # Advanced VCT Same Pair Impedence Positive Threshold 0 and 1 (page 5 offset 0x1a)
register 0x00ba is 0x0f12 with mask 0x7f7f;

  # Advanced VCT Same Pair Impedence Positive Threshold 2 and 3 (page 5 offset 0x1b)
register 0x00bb is 0x0a1c with mask 0x7f7f;

  # Advanced VCT Same pair Impedence Positive Threshold 4 and Transmit Pulse Control (page 5 offset 0x1c)
register 0x00bc is 0x0006 with mask 0x3fff;

  # Packet Generator (page 6 offset 0x10)
register 0x00d0 is 0x0004 with mask 0xffff;

  # Checker Control (page 6 offset 0x12)
register 0x00d2 is 0x0000 with mask 0xffff;

  # General Control Register (page 6 offset 0x14)
register 0x00d4 is 0x0205 with mask 0xfc7f; #TOLTO RESET

  # Late Collision Windows/Link Disconnect (page 6 offset 0x19)
register 0x00d9 is 0x0000 with mask 0xff00;

  # Misc Test (page 6 offset 0x1a)
register 0x00da is 0x1900 with mask 0xffa0;

  # PHY Cable Diagnostic Control (page 7 offset 0x15)
register 0x00e5 is 0x2400 with mask 0xf400;

  # Advanced VCT Cross Pair Negative Threshold (page 7 offset 0x19)
register 0x00e9 is 0x0000 with mask 0x7f7f;

  # Advanced VCT Cross Pair Negative Threshold 0 and 1 (page 7 offset 0x1a)
register 0x00ea is 0x0000 with mask 0x7f7f;

  # Advanced VCT Cross Pair Negative Threshold 2 and 3 (page 7 offset 0x1b)
register 0x00eb is 0x0000 with mask 0x7f7f;

  # Advanced VCT Cross Pair Negative Threshold 4 (page 7 offset 0x1c)
register 0x00ec is 0x0000 with mask 0x007f;

  # PTP Port Configuration Register 0 (page 8 offset 0x00)
register 0x0100 is 0x0000 with mask 0xf800;

  # PTP Port Configuration Register 1 (page 8 offset 0x01)
register 0x0101 is 0x020c with mask 0x3f1f;

  # PTP Port Configuration Register 2 (page 8 offset 0x02)
register 0x0102 is 0x0003 with mask 0x0003;

  # PTP Arrival 0 Time Port Status Register (page 8 offset 0x08)
register 0x0108 is 0x0000 with mask 0x0007;

  # PTP Arrival 0 Time Register Bytes 1 & 0 (page 8 offset 0x09)
register 0x0109+(8*32) is 0x0000 with mask 0x0000;

  # PTP Arrival 0 Time Register Bytes 3 & 2 (page 8 offset 0x0a)
register 0x010a is 0x0000 with mask 0x0000;

  # PTP Arrival 0 Sequence Identifier Register (page 8 offset 0x0b)
register 0x010b is 0x0000 with mask 0x0000;

  # PTP Arrival 1 Time Port status Register (page 8 offset 0x0c)
register 0x010c is 0x0000 with mask 0x0000;

  # PTP Arrival 1 Time Register Bytes 1& 0 (page 8 offset 0x0d)
register 0x010d is 0x0000 with mask 0x0000;

  # PTP Arrival 1 Time Register Bytes 3 & 2 (page 8 offset 0x0e)
register 0x010e is 0x0000 with mask 0x0000;

  # PTP Arrival 1 Sequence Identifier Register (page 8 offset 0x0f)
register 0x010f is 0x0000 with mask 0x0000;

  # PTP Departure Time Port Status Register (page 9 offset 0x00)
register 0x0120 is 0x0000 with mask 0x0000;

  # PTP Departure Time Register Bytes 1 & 0 (page 9 offset 0x01)
register 0x0121 is 0x0000 with mask 0x0000;

  # PTP Departure Time Register Bytes 3 & 2 (page 9 offset 0x02)
register 0x0122 is 0x0000 with mask 0x0008;

  # PTP Departure Sequence Identifier Status Register (page 9 offset 0x03)
register 0x0123 is 0x0000 with mask 0x0000;

  # PTP Port Discard Counter Register (page 9 offset 0x05)
register 0x0125 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 0 (page 12 offset 0x00)
register 0x0180 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 1 (page 12 offset 0x01)
register 0x0181 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 0 (page 12 offset 0x02)
register 0x0182 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 3 (page 12 offset 0x03)
register 0x0183 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 4 (page 12 offset 0x04)
register 0x0184 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 5 (page 12 offset 0x05)
register 0x0185 is 0x0000 with mask 0x0008;

  # TAI Global Configuration Register 8 (page 12 offset 0x08)
register 0x0188 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 9 (page 12 offset 0x09)
register 0x0009 is 0x0000 with mask 0x0000;

  # Event Capture Register Bytes 1 & 0 (page 12 offset 0x0a)
register 0x018a is 0x0000 with mask 0x0000;

  # Event Capture Register Bytes 3 & 2 (page 12 offset 0x0b)
register 0x018b is 0x0000 with mask 0x0000;

    # PTP Global Time Register  Bytes 1 & 0 (page 12 offset 0x0e)
register 0x018e is 0x0000 with mask 0x0000;

  # PTP Global Time Register  Bytes 3 & 2 (page 12 offset 0x0f)
register 0x018f is 0x0000 with mask 0x0000;

  # PTP Global Configuration Register 0 (page 14 offset 0x00)
register 0x01c0 is 0xffff with mask 0x88f7;

  # PTP Global Configuration Register 1 (page 14 offset 0x01)
register 0x01c1 is 0x0000 with mask 0x0000;

  # PTP Global Configuration Register 2 (page 14 offset 0x02)
register 0x01c2 is 0x0000 with mask 0x0000;

  # PTP Global Configuration Register 3 (page 14 offset 0x03)
register 0x01c3 is 0x0000 with mask 0x0000;

  # PTP status Register (page 14 offset 0x08)
register 0x01c8 is 0x0000 with mask 0x0000;

  # ReadPlus Command Register (page 14 offset 0x0e)
register 0x01ce is 0x0000 with mask 0x0000;

  # ReadPlus Data Register (page 14 offset 0x0f)
register 0x01cf is 0x0000 with mask 0x0000;


end




                              #      ####     ####    ####                                                                     ####
                    ######   ##     #    #   #   #   #   #                               ######  ######  ######  #######      #    #
                    #       # #        #        #       #                                #    #  #    #  #    #     #            #
                    #####     #       ###      #       #                                 #    #  #    #  #    #     #           ###
                    #         #         #     #       #               #########          ######  #    #  ######     #             #
                    #         #     #    #   #       #                              	 #       #    #  # #        #         #    #
                    ######  #####    ####   ######  ######                               #       ######  #  ##      #          ####



section ePHY_1322_Port3
begin

#register 0x0016 is 0x00ff with mask 0xffff;

#register 0x0018 is 0x2800 with mask 0xffff;

#register 0x0017 is 0x2001 with mask 0xffff;

#register 0x0016 is 0x0000 with mask 0xffff;

register 0x0016 is 0x0000 with mask 0xffff;

register 0x001d is 0x0003 with mask 0xffff;

register 0x001e is 0x0002 with mask 0xffff;

register 0x001d is 0x0000 with mask 0xffff;

  # Copper Control register (offset 0x00)
register 0x0000 is 0x0000 with mask 0x44a0;

# Copper Auto-Negotiation advertisement Register (offset 0x04)
register 0x0004 is 0x01e1 with mask 0xabff;

  # Copper Next Page Transmit Register (offset 0x07)
register 0x0007 is 0x2001 with mask 0xb7ff;

  # 1000BASE-T Control Register (offset 0x09)
register 0x0009 is 0x0300 with mask 0xe3ff;

  # Copper Specific Control Register 1 (offset 0x10)
register 0x0010 is 0x3b00 with mask 0xff97;

  # Copper Specific Interrupt Enable (offset 0x12)
register 0x0012 is 0x0000 with mask 0xffff;

  # Copper Specific Control Register 2 (offset 0x14)
register 0x0014 is 0x0000 with mask 0xffdf;

  # Page Address (offset 0x16)
register 0x0016 is 0x0000 with mask 0x0000;

  # Copper Specific Control Register 3 (offset 0x1a)
register 0x001a is 0x0040 with mask 0xffff;

  # Fiber Control Register (page 1 offset 0x00)
register 0x0020 is 0x1140 with mask 0x4000;

  # Fiber Auto Negotiation Advertisement Register (page 1 offset 0x04)
register 0x0024 is 0x0024 with mask 0x3060;

  # Fiber Next Page Transmit Register (page 1 offset 0x07)
register 0x0027 is 0x2001 with mask 0xb7ff;

  # Fiber Specific Control Register 1 (page 1 offset 0x10)
register 0x0030 is 0x408f with mask 0xffff;

  # Fiber Interrupt Enable Register (page 1 offset 0x12)
register 0x0032 is 0x0000 with mask 0x7f80;

  # PRBS Control (page 1 offset 0x17)
register 0x0037 is 0x00e0 with mask 0xffff;

  # Fiber Specific Control Register 2 (page 1 offset 0x1a)
register 0x003a is 0x004a with mask 0xffd7;

  # MAC Specific Control Register 1 (page 2 offset 0x10)
register 0x0050 is 0xdec8 with mask 0xffff;

  # MAC Specific Interrupt Enable Register (page 2 offset 0x12)
register 0x0052 is 0x0000 with mask 0xffff;

  # MAC Specific Control Register 2 (page 2 offset 0x15)
register 0x0055 is 0x3046 with mask 0xbfff;

  # LED[3:0] Function Control Register (page 3 offset 0x10)
register 0x0070 is 0x8192 with mask 0xefef;

  # LED[3:0] Polarity Control Register (page 3 offset 0x11)
register 0x0071 is 0x0055 with mask 0xffff;

  # LED Timer Control Register (page 3 offset 0x12)
register 0x0072 is 0x4905 with mask 0xffff;

  # LED[5:4] Function Control and Polarity Register (page 3 offset 0x13)
register 0x0073 is 0x0073 with mask 0xffff;

  # QSGMII Control Register (page 4 offset 0x00)
register 0x0080 is 0x1140 with mask 0xffff; #TOLTO RESET

  # QSGMII Specific Control Register 1 (page 4 offset 0x10)
register 0x0090 is 0x4084 with mask 0xffff;

  # QSGMII interrupt Enable Register (page 4 offset 0x12)
register 0x0092 is 0x0000 with mask 0xffff;

  # PRBS Control (page 4 offset 0x17)
register 0x0097 is 0x00e0 with mask 0xffff;

  # QSGMII Global Control Register 1 (page 4 offset 0x1a)
register 0x009a is 0x3000 with mask 0xbfff;

  # QSGMII Global Control Register 2 (page 4 offset 0x1b)
register 0x009b is 0x7e03 with mask 0xffff;

  # Advanced VCT Control Register (page 5 offset 0x17)
register 0x00b7 is 0x0c00 with mask 0xbfff;

  # Advanced VCT Sample Point Distance (page 5 offset 0x18)
register 0x00b8 is 0x0000 with mask 0x03ff;

  # Advanced VCT CrossPair Positive Threshold (page 5 offset 0x19)
register 0x00b9 is 0x0104 with mask 0x7f7f;

  # Advanced VCT Same Pair Impedence Positive Threshold 0 and 1 (page 5 offset 0x1a)
register 0x00ba is 0x0f12 with mask 0x7f7f;

  # Advanced VCT Same Pair Impedence Positive Threshold 2 and 3 (page 5 offset 0x1b)
register 0x00bb is 0x0a1c with mask 0x7f7f;

  # Advanced VCT Same pair Impedence Positive Threshold 4 and Transmit Pulse Control (page 5 offset 0x1c)
register 0x00bc is 0x0006 with mask 0x3fff;

  # Packet Generator (page 6 offset 0x10)
register 0x00d0 is 0x0004 with mask 0xffff;

  # Checker Control (page 6 offset 0x12)
register 0x00d2 is 0x0000 with mask 0xffff;

  # General Control Register (page 6 offset 0x14)
register 0x00d4 is 0x0205 with mask 0x0000; 	#TOLTO RESET#uso default

  # Late Collision Windows/Link Disconnect (page 6 offset 0x19)
register 0x00d9 is 0x0000 with mask 0xff00;

  # Misc Test (page 6 offset 0x1a)
register 0x00da is 0x1900 with mask 0xffa0;

  # PHY Cable Diagnostic Control (page 7 offset 0x15)
register 0x00e5 is 0x2400 with mask 0xf400;

  # Advanced VCT Cross Pair Negative Threshold (page 7 offset 0x19)
register 0x00e9 is 0x0000 with mask 0x7f7f;

  # Advanced VCT Cross Pair Negative Threshold 0 and 1 (page 7 offset 0x1a)
register 0x00ea is 0x0000 with mask 0x7f7f;

  # Advanced VCT Cross Pair Negative Threshold 2 and 3 (page 7 offset 0x1b)
register 0x00eb is 0x0000 with mask 0x7f7f;

  # Advanced VCT Cross Pair Negative Threshold 4 (page 7 offset 0x1c)
register 0x00ec is 0x0000 with mask 0x007f;

  # PTP Port Configuration Register 0 (page 8 offset 0x00)
register 0x0100 is 0x0000 with mask 0xf800;

  # PTP Port Configuration Register 1 (page 8 offset 0x01)
register 0x0101 is 0x020c with mask 0x3f1f;

  # PTP Port Configuration Register 2 (page 8 offset 0x02)
register 0x0102 is 0x0003 with mask 0x0003;

  # PTP Arrival 0 Time Port Status Register (page 8 offset 0x08)
register 0x0108 is 0x0000 with mask 0x0007;

  # PTP Arrival 0 Time Register Bytes 1 & 0 (page 8 offset 0x09)
register 0x0109+(8*32) is 0x0000 with mask 0x0000;

  # PTP Arrival 0 Time Register Bytes 3 & 2 (page 8 offset 0x0a)
register 0x010a is 0x0000 with mask 0x0000;

  # PTP Arrival 0 Sequence Identifier Register (page 8 offset 0x0b)
register 0x010b is 0x0000 with mask 0x0000;

  # PTP Arrival 1 Time Port status Register (page 8 offset 0x0c)
register 0x010c is 0x0000 with mask 0x0000;

  # PTP Arrival 1 Time Register Bytes 1& 0 (page 8 offset 0x0d)
register 0x010d is 0x0000 with mask 0x0000;

  # PTP Arrival 1 Time Register Bytes 3 & 2 (page 8 offset 0x0e)
register 0x010e is 0x0000 with mask 0x0000;

  # PTP Arrival 1 Sequence Identifier Register (page 8 offset 0x0f)
register 0x010f is 0x0000 with mask 0x0000;

  # PTP Departure Time Port Status Register (page 9 offset 0x00)
register 0x0120 is 0x0000 with mask 0x0000;

  # PTP Departure Time Register Bytes 1 & 0 (page 9 offset 0x01)
register 0x0121 is 0x0000 with mask 0x0000;

  # PTP Departure Time Register Bytes 3 & 2 (page 9 offset 0x02)
register 0x0122 is 0x0000 with mask 0x0008;

  # PTP Departure Sequence Identifier Status Register (page 9 offset 0x03)
register 0x0123 is 0x0000 with mask 0x0000;

  # PTP Port Discard Counter Register (page 9 offset 0x05)
register 0x0125 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 0 (page 12 offset 0x00)
register 0x0180 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 1 (page 12 offset 0x01)
register 0x0181 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 0 (page 12 offset 0x02)
register 0x0182 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 3 (page 12 offset 0x03)
register 0x0183 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 4 (page 12 offset 0x04)
register 0x0184 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 5 (page 12 offset 0x05)
register 0x0185 is 0x0000 with mask 0x0008;

  # TAI Global Configuration Register 8 (page 12 offset 0x08)
register 0x0188 is 0x0000 with mask 0x0000;

  # TAI Global Configuration Register 9 (page 12 offset 0x09)
register 0x0009 is 0x0000 with mask 0x0000;

  # Event Capture Register Bytes 1 & 0 (page 12 offset 0x0a)
register 0x018a is 0x0000 with mask 0x0000;

  # Event Capture Register Bytes 3 & 2 (page 12 offset 0x0b)
register 0x018b is 0x0000 with mask 0x0000;

    # PTP Global Time Register  Bytes 1 & 0 (page 12 offset 0x0e)
register 0x018e is 0x0000 with mask 0x0000;

  # PTP Global Time Register  Bytes 3 & 2 (page 12 offset 0x0f)
register 0x018f is 0x0000 with mask 0x0000;

  # PTP Global Configuration Register 0 (page 14 offset 0x00)
register 0x01c0 is 0xffff with mask 0x88f7;

  # PTP Global Configuration Register 1 (page 14 offset 0x01)
register 0x01c1 is 0x0000 with mask 0x0000;

  # PTP Global Configuration Register 2 (page 14 offset 0x02)
register 0x01c2 is 0x0000 with mask 0x0000;

  # PTP Global Configuration Register 3 (page 14 offset 0x03)
register 0x01c3 is 0x0000 with mask 0x0000;

  # PTP status Register (page 14 offset 0x08)
register 0x01c8 is 0x0000 with mask 0x0000;

  # ReadPlus Command Register (page 14 offset 0x0e)
register 0x01ce is 0x0000 with mask 0x0000;

  # ReadPlus Data Register (page 14 offset 0x0f)
register 0x01cf is 0x0000 with mask 0x0000;


end
.



