1 ======================================= 1 ======================================= 2 Kernel driver for Mellanox systems LEDs 2 Kernel driver for Mellanox systems LEDs 3 ======================================= 3 ======================================= 4 4 5 Provide system LED support for the nex Mellano 5 Provide system LED support for the nex Mellanox systems: 6 "msx6710", "msx6720", "msb7700", "msn2700", "m 6 "msx6710", "msx6720", "msb7700", "msn2700", "msx1410", 7 "msn2410", "msb7800", "msn2740", "msn2100". 7 "msn2410", "msb7800", "msn2740", "msn2100". 8 8 9 Description 9 Description 10 ----------- 10 ----------- 11 Driver provides the following LEDs for the sys 11 Driver provides the following LEDs for the systems "msx6710", "msx6720", 12 "msb7700", "msn2700", "msx1410", "msn2410", "m 12 "msb7700", "msn2700", "msx1410", "msn2410", "msb7800", "msn2740": 13 13 14 - mlxcpld:fan1:green 14 - mlxcpld:fan1:green 15 - mlxcpld:fan1:red 15 - mlxcpld:fan1:red 16 - mlxcpld:fan2:green 16 - mlxcpld:fan2:green 17 - mlxcpld:fan2:red 17 - mlxcpld:fan2:red 18 - mlxcpld:fan3:green 18 - mlxcpld:fan3:green 19 - mlxcpld:fan3:red 19 - mlxcpld:fan3:red 20 - mlxcpld:fan4:green 20 - mlxcpld:fan4:green 21 - mlxcpld:fan4:red 21 - mlxcpld:fan4:red 22 - mlxcpld:psu:green 22 - mlxcpld:psu:green 23 - mlxcpld:psu:red 23 - mlxcpld:psu:red 24 - mlxcpld:status:green 24 - mlxcpld:status:green 25 - mlxcpld:status:red 25 - mlxcpld:status:red 26 26 27 "status" 27 "status" 28 - CPLD reg offset: 0x20 28 - CPLD reg offset: 0x20 29 - Bits [3:0] 29 - Bits [3:0] 30 30 31 "psu" 31 "psu" 32 - CPLD reg offset: 0x20 32 - CPLD reg offset: 0x20 33 - Bits [7:4] 33 - Bits [7:4] 34 34 35 "fan1" 35 "fan1" 36 - CPLD reg offset: 0x21 36 - CPLD reg offset: 0x21 37 - Bits [3:0] 37 - Bits [3:0] 38 38 39 "fan2" 39 "fan2" 40 - CPLD reg offset: 0x21 40 - CPLD reg offset: 0x21 41 - Bits [7:4] 41 - Bits [7:4] 42 42 43 "fan3" 43 "fan3" 44 - CPLD reg offset: 0x22 44 - CPLD reg offset: 0x22 45 - Bits [3:0] 45 - Bits [3:0] 46 46 47 "fan4" 47 "fan4" 48 - CPLD reg offset: 0x22 48 - CPLD reg offset: 0x22 49 - Bits [7:4] 49 - Bits [7:4] 50 50 51 Color mask for all the above LEDs: 51 Color mask for all the above LEDs: 52 52 53 [bit3,bit2,bit1,bit0] or 53 [bit3,bit2,bit1,bit0] or 54 [bit7,bit6,bit5,bit4]: 54 [bit7,bit6,bit5,bit4]: 55 55 56 - [0,0,0,0] = LED OFF 56 - [0,0,0,0] = LED OFF 57 - [0,1,0,1] = Red static ON 57 - [0,1,0,1] = Red static ON 58 - [1,1,0,1] = Green static ON 58 - [1,1,0,1] = Green static ON 59 - [0,1,1,0] = Red blink 3Hz 59 - [0,1,1,0] = Red blink 3Hz 60 - [1,1,1,0] = Green blink 3Hz 60 - [1,1,1,0] = Green blink 3Hz 61 - [0,1,1,1] = Red blink 6Hz 61 - [0,1,1,1] = Red blink 6Hz 62 - [1,1,1,1] = Green blink 6Hz 62 - [1,1,1,1] = Green blink 6Hz 63 63 64 Driver provides the following LEDs for the sys 64 Driver provides the following LEDs for the system "msn2100": 65 65 66 - mlxcpld:fan:green 66 - mlxcpld:fan:green 67 - mlxcpld:fan:red 67 - mlxcpld:fan:red 68 - mlxcpld:psu1:green 68 - mlxcpld:psu1:green 69 - mlxcpld:psu1:red 69 - mlxcpld:psu1:red 70 - mlxcpld:psu2:green 70 - mlxcpld:psu2:green 71 - mlxcpld:psu2:red 71 - mlxcpld:psu2:red 72 - mlxcpld:status:green 72 - mlxcpld:status:green 73 - mlxcpld:status:red 73 - mlxcpld:status:red 74 - mlxcpld:uid:blue 74 - mlxcpld:uid:blue 75 75 76 "status" 76 "status" 77 - CPLD reg offset: 0x20 77 - CPLD reg offset: 0x20 78 - Bits [3:0] 78 - Bits [3:0] 79 79 80 "fan" 80 "fan" 81 - CPLD reg offset: 0x21 81 - CPLD reg offset: 0x21 82 - Bits [3:0] 82 - Bits [3:0] 83 83 84 "psu1" 84 "psu1" 85 - CPLD reg offset: 0x23 85 - CPLD reg offset: 0x23 86 - Bits [3:0] 86 - Bits [3:0] 87 87 88 "psu2" 88 "psu2" 89 - CPLD reg offset: 0x23 89 - CPLD reg offset: 0x23 90 - Bits [7:4] 90 - Bits [7:4] 91 91 92 "uid" 92 "uid" 93 - CPLD reg offset: 0x24 93 - CPLD reg offset: 0x24 94 - Bits [3:0] 94 - Bits [3:0] 95 95 96 Color mask for all the above LEDs, excepted u 96 Color mask for all the above LEDs, excepted uid: 97 97 98 [bit3,bit2,bit1,bit0] or 98 [bit3,bit2,bit1,bit0] or 99 [bit7,bit6,bit5,bit4]: 99 [bit7,bit6,bit5,bit4]: 100 100 101 - [0,0,0,0] = LED OFF 101 - [0,0,0,0] = LED OFF 102 - [0,1,0,1] = Red static ON 102 - [0,1,0,1] = Red static ON 103 - [1,1,0,1] = Green static ON 103 - [1,1,0,1] = Green static ON 104 - [0,1,1,0] = Red blink 3Hz 104 - [0,1,1,0] = Red blink 3Hz 105 - [1,1,1,0] = Green blink 3Hz 105 - [1,1,1,0] = Green blink 3Hz 106 - [0,1,1,1] = Red blink 6Hz 106 - [0,1,1,1] = Red blink 6Hz 107 - [1,1,1,1] = Green blink 6Hz 107 - [1,1,1,1] = Green blink 6Hz 108 108 109 Color mask for uid LED: 109 Color mask for uid LED: 110 [bit3,bit2,bit1,bit0]: 110 [bit3,bit2,bit1,bit0]: 111 111 112 - [0,0,0,0] = LED OFF 112 - [0,0,0,0] = LED OFF 113 - [1,1,0,1] = Blue static ON 113 - [1,1,0,1] = Blue static ON 114 - [1,1,1,0] = Blue blink 3Hz 114 - [1,1,1,0] = Blue blink 3Hz 115 - [1,1,1,1] = Blue blink 6Hz 115 - [1,1,1,1] = Blue blink 6Hz 116 116 117 Driver supports HW blinking at 3Hz and 6Hz fre 117 Driver supports HW blinking at 3Hz and 6Hz frequency (50% duty cycle). 118 For 3Hz duty cycle is about 167 msec, for 6Hz 118 For 3Hz duty cycle is about 167 msec, for 6Hz is about 83 msec.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.