#include "bp_defs.h" #include "boardparms.h" #include "bcmSpiRes.h" extern BpCmdElem moca6802InitSeq[]; static bp_elem_t g_bcm968480fhgu[] = { {bp_cpBoardId, .u.cp = "968480FHGU"}, {bp_ucPhyType0, .u.uc = BP_ENET_INTERNAL_PHY}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0x0f}, {bp_ulPhyId0, .u.ul = 0x01 | MAC_IF_MII}, {bp_usOamIndex, .u.us = 1}, {bp_ucPhyDevName, .u.cp = "eth1"}, {bp_usLinkLed, .u.us = BP_GPIO_5_AL}, {bp_ulPhyId1, .u.ul = 0x02 | MAC_IF_GMII}, {bp_usOamIndex, .u.us = 0}, {bp_ucPhyDevName, .u.cp = "eth0"}, {bp_usLinkLed, .u.us = BP_GPIO_9_AL}, {bp_ulPhyId2, .u.ul = 0x03 | MAC_IF_MII}, {bp_usOamIndex, .u.us = 3}, {bp_ucPhyDevName, .u.cp = "eth3"}, {bp_usLinkLed, .u.us = BP_GPIO_54_AL}, {bp_ulPhyId3, .u.ul = 0x04 | MAC_IF_MII}, {bp_usOamIndex, .u.us = 2}, {bp_ucPhyDevName, .u.cp = "eth2"}, {bp_usLinkLed, .u.us = BP_GPIO_52_AL}, {bp_usGpioVoip1Led, .u.us = BP_GPIO_10_AL | BP_LED_USE_GPIO}, {bp_usGpioLedUSB, .u.us = BP_GPIO_11_AL}, {bp_usGpioLedSesWireless, .u.us = BP_GPIO_12_AL | BP_LED_USE_GPIO}, {bp_usGpioLedSim, .u.us = BP_GPIO_13_AL}, {bp_usGpioLedOpticalLinkStat, .u.us = BP_GPIO_14_AL | BP_LED_USE_GPIO}, {bp_usGpioLedGpon, .u.us = BP_GPIO_15_AL | BP_LED_USE_GPIO}, {bp_usGpioLedEpon, .u.us = BP_GPIO_15_AL | BP_LED_USE_GPIO}, {bp_usGpioLedWanData, .u.us = BP_GPIO_17_AL | BP_LED_USE_GPIO}, {bp_usGpioPonTxEn, .u.us = BP_GPIO_18_AH}, {bp_usExtIntrSesBtnWireless, .u.us = BP_EXT_INTR_6}, {bp_usExtIntrWifiOnOff, .u.us = BP_EXT_INTR_7}, {bp_usSimVccEn, .u.us = BP_GPIO_35_AH}, {bp_usSimRst, .u.us = BP_GPIO_37_AH}, {bp_usSimDat, .u.us = BP_GPIO_43_AH}, {bp_usSimClk, .u.us = BP_GPIO_44_AH}, {bp_usSimPresence, .u.us = BP_GPIO_45_AH}, {bp_usRogueOnuEn, .u.us = BP_GPIO_51_AH}, {bp_usTrxSignalDetect, .u.us = BP_GPIO_53_AH}, {bp_usTxLaserOnOutN, .u.us = BP_GPIO_62_AH}, {bp_usGpioI2cScl, .u.us = BP_GPIO_63_AH}, {bp_usGpioI2cSda, .u.us = BP_GPIO_64_AH}, {bp_ucDspType0, .u.uc = BP_VOIP_DSP}, {bp_ucDspAddress, .u.uc = 0}, {bp_usExtIntrResetToDefault, .u.us = BP_EXT_INTR_5}, {bp_usGpioWanSignalDetected, .u.us = BP_GPIO_53_AH}, {bp_usTsync1pps, .u.us = BP_GPIO_6_AH}, {bp_last} }; static bp_elem_t g_bcm968480fhbb[] = { {bp_cpBoardId, .u.cp = "968480FHBB"}, {bp_InvSerdesRxPol, .u.us = pmd_polarity_invert}, {bp_InvSerdesTxPol, .u.us = pmd_polarity_invert}, {bp_usGpioVoip1Led, .u.us = BP_GPIO_4_AL | BP_LED_USE_GPIO}, {bp_usPmdMACEwakeEn, .u.us = BP_GPIO_10_AL}, {bp_usExtIntrPmdAlarm, .u.us = BP_EXT_INTR_3 | BP_EXT_INTR_TYPE_IRQ_HIGH_LEVEL}, {bp_usGpioPmdReset, .u.us = BP_GPIO_61_AL}, {bp_usGpioLedSim, .u.us = BP_GPIO_NONE}, {bp_pmdFunc, .u.us = BP_PMD_APD_REG_ENABLED | BP_PMD_APD_TYPE_FLYBACK}, {bp_elemTemplate, .u.bp_elemp = g_bcm968480fhgu}, {bp_last} }; static bp_elem_t g_bcm968480fhbbst[] = { {bp_cpBoardId, .u.cp = "968480FHBBST"}, {bp_InvSerdesRxPol, .u.us = pmd_polarity_invert}, {bp_InvSerdesTxPol, .u.us = pmd_polarity_invert}, {bp_usGpioVoip1Led, .u.us = BP_GPIO_4_AL | BP_LED_USE_GPIO}, {bp_usPmdMACEwakeEn, .u.us = BP_GPIO_10_AL}, {bp_usExtIntrPmdAlarm, .u.us = BP_EXT_INTR_3 | BP_EXT_INTR_TYPE_IRQ_HIGH_LEVEL}, {bp_usGpioPmdReset, .u.us = BP_GPIO_61_AL}, {bp_usGpioLedSim, .u.us = BP_GPIO_NONE}, {bp_pmdFunc, .u.us = BP_PMD_APD_REG_DISABLED | BP_PMD_APD_TYPE_BOOST}, {bp_elemTemplate, .u.bp_elemp = g_bcm968480fhgu}, {bp_last} }; static bp_elem_t g_bcm968485sfu[] = { {bp_cpBoardId, .u.cp = "968485SFU"}, {bp_ucPhyType0, .u.uc = BP_ENET_INTERNAL_PHY}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0x03}, {bp_ulPhyId0, .u.ul = 0x01 | MAC_IF_GMII}, {bp_usLinkLed, .u.us = BP_GPIO_34_AL}, {bp_ulPhyId1, .u.ul = 0x02 | MAC_IF_MII}, {bp_usLinkLed, .u.us = BP_GPIO_9_AL}, {bp_usGpioLedSim, .u.us = BP_GPIO_13_AL}, {bp_usGpioLedGpon, .u.us = BP_GPIO_15_AL | BP_LED_USE_GPIO}, {bp_usGpioLedEpon, .u.us = BP_GPIO_15_AL | BP_LED_USE_GPIO}, {bp_usGpioVoip1Led, .u.us = BP_GPIO_16_AL | BP_LED_USE_GPIO}, {bp_usGpioPonTxEn, .u.us = BP_GPIO_18_AH}, {bp_usGpioLedOpticalLinkStat, .u.us = BP_GPIO_33_AL}, {bp_usSimVccEn, .u.us = BP_GPIO_35_AH}, {bp_usSimRst, .u.us = BP_GPIO_37_AH}, {bp_usSimDat, .u.us = BP_GPIO_43_AH}, {bp_usSimClk, .u.us = BP_GPIO_44_AH}, {bp_usSimPresence, .u.us = BP_GPIO_45_AH}, {bp_usRogueOnuEn, .u.us = BP_GPIO_51_AH}, {bp_usTrxSignalDetect, .u.us = BP_GPIO_53_AH}, {bp_usTxLaserOnOutN, .u.us = BP_GPIO_62_AH}, {bp_usGpioI2cScl, .u.us = BP_GPIO_63_AH}, {bp_usGpioI2cSda, .u.us = BP_GPIO_64_AH}, {bp_usExtIntrResetToDefault, .u.us = BP_EXT_INTR_5}, {bp_ucDspType0, .u.uc = BP_VOIP_DSP}, {bp_ucDspAddress, .u.uc = 0}, {bp_usGpioWanSignalDetected, .u.us = BP_GPIO_53_AH}, {bp_last} }; static bp_elem_t g_bcm968485sfbb[] = { {bp_cpBoardId, .u.cp = "968485SFBB"}, {bp_InvSerdesRxPol, .u.us = pmd_polarity_invert}, {bp_InvSerdesTxPol, .u.us = pmd_polarity_invert}, {bp_usGpioVoip1Led, .u.us = BP_GPIO_4_AL | BP_LED_USE_GPIO}, {bp_usPmdMACEwakeEn, .u.us = BP_GPIO_10_AL}, {bp_usExtIntrPmdAlarm, .u.us = BP_EXT_INTR_3 | BP_EXT_INTR_TYPE_IRQ_HIGH_LEVEL}, {bp_usGpioPmdReset, .u.us = BP_GPIO_61_AL}, {bp_elemTemplate, .u.bp_elemp = g_bcm968485sfu}, {bp_pmdFunc, .u.us = BP_PMD_APD_REG_ENABLED | BP_PMD_APD_TYPE_FLYBACK}, {bp_last} }; static bp_elem_t g_bcm968480sv[] = { {bp_cpBoardId, .u.cp = "968480SV"}, {bp_ucPhyType0, .u.uc = BP_ENET_INTERNAL_PHY}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0x2f}, {bp_ulPhyId0, .u.ul = 0x01 | MAC_IF_GMII}, {bp_usOamIndex, .u.us = 1}, {bp_ucPhyDevName, .u.cp = "eth1"}, {bp_usLinkLed, .u.us = BP_GPIO_5_AL}, {bp_ulPhyId1, .u.ul = 0x02 | MAC_IF_GMII}, {bp_usOamIndex, .u.us = 0}, {bp_ucPhyDevName, .u.cp = "eth0"}, {bp_usLinkLed, .u.us = BP_GPIO_9_AL}, {bp_ulPhyId2, .u.ul = 0x03 | MAC_IF_MII}, {bp_usOamIndex, .u.us = 3}, {bp_ucPhyDevName, .u.cp = "eth3"}, {bp_usLinkLed, .u.us = BP_GPIO_12_AL}, {bp_ulPhyId3, .u.ul = 0x04 | MAC_IF_MII}, {bp_usOamIndex, .u.us = 2}, {bp_ucPhyDevName, .u.cp = "eth2"}, {bp_usLinkLed, .u.us = BP_GPIO_17_AL}, {bp_ulPhyId5, .u.ul = 0x05 | BCM_WAN_PORT | MAC_IF_SERDES}, {bp_ulPortFlags, .u.ul = PORT_FLAG_DETECT | PORT_FLAG_WAN_ONLY}, {bp_usOamIndex, .u.us = 5}, {bp_ucPhyDevName, .u.cp = "eth5"}, {bp_usSimDat, .u.us = BP_GPIO_43_AH}, {bp_usSimClk, .u.us = BP_GPIO_44_AH}, {bp_usSimPresence, .u.us = BP_GPIO_45_AH}, {bp_usSerialLedClk, .u.us = BP_GPIO_10_AH | BP_LED_USE_GPIO}, {bp_usSerialLedData, .u.us = BP_GPIO_11_AH}, {bp_usSimVccEn, .u.us = BP_GPIO_35_AH}, {bp_usSimVccVolSel, .u.us = BP_GPIO_36_AH}, {bp_usSimRst, .u.us = BP_GPIO_37_AH}, {bp_usGpioPonTxEn, .u.us = BP_GPIO_18_AH}, // {bp_usMiiMdc, .u.us = BP_GPIO_47_AH}, // {bp_usMiiMdio, .u.us = BP_GPIO_48_AH}, {bp_usTxLaserOnOutN, .u.us = BP_GPIO_62_AH}, {bp_usProbeClk, .u.us = BP_GPIO_74_AH}, {bp_ucDspType0, .u.uc = BP_VOIP_DSP}, {bp_ucDspAddress, .u.uc = 0}, {bp_usSpiSlaveSelectNum, .u.us = 4}, {bp_usSpiSlaveSelectGpioNum, .u.us = 9}, {bp_usSpiSlaveSelectNum, .u.us = 6}, {bp_usSpiSlaveSelectGpioNum, .u.us = 12}, {bp_usGpioVoip1Led, .u.us = BP_SERIAL_GPIO_1_AL}, {bp_usGpioLedUSB, .u.us = BP_SERIAL_GPIO_5_AL}, {bp_usGpioLedSesWireless, .u.us = BP_SERIAL_GPIO_7_AL}, {bp_usGpioLedSim, .u.us = BP_SERIAL_GPIO_8_AL}, {bp_usGpioLedOpticalLinkStat,.u.us = BP_SERIAL_GPIO_9_AL}, {bp_usGpioLedGpon, .u.us = BP_SERIAL_GPIO_10_AL}, {bp_usGpioLedWanData, .u.us = BP_SERIAL_GPIO_11_AL}, {bp_usAePolarity, .u.us = 0}, {bp_usGpioWanSignalDetected, .u.us = BP_GPIO_53_AH}, {bp_usTsync1pps, .u.us = BP_GPIO_6_AH}, {bp_last} }; static bp_elem_t g_bcm968480sv_sgmii[] = { {bp_cpBoardId, .u.cp = "968480SV_SGMII"}, {bp_ucPhyType0, .u.uc = BP_ENET_INTERNAL_PHY}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0x0f}, {bp_ulPhyId0, .u.ul = 0x06 | MAC_IF_SGMII }, /* or MAC_IF_HSGMII */ {bp_usOamIndex, .u.us = 1}, {bp_ucPhyDevName, .u.cp = "eth1"}, {bp_usLinkLed, .u.us = BP_GPIO_5_AL}, {bp_ulPhyId1, .u.ul = 0x02 | MAC_IF_GMII}, {bp_usOamIndex, .u.us = 0}, {bp_ucPhyDevName, .u.cp = "eth0"}, {bp_usLinkLed, .u.us = BP_GPIO_9_AL}, {bp_ulPhyId2, .u.ul = 0x03 | MAC_IF_MII}, {bp_usOamIndex, .u.us = 3}, {bp_ucPhyDevName, .u.cp = "eth3"}, {bp_usLinkLed, .u.us = BP_GPIO_12_AL}, {bp_ulPhyId3, .u.ul = 0x04 | MAC_IF_MII}, {bp_usOamIndex, .u.us = 2}, {bp_ucPhyDevName, .u.cp = "eth2"}, {bp_usLinkLed, .u.us = BP_GPIO_17_AL}, {bp_elemTemplate, .u.bp_elemp = g_bcm968480sv}, {bp_last} }; static bp_elem_t g_bcm968485sv[] = { {bp_cpBoardId, .u.cp = "968485SV"}, {bp_ucPhyType0, .u.uc = BP_ENET_INTERNAL_PHY}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0x03}, {bp_ulPhyId0, .u.ul = 0x01 | MAC_IF_GMII}, {bp_usLinkLed, .u.us = BP_GPIO_5_AL}, {bp_ulPhyId1, .u.ul = 0x02 | MAC_IF_MII}, {bp_usLinkLed, .u.us = BP_GPIO_9_AL}, {bp_usSimDat, .u.us = BP_GPIO_43_AH}, {bp_usSimClk, .u.us = BP_GPIO_44_AH}, {bp_usSimPresence, .u.us = BP_GPIO_45_AH}, {bp_usSerialLedClk, .u.us = BP_GPIO_10_AH | BP_LED_USE_GPIO}, {bp_usSerialLedData, .u.us = BP_GPIO_11_AH}, {bp_usSimVccEn, .u.us = BP_GPIO_35_AH}, {bp_usSimVccVolSel, .u.us = BP_GPIO_36_AH}, {bp_usSimRst, .u.us = BP_GPIO_37_AH}, {bp_usGpioPonTxEn, .u.us = BP_GPIO_18_AH}, // {bp_usMiiMdc, .u.us = BP_GPIO_47_AH}, // {bp_usMiiMdio, .u.us = BP_GPIO_48_AH}, {bp_usTxLaserOnOutN, .u.us = BP_GPIO_62_AH}, {bp_usProbeClk, .u.us = BP_GPIO_74_AH}, {bp_usGpioVoip1Led, .u.us = BP_SERIAL_GPIO_1_AL}, // {bp_usGpioLedSesWireless, .u.us = BP_SERIAL_GPIO_2_AL}, {bp_usGpioLedSim, .u.us = BP_SERIAL_GPIO_4_AL}, {bp_usGpioLedOpticalLinkStat,.u.us = BP_SERIAL_GPIO_5_AL}, {bp_usGpioLedGpon, .u.us = BP_SERIAL_GPIO_6_AL}, {bp_usGpioLedWanData, .u.us = BP_SERIAL_GPIO_7_AL}, {bp_ucDspType0, .u.uc = BP_VOIP_DSP}, {bp_ucDspAddress, .u.uc = 0}, {bp_usSpiSlaveSelectNum, .u.us = 4}, {bp_usSpiSlaveSelectGpioNum, .u.us = 9}, {bp_usSpiSlaveSelectNum, .u.us = 6}, {bp_usSpiSlaveSelectGpioNum, .u.us = 12}, {bp_usSpiSlaveSelectNum, .u.us = 7}, {bp_usSpiSlaveSelectGpioNum, .u.us = 67}, {bp_usGpioWanSignalDetected, .u.us = BP_GPIO_53_AH}, {bp_usTsync1pps, .u.us = BP_GPIO_6_AH}, {bp_last} }; static bp_elem_t g_bcm968481sp[] = { {bp_cpBoardId, .u.cp = "968481SP"}, {bp_ucPhyType0, .u.uc = BP_ENET_INTERNAL_PHY}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0x01}, {bp_ulPhyId0, .u.ul = 0x01 | MAC_IF_GMII}, {bp_usLinkLed, .u.us = BP_GPIO_34_AL}, {bp_usGpioPonTxEn, .u.us = BP_GPIO_16_AH}, {bp_usGpioLedGpon, .u.us = BP_GPIO_18_AL}, {bp_usGpioLedEpon, .u.us = BP_GPIO_18_AL}, {bp_usGpioLedOpticalLinkStat, .u.us = BP_GPIO_33_AL}, {bp_usRogueOnuEn, .u.us = BP_GPIO_51_AH}, {bp_usGpioWanSignalDetected, .u.us = BP_GPIO_53_AH}, {bp_usTxLaserOnOutN, .u.us = BP_GPIO_62_AH}, {bp_usGpioI2cScl, .u.us = BP_GPIO_63_AH}, {bp_usGpioI2cSda, .u.us = BP_GPIO_64_AH}, // {bp_usExtIntrResetToDefault, .u.us = BP_EXT_INTR_5}, {bp_usWirelessFlags, .u.us = BP_WLAN_EXCLUDE_ONBOARD}, {bp_last} }; static bp_elem_t g_bcm968481spbb[] = { {bp_cpBoardId, .u.cp = "968481SPBB"}, {bp_InvSerdesRxPol, .u.us = pmd_polarity_invert}, {bp_InvSerdesTxPol, .u.us = pmd_polarity_invert}, {bp_usGpioVoip1Led, .u.us = BP_GPIO_4_AL | BP_LED_USE_GPIO}, {bp_usPmdMACEwakeEn, .u.us = BP_GPIO_10_AL}, {bp_usExtIntrPmdAlarm, .u.us = BP_EXT_INTR_3 | BP_EXT_INTR_TYPE_IRQ_HIGH_LEVEL}, {bp_usGpioPmdReset, .u.us = BP_GPIO_61_AL}, {bp_elemTemplate, .u.bp_elemp = g_bcm968481sp}, {bp_pmdFunc, .u.us = BP_PMD_APD_REG_ENABLED | BP_PMD_APD_TYPE_FLYBACK}, {bp_last} }; static bp_elem_t g_bcm968481psv[] = { {bp_cpBoardId, .u.cp = "968481PSV"}, {bp_ucPhyType0, .u.uc = BP_ENET_INTERNAL_PHY}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0x01}, {bp_ulPhyId0, .u.ul = 0x06 | MAC_IF_SGMII }, {bp_usWanEarlyTxEn, .u.us = BP_GPIO_10_AH}, {bp_usGpioUart2Cts, .u.us = BP_GPIO_13_AH}, {bp_usGpioUart2Sdin, .u.us = BP_GPIO_14_AH}, {bp_usGpioUart2Sdout, .u.us = BP_GPIO_15_AH}, {bp_usWanNco10MClk, .u.us = BP_GPIO_16_AH}, // {bp_usMiiMdc, .u.us = BP_GPIO_47_AH}, // {bp_usMiiMdio, .u.us = BP_GPIO_48_AH}, {bp_usSpiSlaveSelectNum, .u.us = 1}, {bp_usSpiSlaveSelectGpioNum, .u.us = 61}, {bp_usTxLaserOnOutN, .u.us = BP_GPIO_62_AH}, {bp_usMs1588TodAlarm, .u.us = BP_GPIO_65_AH}, {bp_usSgmiiDetect, .u.us = BP_GPIO_66_AH}, {bp_usWanNcoProgMClk, .u.us = BP_GPIO_67_AH}, {bp_usProbeClk, .u.us = BP_GPIO_74_AH}, {bp_usGpioWanSignalDetected, .u.us = BP_GPIO_53_AH}, {bp_last} }; static bp_elem_t g_bcm968481psv_phy[] = { {bp_cpBoardId, .u.cp = "968481PSV_PHY"}, {bp_ucPhyType0, .u.uc = BP_ENET_INTERNAL_PHY}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0x01}, {bp_ulPhyId0, .u.ul = 0x07 | MAC_IF_SGMII | PHY_EXTERNAL | PHY_INTEGRATED_VALID}, {bp_usWanEarlyTxEn, .u.us = BP_GPIO_10_AH}, {bp_usGpioUart2Cts, .u.us = BP_GPIO_13_AH}, {bp_usGpioUart2Sdin, .u.us = BP_GPIO_14_AH}, {bp_usGpioUart2Sdout, .u.us = BP_GPIO_15_AH}, {bp_usWanNco10MClk, .u.us = BP_GPIO_16_AH}, {bp_usMiiMdc, .u.us = BP_GPIO_47_AH}, {bp_usMiiMdio, .u.us = BP_GPIO_48_AH}, {bp_usSpiSlaveSelectNum, .u.us = 1}, {bp_usSpiSlaveSelectGpioNum, .u.us = 61}, {bp_usTxLaserOnOutN, .u.us = BP_GPIO_62_AH}, {bp_usMs1588TodAlarm, .u.us = BP_GPIO_65_AH}, {bp_usSgmiiDetect, .u.us = BP_GPIO_66_AH}, {bp_usWanNcoProgMClk, .u.us = BP_GPIO_67_AH}, {bp_usProbeClk, .u.us = BP_GPIO_74_AH}, {bp_usGpioWanSignalDetected, .u.us = BP_GPIO_53_AH}, {bp_last} }; static bp_elem_t g_bcm968486sgu[] = { {bp_cpBoardId, .u.cp = "968486SGU"}, {bp_ucPhyType0, .u.uc = BP_ENET_INTERNAL_PHY}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0x03}, {bp_ulPhyId0, .u.ul = 0x01 | MAC_IF_MII}, {bp_usLinkLed, .u.us = BP_GPIO_52_AL}, {bp_ulPhyId1, .u.ul = 0x02 | MAC_IF_GMII}, {bp_usLinkLed, .u.us = BP_GPIO_9_AL}, {bp_usGpioVoip1Led, .u.us = BP_GPIO_10_AL | BP_LED_USE_GPIO}, {bp_usGpioLedUSB, .u.us = BP_GPIO_11_AL}, {bp_usGpioLedSesWireless, .u.us = BP_GPIO_12_AL}, {bp_usGpioLedOpticalLinkStat, .u.us = BP_GPIO_14_AL | BP_LED_USE_GPIO}, {bp_usGpioLedGpon, .u.us = BP_GPIO_15_AL | BP_LED_USE_GPIO}, {bp_usGpioLedWanData, .u.us = BP_GPIO_17_AL}, {bp_usGpioPonTxEn, .u.us = BP_GPIO_18_AH}, {bp_usExtIntrSesBtnWireless, .u.us = BP_EXT_INTR_6}, {bp_usExtIntrWifiOnOff, .u.us = BP_EXT_INTR_7}, {bp_usRogueOnuEn, .u.us = BP_GPIO_51_AH}, {bp_usTrxSignalDetect, .u.us = BP_GPIO_53_AH}, {bp_usTxLaserOnOutN, .u.us = BP_GPIO_62_AH}, {bp_usGpioI2cScl, .u.us = BP_GPIO_63_AH}, {bp_usGpioI2cSda, .u.us = BP_GPIO_64_AH}, {bp_ucDspType0, .u.uc = BP_VOIP_DSP}, {bp_ucDspAddress, .u.uc = 0}, {bp_usExtIntrResetToDefault, .u.us = BP_EXT_INTR_4}, {bp_usGpioWanSignalDetected, .u.us = BP_GPIO_53_AH}, {bp_last} }; static bp_elem_t g_bcm968481psfp[] = { {bp_cpBoardId, .u.cp = "968481PSFP"}, {bp_InvSerdesRxPol, .u.us = pmd_use_def_polarity}, {bp_InvSerdesTxPol, .u.us = pmd_use_def_polarity}, {bp_ucPhyType0, .u.uc = BP_ENET_INTERNAL_PHY}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0x01}, {bp_ulPhyId0, .u.ul = 0x06 | MAC_IF_SGMII }, {bp_usTsync1pps, .u.us = BP_GPIO_6_AH}, {bp_usPmdMACEwakeEn, .u.us = BP_GPIO_10_AL}, {bp_usGpioUart2Sdout, .u.us = BP_GPIO_15_AH}, {bp_usGpioWanSignalDetected, .u.us = BP_GPIO_53_AH}, {bp_usSpiSlaveSelectNum, .u.us = 0}, {bp_usSpiSlaveSelectGpioNum, .u.us = 60}, {bp_usGpioPmdReset, .u.us = BP_GPIO_61_AL}, {bp_usTxLaserOnOutN, .u.us = BP_GPIO_62_AH}, {bp_usExtIntrPmdAlarm, .u.us = BP_EXT_INTR_3 | BP_EXT_INTR_TYPE_IRQ_HIGH_LEVEL}, {bp_usGpio_Intr, .u.us = BP_GPIO_68_AH}, {bp_pmdFunc, .u.us = BP_PMD_APD_REG_ENABLED | BP_PMD_APD_TYPE_FLYBACK}, {bp_last} }; static bp_elem_t g_bcm968488sgw[] = { {bp_cpBoardId, .u.cp = "968488SGW"}, {bp_ucPhyType0, .u.uc = BP_ENET_INTERNAL_PHY}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0xf}, {bp_ulPhyId0, .u.ul = 0x01 | MAC_IF_GMII}, {bp_usOamIndex, .u.us = 1}, {bp_ucPhyDevName, .u.cp = "eth1"}, {bp_usLinkLed, .u.us = BP_GPIO_5_AL}, {bp_ulPhyId1, .u.ul = 0x02 | MAC_IF_GMII}, {bp_usOamIndex, .u.us = 0}, {bp_ucPhyDevName, .u.cp = "eth0"}, {bp_usLinkLed, .u.us = BP_GPIO_9_AL}, {bp_ulPhyId2, .u.ul = 0x03 | MAC_IF_MII}, {bp_usOamIndex, .u.us = 3}, {bp_ucPhyDevName, .u.cp = "eth3"}, {bp_usLinkLed, .u.us = BP_GPIO_54_AL}, {bp_ulPhyId3, .u.ul = 0x04 | MAC_IF_MII}, {bp_usOamIndex, .u.us = 2}, {bp_ucPhyDevName, .u.cp = "eth2"}, {bp_usLinkLed, .u.us = BP_GPIO_52_AL}, {bp_elemTemplate, .u.bp_elemp = g_bcm968486sgu}, {bp_last} }; bp_elem_t * g_BoardParms[] = {g_bcm968480fhgu, g_bcm968480fhbb, g_bcm968485sfu, g_bcm968480sv, g_bcm968480sv_sgmii, g_bcm968485sv, g_bcm968481sp, g_bcm968481spbb, g_bcm968485sfbb, g_bcm968481psv, g_bcm968481psv_phy, g_bcm968486sgu, g_bcm968481psfp, g_bcm968480fhbbst, g_bcm968488sgw, 0};