1 =======================================
2 Kernel driver for Mellanox systems LEDs
3 =======================================
5 Provide system LED support for the nex Mellanox systems:
6 "msx6710", "msx6720", "msb7700", "msn2700", "msx1410",
7 "msn2410", "msb7800", "msn2740", "msn2100".
11 Driver provides the following LEDs for the systems "msx6710", "msx6720",
12 "msb7700", "msn2700", "msx1410", "msn2410", "msb7800", "msn2740":
24 - mlxcpld:status:green
28 - CPLD reg offset: 0x20
32 - CPLD reg offset: 0x20
36 - CPLD reg offset: 0x21
40 - CPLD reg offset: 0x21
44 - CPLD reg offset: 0x22
48 - CPLD reg offset: 0x22
51 Color mask for all the above LEDs:
53 [bit3,bit2,bit1,bit0] or
54 [bit7,bit6,bit5,bit4]:
57 - [0,1,0,1] = Red static ON
58 - [1,1,0,1] = Green static ON
59 - [0,1,1,0] = Red blink 3Hz
60 - [1,1,1,0] = Green blink 3Hz
61 - [0,1,1,1] = Red blink 6Hz
62 - [1,1,1,1] = Green blink 6Hz
64 Driver provides the following LEDs for the system "msn2100":
72 - mlxcpld:status:green
77 - CPLD reg offset: 0x20
81 - CPLD reg offset: 0x21
85 - CPLD reg offset: 0x23
89 - CPLD reg offset: 0x23
93 - CPLD reg offset: 0x24
96 Color mask for all the above LEDs, excepted uid:
98 [bit3,bit2,bit1,bit0] or
99 [bit7,bit6,bit5,bit4]:
101 - [0,0,0,0] = LED OFF
102 - [0,1,0,1] = Red static ON
103 - [1,1,0,1] = Green static ON
104 - [0,1,1,0] = Red blink 3Hz
105 - [1,1,1,0] = Green blink 3Hz
106 - [0,1,1,1] = Red blink 6Hz
107 - [1,1,1,1] = Green blink 6Hz
109 Color mask for uid LED:
110 [bit3,bit2,bit1,bit0]:
112 - [0,0,0,0] = LED OFF
113 - [1,1,0,1] = Blue static ON
114 - [1,1,1,0] = Blue blink 3Hz
115 - [1,1,1,1] = Blue blink 6Hz
117 Driver supports HW blinking at 3Hz and 6Hz frequency (50% duty cycle).
118 For 3Hz duty cylce is about 167 msec, for 6Hz is about 83 msec.