@@ -361,3 +361,106 @@ Description: This file allows to unlock ASIC after thermal shutdown event.
361361 Default is 1.
362362
363363 The file is read/write.
364+
365+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/cpld1_pn
366+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/cpld1_version
367+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/cpld1_version_min
368+ Date: October 2021
369+ KernelVersion: 5.16
370+ Contact: Vadim Pasternak <vadimp@nvidia.com>
371+ Description: These files show with which CPLD major and minor versions
372+ and part number has been burned CPLD device on line card.
373+
374+ The files are read only.
375+
376+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/fpga1_pn
377+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/fpga1_version
378+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/fpga1_version_min
379+ Date: October 2021
380+ KernelVersion: 5.16
381+ Contact: Vadim Pasternak <vadimp@nvidia.com>
382+ Description: These files show with which FPGA major and minor versions
383+ and part number has been burned FPGA device on line card.
384+
385+ The files are read only.
386+
387+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/vpd_wp
388+ Date: October 2021
389+ KernelVersion: 5.16
390+ Contact: Vadim Pasternak <vadimp@nvidia.com>
391+ Description: This file allow to overwrite line card VPD hardware write
392+ protection mode. When attribute is set 1 - write protection is
393+ disabled, when 0 - enabled.
394+ Default is 0.
395+ If the system is in locked-down mode writing this file will not
396+ be allowed.
397+ The purpose if this file is to allow line card VPD burning
398+ during production flow.
399+
400+ The file is read/write.
401+
402+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/reset_aux_pwr_or_ref
403+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/reset_dc_dc_pwr_fail
404+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/reset_fpga_not_done
405+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/reset_from_chassis
406+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/reset_line_card
407+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/reset_pwr_off_from_chassis
408+ Date: October 2021
409+ KernelVersion: 5.16
410+ Contact: Vadim Pasternak <vadimp@nvidia.com>
411+ Description: These files show the line reset cause, as following: power
412+ auxiliary outage or power refresh, DC-to-DC power failure, FPGA reset
413+ failed, line card reset failed, power off from chassis.
414+ Value 1 in file means this is reset cause, 0 - otherwise. Only one of
415+ the above causes could be 1 at the same time, representing only last
416+ reset cause.
417+
418+ The files are read only.
419+
420+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/cpld_upgrade_en
421+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/fpga_upgrade_en
422+ Date: October 2021
423+ KernelVersion: 5.16
424+ Contact: Vadim Pasternak <vadimp@nvidia.com>
425+ Description: These files allow CPLD and FPGA burning. Value 1 in file means burning
426+ is enabled, 0 - otherwise.
427+ If the system is in locked-down mode writing these files will
428+ not be allowed.
429+ The purpose of these files to allow line card CPLD and FPGA
430+ upgrade through the JTAG daisy-chain.
431+
432+ The files are read/write.
433+
434+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/qsfp_pwr_en
435+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/pwr_en
436+ Date: October 2021
437+ KernelVersion: 5.16
438+ Contact: Vadim Pasternak <vadimp@nvidia.com>
439+ Description: These files allow to power on/off all QSFP ports and whole line card.
440+ The attributes are set 1 for power on, 0 - for power off.
441+
442+ The files are read/write.
443+
444+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/agb_spi_burn_en
445+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/fpga_spi_burn_en
446+ Date: October 2021
447+ KernelVersion: 5.16
448+ Contact: Vadim Pasternak <vadimp@nvidia.com>
449+ Description: These files allow gearboxes and FPGA SPI flash burning.
450+ The attributes are set 1 to enable burning, 0 - to disable.
451+ If the system is in locked-down mode writing these files will
452+ not be allowed.
453+ The purpose of these files to allow line card Gearboxes and FPGA
454+ burning during production flow.
455+
456+ The file is read/write.
457+
458+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/max_power
459+ What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/i2c-*/*-0032/mlxreg-io.*/hwmon/hwmon*/config
460+ Date: October 2021
461+ KernelVersion: 5.16
462+ Contact: Vadim Pasternak <vadimp@nvidia.com>
463+ Description: These files provide the maximum powered required for line card
464+ feeding and line card configuration Id.
465+
466+ The files are read only.
0 commit comments