#include "bp_defs.h" #include "boardparms.h" #include "bcmSpiRes.h" extern BpCmdElem moca6802InitSeq[]; static bp_elem_t g_bcm963381sv[] = { {bp_cpBoardId, .u.cp = "963381SV"}, {bp_ulInterfaceEnable, .u.ul = BP_PINMUX_FNTYPE_HS_SPI}, {bp_ulInterfaceEnable, .u.ul = BP_PINMUX_FNTYPE_NAND}, /* enable NAND interface even for SPI boot */ {bp_usSpiSlaveSelectNum, .u.us = 1}, /* defined the spi select for voice */ {bp_usSpiSlaveSelectGpioNum, .u.us = 49}, {bp_usSpiSlaveSelectNum, .u.us = 2}, {bp_usSpiSlaveSelectGpioNum, .u.us = 18}, /*{bp_usGpioLedAdsl, .u.us = BP_GPIO_10_AL}, {bp_usGpioLedSesWireless, .u.us = BP_GPIO_12_AL}, {bp_usGpioLedWanData, .u.us = BP_GPIO_8_AL}, {bp_usGpioLedWanError, .u.us = BP_GPIO_9_AL}, {bp_usGpioLedBlStop, .u.us = BP_GPIO_11_AL}, {bp_usAntInUseWireless, .u.us = BP_WLAN_ANT_MAIN}, {bp_usWirelessFlags, .u.us = 0}, {bp_usExtIntrResetToDefault, .u.us = BP_EXT_INTR_0}, {bp_usExtIntrSesBtnWireless, .u.us = BP_EXT_INTR_1},*/ {bp_ucPhyType0, .u.uc = BP_ENET_EXTERNAL_SWITCH}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0x1f}, {bp_ulPhyId0, .u.ul = 0x01}, {bp_ulPhyId1, .u.ul = 0x02}, {bp_ulPhyId2, .u.ul = 0x03}, {bp_ulPhyId3, .u.ul = 0x04}, {bp_ulPhyId4, .u.ul = 0x19 | MAC_IF_RGMII_1P8V | PHY_INTEGRATED_VALID | PHY_EXTERNAL}, {bp_ucDspType0, .u.uc = BP_VOIP_DSP}, {bp_ucDspAddress, .u.uc = 0}, {bp_usGpioIntAFELDPwr, .u.us = BP_GPIO_15_AH}, {bp_usGpioIntAFELDClk, .u.us = BP_GPIO_25_AH}, {bp_usGpioIntAFELDData, .u.us = BP_GPIO_26_AH}, {bp_ulAfeId0, .u.ul = BP_AFE_CHIP_CH0 | BP_AFE_LD_6303 | BP_AFE_FE_ANNEXA | BP_AFE_FE_REV_6303_REV_12_3_50 }, {bp_last} }; static bp_elem_t g_bcm963381dvt[] = { {bp_cpBoardId, .u.cp = "963381DVT"}, {bp_ulInterfaceEnable, .u.ul = BP_PINMUX_FNTYPE_HS_SPI}, {bp_ulInterfaceEnable, .u.ul = BP_PINMUX_FNTYPE_NAND}, /* enable NAND interface even for SPI boot */ {bp_usSerialLedClk, .u.us = BP_GPIO_16_AH}, {bp_usSerialLedData, .u.us = BP_GPIO_17_AH}, {bp_usSerialLedMask, .u.us = BP_GPIO_24_AH}, {bp_usGpioLedAdsl, .u.us = BP_SERIAL_GPIO_15_AL}, {bp_usGpioLedSesWireless, .u.us = BP_SERIAL_GPIO_11_AL}, {bp_usGpioLedWanData, .u.us = BP_SERIAL_GPIO_13_AL},/*does not work in A0*/ {bp_usGpioLedWanError, .u.us = BP_SERIAL_GPIO_14_AL}, {bp_usGpioLedBlStop, .u.us = BP_SERIAL_GPIO_16_AL}, {bp_usAntInUseWireless, .u.us = BP_WLAN_ANT_MAIN}, {bp_usWirelessFlags, .u.us = 0}, {bp_usExtIntrResetToDefault, .u.us = BP_EXT_INTR_0}, {bp_usExtIntrSesBtnWireless, .u.us = BP_EXT_INTR_1}, {bp_usSpiSlaveSelectNum, .u.us = 1}, /* defined the spi select for voice */ {bp_usSpiSlaveSelectGpioNum, .u.us = 49}, {bp_usSpiSlaveSelectNum, .u.us = 3}, {bp_usSpiSlaveSelectGpioNum, .u.us = 19}, {bp_usSpiSlaveSelectNum, .u.us = 2}, /* needed in case a SPI device is plugged into J504 */ {bp_usSpiSlaveSelectGpioNum, .u.us = 18}, {bp_ucPhyType0, .u.uc = BP_ENET_EXTERNAL_SWITCH}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0x0f}, {bp_ulPhyId0, .u.ul = 0x01}, {bp_usLinkLed, .u.us = BP_SERIAL_GPIO_5_AL}, /* these link/speed led do not work in A0 */ {bp_usSpeedLed100, .u.us = BP_SERIAL_GPIO_2_AL}, {bp_ulPhyId1, .u.ul = 0x02}, {bp_usLinkLed, .u.us = BP_SERIAL_GPIO_8_AL}, {bp_usSpeedLed100, .u.us = BP_SERIAL_GPIO_3_AL}, {bp_ulPhyId2, .u.ul = 0x03}, {bp_usLinkLed, .u.us = BP_SERIAL_GPIO_9_AL}, {bp_usSpeedLed100, .u.us = BP_SERIAL_GPIO_4_AL}, {bp_ulPhyId3, .u.ul = 0x04}, {bp_usLinkLed, .u.us = BP_SERIAL_GPIO_10_AL}, {bp_usSpeedLed100, .u.us = BP_SERIAL_GPIO_6_AL}, {bp_ucDspType0, .u.uc = BP_VOIP_DSP}, {bp_ucDspAddress, .u.uc = 0}, {bp_usGpioIntAFELDPwr, .u.us = BP_GPIO_15_AH}, {bp_usGpioIntAFELDClk, .u.us = BP_GPIO_25_AH}, {bp_usGpioIntAFELDData, .u.us = BP_GPIO_26_AH}, {bp_ulAfeId0, .u.ul = BP_AFE_CHIP_CH0 | BP_AFE_LD_6303 | BP_AFE_FE_ANNEXA | BP_AFE_FE_REV_6303_REV_12_3_50 }, {bp_ucDspType0, .u.uc = BP_VOIP_DSP}, {bp_ucDspAddress, .u.uc = 0}, {bp_usGpioVoip1Led, .u.us = BP_SERIAL_GPIO_17_AL}, {bp_usGpioVoip2Led, .u.us = BP_SERIAL_GPIO_12_AL}, {bp_usGpioPotsLed, .u.us = BP_SERIAL_GPIO_18_AL}, {bp_last} }; static bp_elem_t g_bcm963381dvt_rgmii[] = { {bp_cpBoardId, .u.cp = "963381DVT_RGMII"}, {bp_ucPhyType0, .u.uc = BP_ENET_EXTERNAL_SWITCH}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0x1f}, {bp_ulPhyId0, .u.ul = 0x01}, {bp_ulPhyId1, .u.ul = 0x02}, {bp_ulPhyId2, .u.ul = 0x03}, {bp_ulPhyId3, .u.ul = 0x04}, {bp_ulPhyId4, .u.ul = 0x19 | MAC_IF_RGMII_1P8V | PHY_INTEGRATED_VALID | PHY_EXTERNAL}, {bp_elemTemplate, .u.bp_elemp = g_bcm963381dvt}, {bp_last} }; static bp_elem_t g_bcm963381dvt_53125[] = { {bp_cpBoardId, .u.cp = "963381DVT_53125"}, {bp_cpComment, .u.cp = "(incomplete)"}, {bp_usEphyBaseAddress, .u.us = 0x8}, {bp_ucPhyType0, .u.uc = BP_ENET_EXTERNAL_SWITCH}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0x1f}, {bp_ulPhyId0, .u.ul = 0x08}, {bp_ulPhyId1, .u.ul = 0x09}, {bp_ulPhyId2, .u.ul = 0x0a}, {bp_ulPhyId3, .u.ul = 0x0b}, {bp_ulPhyId4, .u.ul = RGMII_DIRECT | EXTSW_CONNECTED}, {bp_ucPhyType1, .u.uc = BP_ENET_EXTERNAL_SWITCH}, {bp_ucPhyAddress, .u.uc = 0x0}, //{bp_usConfigType, .u.us = BP_ENET_CONFIG_SPI_SSB_2}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MDIO}, {bp_ulPortMap, .u.ul = 0x03}, {bp_ulPhyId0, .u.ul = 0x00 | CONNECTED_TO_EXTERN_SW}, {bp_ulPhyId1, .u.ul = 0x01 | CONNECTED_TO_EXTERN_SW}, {bp_elemTemplate, .u.bp_elemp = g_bcm963381dvt}, {bp_last} }; static bp_elem_t g_bcm963381ref1_a0[] = { {bp_cpBoardId, .u.cp = "963381REF1_A0"}, {bp_ulPinmuxTableSelect, .u.ul = 1}, // default pinmux is 0 {bp_ulInterfaceEnable, .u.ul = BP_PINMUX_FNTYPE_HS_SPI}, {bp_usGpioLedAdsl, .u.us = BP_GPIO_3_AL}, {bp_usGpioLedWanError, .u.us = BP_GPIO_5_AL}, {bp_usGpioLedBlStop, .u.us = BP_GPIO_2_AL}, {bp_usGpioLedWanData, .u.us = BP_GPIO_19_AL}, {bp_usGpioLedSesWireless, .u.us = BP_GPIO_9_AL}, {bp_usAntInUseWireless, .u.us = BP_WLAN_ANT_MAIN}, {bp_usWirelessFlags, .u.us = 0}, {bp_usSerialLedData, .u.us = BP_GPIO_17_AL}, // NOTE: bp_ulGpioOverlay is no longer used {bp_usSerialLedClk, .u.us = BP_GPIO_16_AH}, {bp_usSerialLedMask, .u.us = BP_GPIO_24_AH}, {bp_usExtIntrResetToDefault, .u.us = BP_EXT_INTR_0}, {bp_usExtIntrSesBtnWireless, .u.us = BP_EXT_INTR_1}, {bp_ucPhyType0, .u.uc = BP_ENET_EXTERNAL_SWITCH}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0xf}, {bp_ulPhyId0, .u.ul = 0x01}, {bp_usLinkLed, .u.us = BP_SERIAL_GPIO_27_AH}, {bp_usSpeedLed100, .u.us = BP_SERIAL_GPIO_16_AH}, {bp_ulPhyId1, .u.ul = 0x02}, {bp_usLinkLed, .u.us = BP_SERIAL_GPIO_24_AH}, {bp_usSpeedLed100, .u.us = BP_SERIAL_GPIO_29_AH}, {bp_ulPhyId2, .u.ul = 0x03}, {bp_usLinkLed, .u.us = BP_SERIAL_GPIO_23_AH}, {bp_usSpeedLed100, .u.us = BP_SERIAL_GPIO_28_AH}, {bp_ulPhyId3, .u.ul = 0x04}, {bp_usLinkLed, .u.us = BP_SERIAL_GPIO_22_AH}, {bp_usSpeedLed100, .u.us = BP_SERIAL_GPIO_26_AH}, {bp_ucDspType0, .u.uc = BP_VOIP_DSP}, {bp_ucDspAddress, .u.uc = 0}, {bp_usGpioIntAFELDPwr, .u.us = BP_GPIO_15_AH}, {bp_usGpioIntAFELDClk, .u.us = BP_GPIO_25_AH}, {bp_usGpioIntAFELDData, .u.us = BP_GPIO_26_AH}, {bp_ulAfeId0, .u.ul = BP_AFE_CHIP_CH0 | BP_AFE_LD_6303 | BP_AFE_FE_ANNEXA | BP_AFE_FE_REV_6303_REV_12_3_50 }, {bp_last} }; /* for A1 and B0 chip */ static bp_elem_t g_bcm963381ref1[] = { {bp_cpBoardId, .u.cp = "963381REF1"}, {bp_ulInterfaceEnable, .u.ul = BP_PINMUX_FNTYPE_HS_SPI}, {bp_ulInterfaceEnable, .u.ul = BP_PINMUX_FNTYPE_NAND}, /* enable NAND interface even for SPI boot */ {bp_usGpioLedAdsl, .u.us = BP_GPIO_16_AH}, {bp_usGpioLedWanData, .u.us = BP_GPIO_19_AH}, {bp_usGpioLedWanError, .u.us = BP_GPIO_17_AH}, {bp_usGpioLedBlStop, .u.us = BP_GPIO_24_AH}, {bp_usAntInUseWireless, .u.us = BP_WLAN_ANT_MAIN}, {bp_usWirelessFlags, .u.us = 0}, {bp_usExtIntrResetToDefault, .u.us = BP_EXT_INTR_0}, {bp_usExtIntrSesBtnWireless, .u.us = BP_EXT_INTR_1}, {bp_usGpioLedSesWireless, .u.us = BP_GPIO_1_AH}, {bp_ucPhyType0, .u.uc = BP_ENET_EXTERNAL_SWITCH}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0xf}, {bp_ulPhyId0, .u.ul = 0x01}, {bp_usLinkLed, .u.us = BP_GPIO_5_AH}, {bp_usSpeedLed100, .u.us = BP_GPIO_2_AH}, {bp_ulPhyId1, .u.ul = 0x02}, {bp_usLinkLed, .u.us = BP_GPIO_8_AH}, {bp_usSpeedLed100, .u.us = BP_GPIO_3_AH}, {bp_ulPhyId2, .u.ul = 0x03}, {bp_usLinkLed, .u.us = BP_GPIO_9_AH}, {bp_usSpeedLed100, .u.us = BP_GPIO_4_AH}, {bp_ulPhyId3, .u.ul = 0x04}, {bp_usLinkLed, .u.us = BP_GPIO_10_AH}, {bp_usSpeedLed100, .u.us = BP_GPIO_6_AH}, {bp_ucDspType0, .u.uc = BP_VOIP_DSP}, {bp_ucDspAddress, .u.uc = 0}, {bp_usGpioIntAFELDPwr, .u.us = BP_GPIO_15_AH}, {bp_usGpioIntAFELDClk, .u.us = BP_GPIO_25_AH}, {bp_usGpioIntAFELDData, .u.us = BP_GPIO_26_AH}, {bp_ulAfeId0, .u.ul = BP_AFE_CHIP_CH0 | BP_AFE_LD_6303 | BP_AFE_FE_ANNEXA | BP_AFE_FE_REV_6303_REV_12_3_50 }, {bp_ucDspType0, .u.uc = BP_VOIP_DSP}, {bp_ucDspAddress, .u.uc = 0}, {bp_usGpioVoip1Led, .u.us = BP_GPIO_13_AH}, {bp_usGpioVoip2Led, .u.us = BP_GPIO_12_AH}, {bp_last} }; static bp_elem_t g_bcm963381ref2[] = { {bp_cpBoardId, .u.cp = "963381REF2"}, {bp_usGpioLedAdsl, .u.us = BP_GPIO_16_AL}, {bp_usGpioLedWanData, .u.us = BP_GPIO_19_AL}, {bp_usGpioLedWanError, .u.us = BP_GPIO_17_AL}, {bp_usGpioLedBlStop, .u.us = BP_GPIO_24_AL}, {bp_usGpioLedSesWireless, .u.us = BP_GPIO_1_AL}, {bp_usSpiSlaveSelectNum, .u.us = 1}, /* defined the spi select for voice */ {bp_usSpiSlaveSelectGpioNum, .u.us = 49}, {bp_ucPhyType0, .u.uc = BP_ENET_EXTERNAL_SWITCH}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0x1f}, {bp_ulPhyId0, .u.ul = 0x01}, {bp_usLinkLed, .u.us = BP_GPIO_5_AL}, {bp_usSpeedLed100, .u.us = BP_GPIO_2_AL}, {bp_ulPhyId1, .u.ul = 0x02}, {bp_usLinkLed, .u.us = BP_GPIO_8_AL}, {bp_usSpeedLed100, .u.us = BP_GPIO_3_AL}, {bp_ulPhyId2, .u.ul = 0x03}, {bp_usLinkLed, .u.us = BP_GPIO_9_AL}, {bp_usSpeedLed100, .u.us = BP_GPIO_4_AL}, {bp_ulPhyId3, .u.ul = 0x04}, {bp_usLinkLed, .u.us = BP_GPIO_10_AL}, {bp_usSpeedLed100, .u.us = BP_GPIO_6_AL}, {bp_ulPhyId4, .u.ul = 0x18 | MAC_IF_RGMII_1P8V | PHY_INTEGRATED_VALID | PHY_EXTERNAL}, {bp_usGpioVoip1Led, .u.us = BP_GPIO_13_AL}, {bp_usGpioVoip2Led, .u.us = BP_GPIO_12_AL}, {bp_elemTemplate, .u.bp_elemp = g_bcm963381ref1}, {bp_last} }; static bp_elem_t g_bcm963381bg_lte[] = { {bp_cpBoardId, .u.cp = "963381BG_LTE"}, {bp_usExtIntrLTE, .u.us = BP_EXT_INTR_3}, {bp_usGpioLedBlStop, .u.us = BP_GPIO_24_AL}, {bp_elemTemplate, .u.bp_elemp = g_bcm963381ref2}, {bp_last} }; static bp_elem_t g_bcm963381a_ref1[] = { {bp_cpBoardId, .u.cp = "963381A_REF1"}, {bp_ulInterfaceEnable, .u.ul = BP_PINMUX_FNTYPE_HS_SPI}, {bp_ulInterfaceEnable, .u.ul = BP_PINMUX_FNTYPE_NAND}, /* enable NAND interface even for SPI boot */ {bp_usGpioLedAdsl, .u.us = BP_GPIO_17_AL}, {bp_usGpioLedWanData, .u.us = BP_GPIO_19_AL}, {bp_usGpioLedWanError, .u.us = BP_GPIO_18_AL}, {bp_usGpioLedBlStop, .u.us = BP_GPIO_23_AL}, {bp_usAntInUseWireless, .u.us = BP_WLAN_ANT_MAIN}, {bp_usWirelessFlags, .u.us = 0}, {bp_usExtIntrResetToDefault, .u.us = BP_EXT_INTR_0}, {bp_usExtIntrSesBtnWireless, .u.us = BP_EXT_INTR_1}, {bp_usGpioLedSesWireless, .u.us = BP_GPIO_24_AL}, {bp_usSpiSlaveSelectNum, .u.us = 1}, /* defined the spi select for voice */ {bp_usSpiSlaveSelectGpioNum, .u.us = 49}, {bp_ucPhyType0, .u.uc = BP_ENET_EXTERNAL_SWITCH}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0xf}, {bp_ulPhyId0, .u.ul = 0x01}, {bp_usLinkLed, .u.us = BP_GPIO_35_AL}, {bp_usSpeedLed100, .u.us = BP_GPIO_36_AL}, {bp_ulPhyId1, .u.ul = 0x02}, {bp_usLinkLed, .u.us = BP_GPIO_33_AL}, {bp_usSpeedLed100, .u.us = BP_GPIO_34_AL}, {bp_ulPhyId2, .u.ul = 0x03}, {bp_usLinkLed, .u.us = BP_GPIO_38_AL}, {bp_usSpeedLed100, .u.us = BP_GPIO_31_AL}, {bp_ulPhyId3, .u.ul = 0x04}, {bp_usLinkLed, .u.us = BP_GPIO_41_AL}, {bp_usSpeedLed100, .u.us = BP_GPIO_42_AL}, {bp_ucDspType0, .u.uc = BP_VOIP_DSP}, {bp_ucDspAddress, .u.uc = 0}, {bp_usGpioIntAFELDPwr, .u.us = BP_GPIO_15_AL}, {bp_usGpioIntAFELDClk, .u.us = BP_GPIO_25_AL}, {bp_usGpioIntAFELDData, .u.us = BP_GPIO_26_AL}, {bp_ulAfeId0, .u.ul = BP_AFE_CHIP_CH0 | BP_AFE_LD_6303 | BP_AFE_FE_ANNEXA | BP_AFE_FE_REV_6303_REV_12_3_50 }, {bp_ucDspType0, .u.uc = BP_VOIP_DSP}, {bp_ucDspAddress, .u.uc = 0}, {bp_usGpioVoip1Led, .u.us = BP_GPIO_37_AL}, {bp_usGpioVoip2Led, .u.us = BP_GPIO_16_AL}, {bp_last} }; static bp_elem_t g_bcm963381ref3[] = { {bp_cpBoardId, .u.cp = "963381REF3"}, {bp_ulInterfaceEnable, .u.ul = BP_PINMUX_FNTYPE_HS_SPI}, {bp_ulInterfaceEnable, .u.ul = BP_PINMUX_FNTYPE_NAND}, {bp_usGpioLedAdsl, .u.us = BP_GPIO_16_AL}, {bp_usGpioLedWanData, .u.us = BP_GPIO_40_AL}, {bp_usGpioLedWanError, .u.us = BP_GPIO_17_AL}, {bp_usGpioLedBlStop, .u.us = BP_GPIO_24_AL}, {bp_usSpiSlaveSelectNum, .u.us = 1}, /* defined the spi select for voice */ {bp_usSpiSlaveSelectGpioNum, .u.us = 49}, {bp_usSpiSlaveSelectNum, .u.us = 3}, {bp_usSpiSlaveSelectGpioNum, .u.us = 19}, {bp_usAntInUseWireless, .u.us = BP_WLAN_ANT_MAIN}, {bp_usWirelessFlags, .u.us = 0}, {bp_usExtIntrResetToDefault, .u.us = BP_EXT_INTR_0}, {bp_usExtIntrSesBtnWireless, .u.us = BP_EXT_INTR_1}, {bp_usGpioLedSesWireless, .u.us = BP_GPIO_39_AL}, {bp_ucPhyType0, .u.uc = BP_ENET_EXTERNAL_SWITCH}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0xf}, {bp_ulPhyId0, .u.ul = 0x01}, {bp_usLinkLed, .u.us = BP_GPIO_35_AL}, {bp_usSpeedLed100, .u.us = BP_GPIO_36_AL}, {bp_ulPhyId1, .u.ul = 0x02}, {bp_usLinkLed, .u.us = BP_GPIO_33_AL}, {bp_usSpeedLed100, .u.us = BP_GPIO_34_AL}, {bp_ulPhyId2, .u.ul = 0x03}, {bp_usLinkLed, .u.us = BP_GPIO_38_AL}, {bp_usSpeedLed100, .u.us = BP_GPIO_31_AL}, {bp_ulPhyId3, .u.ul = 0x04}, {bp_usLinkLed, .u.us = BP_GPIO_41_AL}, {bp_usSpeedLed100, .u.us = BP_GPIO_42_AL}, {bp_ucDspType0, .u.uc = BP_VOIP_DSP}, {bp_ucDspAddress, .u.uc = 0}, {bp_usGpioIntAFELDPwr, .u.us = BP_GPIO_15_AH}, {bp_usGpioIntAFELDClk, .u.us = BP_GPIO_25_AH}, {bp_usGpioIntAFELDData, .u.us = BP_GPIO_26_AH}, {bp_ulAfeId0, .u.ul = BP_AFE_CHIP_CH0 | BP_AFE_LD_6303 | BP_AFE_FE_ANNEXA | BP_AFE_FE_REV_6303_REV_12_3_50 }, {bp_ucDspType0, .u.uc = BP_VOIP_DSP}, {bp_ucDspAddress, .u.uc = 0}, {bp_usGpioVoip1Led, .u.us = BP_GPIO_13_AH}, {bp_usGpioVoip2Led, .u.us = BP_GPIO_12_AH}, {bp_last} }; static bp_elem_t g_bcm963381wp[] = { {bp_cpBoardId, .u.cp = "963381WP"}, {bp_usGpioLedBlStop, .u.us = BP_GPIO_24_AL}, {bp_usGpioLedSesWireless, .u.us = BP_GPIO_1_AL}, {bp_ucPhyType0, .u.uc = BP_ENET_EXTERNAL_SWITCH}, {bp_ucPhyAddress, .u.uc = 0x0}, {bp_usConfigType, .u.us = BP_ENET_CONFIG_MMAP}, {bp_ulPortMap, .u.ul = 0x11}, {bp_ulPhyId0, .u.ul = 0x01}, {bp_usLinkLed, .u.us = BP_GPIO_5_AL}, {bp_usSpeedLed100, .u.us = BP_GPIO_2_AL}, {bp_ulPhyId4, .u.ul = RGMII_DIRECT_3P3V | FORCE_LINK_1000FD}, {bp_usPhyConnType, .u.us = PHY_CONN_TYPE_PLC}, {bp_ucPhyDevName, .u.cp = "plc%d"}, {bp_ulPortMaxRate, .u.ul = 400000000}, {bp_ulPortFlags, .u.ul = PORT_FLAG_TX_INTERNAL_DELAY | PORT_FLAG_RX_INTERNAL_DELAY | PORT_FLAG_SOFT_SWITCHING}, {bp_usGpioLedWanData, .u.us = BP_GPIO_19_AL}, {bp_elemTemplate, .u.bp_elemp = g_bcm963381ref3}, {bp_last} }; bp_elem_t * g_BoardParms[] = {g_bcm963381sv, g_bcm963381dvt, g_bcm963381dvt_rgmii, g_bcm963381dvt_53125, g_bcm963381ref1_a0, g_bcm963381a_ref1, g_bcm963381ref1, g_bcm963381ref2, g_bcm963381ref3, g_bcm963381bg_lte, g_bcm963381wp, 0};