307e39bde4
* [Marvell-arm64] Add platform support for rd98DX35xx This change adds following two variants of rd98DX35xx board to arm64 build. Board with CPU integrated into the 98DX35xx switching chip: Platform: arm64-marvell_rd98DX35xx-r0 HwSKU: rd98DX35xx ASIC: marvell Port Config: 32x1G + 16x2.5G + 6x25G Board with external CN9131 CPU connected over PCI to 98DX35xx switching chip: Platform: arm64-marvell_rd98DX35xx_cn9131-r0 HwSKU: rd98DX35xx_cn9131 ASIC: marvell Port Config: 32x1G + 16x2.5G + 6x25G Change-Id: I21dc9fe972417daaabb20a5bddf7779d72b7972e Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com> * Add HWSKU for rd98DX35xx and rd98DX35xx_cn9131 This patch adds new HWSKU's for Marvell arm64 platforms rd98DX35xx and rd98DX35xx_cn9131. Change-Id: Id7c14f49f0e304335cc4ca73dcae52362c49d231 Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com> --------- Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
14 lines
389 B
Python
14 lines
389 B
Python
#!/usr/bin/env python
|
|
|
|
try:
|
|
from sonic_eeprom import eeprom_tlvinfo
|
|
except ImportError as e:
|
|
raise ImportError (str(e) + "- required module not found")
|
|
|
|
|
|
class board(eeprom_tlvinfo.TlvInfoDecoder):
|
|
|
|
def __init__(self, name, path, cpld_root, ro):
|
|
self.eeprom_path = "/sys/bus/i2c/devices/0-0050/eeprom"
|
|
super(board, self).__init__(self.eeprom_path, 0, '', True)
|