114 lines · plain
1What: /sys/bus/i2c/devices/<mcu_device>/board_revision2Date: September 20243KernelVersion: 6.114Contact: Marek Behún <kabel@kernel.org>5Description: (RO) Contains board revision number.6 7 Only available if board information is burned in the MCU (older8 revisions have board information burned in the ATSHA204-A chip).9 10 Format: %u.11 12What: /sys/bus/i2c/devices/<mcu_device>/first_mac_address13Date: September 202414KernelVersion: 6.1115Contact: Marek Behún <kabel@kernel.org>16Description: (RO) Contains device first MAC address. Each Turris Omnia is17 allocated 3 MAC addresses. The two additional addresses are18 computed from the first one by incrementing it.19 20 Only available if board information is burned in the MCU (older21 revisions have board information burned in the ATSHA204-A chip).22 23 Format: %pM.24 25What: /sys/bus/i2c/devices/<mcu_device>/front_button_mode26Date: September 202427KernelVersion: 6.1128Contact: Marek Behún <kabel@kernel.org>29Description: (RW) The front button on the Turris Omnia router can be30 configured either to change the intensity of all the LEDs on the31 front panel, or to send the press event to the CPU as an32 interrupt.33 34 This file switches between these two modes:35 - ``mcu`` makes the button press event be handled by the MCU to36 change the LEDs panel intensity.37 - ``cpu`` makes the button press event be handled by the CPU.38 39 Format: %s.40 41What: /sys/bus/i2c/devices/<mcu_device>/front_button_poweron42Date: September 202443KernelVersion: 6.1144Contact: Marek Behún <kabel@kernel.org>45Description: (RW) Newer versions of the microcontroller firmware of the46 Turris Omnia router support powering off the router into true47 low power mode. The router can be powered on by pressing the48 front button.49 50 This file configures whether front button power on is enabled.51 52 This file is present only if the power off feature is supported53 by the firmware.54 55 Format: %i.56 57What: /sys/bus/i2c/devices/<mcu_device>/fw_features58Date: September 202459KernelVersion: 6.1160Contact: Marek Behún <kabel@kernel.org>61Description: (RO) Newer versions of the microcontroller firmware report the62 features they support. These can be read from this file. If the63 MCU firmware is too old, this file reads 0x0.64 65 Format: 0x%x.66 67What: /sys/bus/i2c/devices/<mcu_device>/fw_version_hash_application68Date: September 202469KernelVersion: 6.1170Contact: Marek Behún <kabel@kernel.org>71Description: (RO) Contains the version hash (commit hash) of the application72 part of the microcontroller firmware.73 74 Format: %s.75 76What: /sys/bus/i2c/devices/<mcu_device>/fw_version_hash_bootloader77Date: September 202478KernelVersion: 6.1179Contact: Marek Behún <kabel@kernel.org>80Description: (RO) Contains the version hash (commit hash) of the bootloader81 part of the microcontroller firmware.82 83 Format: %s.84 85What: /sys/bus/i2c/devices/<mcu_device>/mcu_type86Date: September 202487KernelVersion: 6.1188Contact: Marek Behún <kabel@kernel.org>89Description: (RO) Contains the microcontroller type (STM32, GD32, MKL).90 91 Format: %s.92 93What: /sys/bus/i2c/devices/<mcu_device>/reset_selector94Date: September 202495KernelVersion: 6.1196Contact: Marek Behún <kabel@kernel.org>97Description: (RO) Contains the selected factory reset level, determined by98 how long the rear reset button was held by the user during board99 reset.100 101 Format: %i.102 103What: /sys/bus/i2c/devices/<mcu_device>/serial_number104Date: September 2024105KernelVersion: 6.11106Contact: Marek Behún <kabel@kernel.org>107Description: (RO) Contains the 64-bit board serial number in hexadecimal108 format.109 110 Only available if board information is burned in the MCU (older111 revisions have board information burned in the ATSHA204-A chip).112 113 Format: %016X.114