From 931f5827b9477cf2880a7dca7202a75b98ffe8fb Mon Sep 17 00:00:00 2001 From: aalamsi22 Date: Sat, 17 Aug 2024 01:57:39 +0000 Subject: [PATCH] added /run/devmap/flashes --- .../configs/meru800bfa/platform_manager.json | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/fboss/platform/configs/meru800bfa/platform_manager.json b/fboss/platform/configs/meru800bfa/platform_manager.json index 87d7d37840d54..c61b2f37a3de3 100644 --- a/fboss/platform/configs/meru800bfa/platform_manager.json +++ b/fboss/platform/configs/meru800bfa/platform_manager.json @@ -478,13 +478,13 @@ "spiMasterConfigs": [ { "fpgaIpBlockConfig": { - "pmUnitScopedName": "SMB_SPI_MASTER0", + "pmUnitScopedName": "SMB_SPI0_MASTER0", "deviceName": "spi_master", "csrOffset": "0x7900" }, "spiDeviceConfigs": [ { - "pmUnitScopedName": "SMB_SPI_MASTER0_DEVICE1", + "pmUnitScopedName": "SMB_SPI0_MASTER0_DEVICE1", "chipSelect": 0, "modalias": "spidev", "maxSpeedHz": 25000000 @@ -1380,13 +1380,13 @@ "spiMasterConfigs": [ { "fpgaIpBlockConfig": { - "pmUnitScopedName": "SMB_SPI_MASTER0", + "pmUnitScopedName": "SMB_SPI1_MASTER0", "deviceName": "spi_master", "csrOffset": "0x7900" }, "spiDeviceConfigs": [ { - "pmUnitScopedName": "SMB_SPI_MASTER0_DEVICE1", + "pmUnitScopedName": "SMB_SPI1_MASTER0_DEVICE1", "chipSelect": 0, "modalias": "spidev", "maxSpeedHz": 25000000 @@ -2282,13 +2282,13 @@ "spiMasterConfigs": [ { "fpgaIpBlockConfig": { - "pmUnitScopedName": "SMB_SPI_MASTER0", + "pmUnitScopedName": "SMB_SPI2_MASTER0", "deviceName": "spi_master", "csrOffset": "0x7900" }, "spiDeviceConfigs": [ { - "pmUnitScopedName": "SMB_SPI_MASTER0_DEVICE1", + "pmUnitScopedName": "SMB_SPI2_MASTER0_DEVICE1", "chipSelect": 0, "modalias": "spidev", "maxSpeedHz": 25000000 @@ -3220,13 +3220,13 @@ "spiMasterConfigs": [ { "fpgaIpBlockConfig": { - "pmUnitScopedName": "SMB_SPI_MASTER0", + "pmUnitScopedName": "SMB_SPI3_MASTER0", "deviceName": "spi_master", "csrOffset": "0x7900" }, "spiDeviceConfigs": [ { - "pmUnitScopedName": "SMB_SPI_MASTER0_DEVICE1", + "pmUnitScopedName": "SMB_SPI3_MASTER0_DEVICE1", "chipSelect": 0, "modalias": "spidev", "maxSpeedHz": 25000000 @@ -4436,7 +4436,10 @@ "/run/devmap/xcvrs/xcvr_126": "/SMB_SLOT@0/[OSFP_PORT126_XCVR]", "/run/devmap/xcvrs/xcvr_127": "/SMB_SLOT@0/[OSFP_PORT127_XCVR]", "/run/devmap/xcvrs/xcvr_128": "/SMB_SLOT@0/[OSFP_PORT128_XCVR]", - "/run/devmap/flashes/SMB_SPI_MASTER0_DEVICE1": "/SMB_SLOT@0/[SMB_SPI_MASTER0_DEVICE1]", + "/run/devmap/flashes/SMB_SPI0_MASTER0_DEVICE1": "/SMB_SLOT@0/[SMB_SPI0_MASTER0_DEVICE1]", + "/run/devmap/flashes/SMB_SPI1_MASTER0_DEVICE1": "/SMB_SLOT@0/[SMB_SPI1_MASTER0_DEVICE1]", + "/run/devmap/flashes/SMB_SPI2_MASTER0_DEVICE1": "/SMB_SLOT@0/[SMB_SPI2_MASTER0_DEVICE1]", + "/run/devmap/flashes/SMB_SPI3_MASTER0_DEVICE1": "/SMB_SLOT@0/[SMB_SPI3_MASTER0_DEVICE1]", "/run/devmap/sensors/PSU1_PMBUS": "/SMB_SLOT@0/PSU_SLOT@0/[PSU_PMBUS]", "/run/devmap/sensors/PSU2_PMBUS": "/SMB_SLOT@0/PSU_SLOT@1/[PSU_PMBUS]", "/run/devmap/sensors/PSU3_PMBUS": "/SMB_SLOT@0/PSU_SLOT@2/[PSU_PMBUS]",