~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-bus-i2c-devices-turris-omnia-mcu

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 What:           /sys/bus/i2c/devices/<mcu_device>/board_revision
  2 Date:           September 2024
  3 KernelVersion:  6.11
  4 Contact:        Marek Behún <kabel@kernel.org>
  5 Description:    (RO) Contains board revision number.
  6 
  7                 Only available if board information is burned in the MCU (older
  8                 revisions have board information burned in the ATSHA204-A chip).
  9 
 10                 Format: %u.
 11 
 12 What:           /sys/bus/i2c/devices/<mcu_device>/first_mac_address
 13 Date:           September 2024
 14 KernelVersion:  6.11
 15 Contact:        Marek Behún <kabel@kernel.org>
 16 Description:    (RO) Contains device first MAC address. Each Turris Omnia is
 17                 allocated 3 MAC addresses. The two additional addresses are
 18                 computed from the first one by incrementing it.
 19 
 20                 Only available if board information is burned in the MCU (older
 21                 revisions have board information burned in the ATSHA204-A chip).
 22 
 23                 Format: %pM.
 24 
 25 What:           /sys/bus/i2c/devices/<mcu_device>/front_button_mode
 26 Date:           September 2024
 27 KernelVersion:  6.11
 28 Contact:        Marek Behún <kabel@kernel.org>
 29 Description:    (RW) The front button on the Turris Omnia router can be
 30                 configured either to change the intensity of all the LEDs on the
 31                 front panel, or to send the press event to the CPU as an
 32                 interrupt.
 33 
 34                 This file switches between these two modes:
 35                  - ``mcu`` makes the button press event be handled by the MCU to
 36                    change the LEDs panel intensity.
 37                  - ``cpu`` makes the button press event be handled by the CPU.
 38 
 39                 Format: %s.
 40 
 41 What:           /sys/bus/i2c/devices/<mcu_device>/front_button_poweron
 42 Date:           September 2024
 43 KernelVersion:  6.11
 44 Contact:        Marek Behún <kabel@kernel.org>
 45 Description:    (RW) Newer versions of the microcontroller firmware of the
 46                 Turris Omnia router support powering off the router into true
 47                 low power mode. The router can be powered on by pressing the
 48                 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 supported
 53                 by the firmware.
 54 
 55                 Format: %i.
 56 
 57 What:           /sys/bus/i2c/devices/<mcu_device>/fw_features
 58 Date:           September 2024
 59 KernelVersion:  6.11
 60 Contact:        Marek Behún <kabel@kernel.org>
 61 Description:    (RO) Newer versions of the microcontroller firmware report the
 62                 features they support. These can be read from this file. If the
 63                 MCU firmware is too old, this file reads 0x0.
 64 
 65                 Format: 0x%x.
 66 
 67 What:           /sys/bus/i2c/devices/<mcu_device>/fw_version_hash_application
 68 Date:           September 2024
 69 KernelVersion:  6.11
 70 Contact:        Marek Behún <kabel@kernel.org>
 71 Description:    (RO) Contains the version hash (commit hash) of the application
 72                 part of the microcontroller firmware.
 73 
 74                 Format: %s.
 75 
 76 What:           /sys/bus/i2c/devices/<mcu_device>/fw_version_hash_bootloader
 77 Date:           September 2024
 78 KernelVersion:  6.11
 79 Contact:        Marek Behún <kabel@kernel.org>
 80 Description:    (RO) Contains the version hash (commit hash) of the bootloader
 81                 part of the microcontroller firmware.
 82 
 83                 Format: %s.
 84 
 85 What:           /sys/bus/i2c/devices/<mcu_device>/mcu_type
 86 Date:           September 2024
 87 KernelVersion:  6.11
 88 Contact:        Marek Behún <kabel@kernel.org>
 89 Description:    (RO) Contains the microcontroller type (STM32, GD32, MKL).
 90 
 91                 Format: %s.
 92 
 93 What:           /sys/bus/i2c/devices/<mcu_device>/reset_selector
 94 Date:           September 2024
 95 KernelVersion:  6.11
 96 Contact:        Marek Behún <kabel@kernel.org>
 97 Description:    (RO) Contains the selected factory reset level, determined by
 98                 how long the rear reset button was held by the user during board
 99                 reset.
100 
101                 Format: %i.
102 
103 What:           /sys/bus/i2c/devices/<mcu_device>/serial_number
104 Date:           September 2024
105 KernelVersion:  6.11
106 Contact:        Marek Behún <kabel@kernel.org>
107 Description:    (RO) Contains the 64-bit board serial number in hexadecimal
108                 format.
109 
110                 Only available if board information is burned in the MCU (older
111                 revisions have board information burned in the ATSHA204-A chip).
112 
113                 Format: %016X.

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php