119 lines · plain
1=======================================2Kernel driver for Mellanox systems LEDs3=======================================4 5Provide system LED support for the nex Mellanox systems:6"msx6710", "msx6720", "msb7700", "msn2700", "msx1410",7"msn2410", "msb7800", "msn2740", "msn2100".8 9Description10-----------11Driver provides the following LEDs for the systems "msx6710", "msx6720",12"msb7700", "msn2700", "msx1410", "msn2410", "msb7800", "msn2740":13 14 - mlxcpld:fan1:green15 - mlxcpld:fan1:red16 - mlxcpld:fan2:green17 - mlxcpld:fan2:red18 - mlxcpld:fan3:green19 - mlxcpld:fan3:red20 - mlxcpld:fan4:green21 - mlxcpld:fan4:red22 - mlxcpld:psu:green23 - mlxcpld:psu:red24 - mlxcpld:status:green25 - mlxcpld:status:red26 27 "status"28 - CPLD reg offset: 0x2029 - Bits [3:0]30 31 "psu"32 - CPLD reg offset: 0x2033 - Bits [7:4]34 35 "fan1"36 - CPLD reg offset: 0x2137 - Bits [3:0]38 39 "fan2"40 - CPLD reg offset: 0x2141 - Bits [7:4]42 43 "fan3"44 - CPLD reg offset: 0x2245 - Bits [3:0]46 47 "fan4"48 - CPLD reg offset: 0x2249 - Bits [7:4]50 51 Color mask for all the above LEDs:52 53 [bit3,bit2,bit1,bit0] or54 [bit7,bit6,bit5,bit4]:55 56 - [0,0,0,0] = LED OFF57 - [0,1,0,1] = Red static ON58 - [1,1,0,1] = Green static ON59 - [0,1,1,0] = Red blink 3Hz60 - [1,1,1,0] = Green blink 3Hz61 - [0,1,1,1] = Red blink 6Hz62 - [1,1,1,1] = Green blink 6Hz63 64Driver provides the following LEDs for the system "msn2100":65 66 - mlxcpld:fan:green67 - mlxcpld:fan:red68 - mlxcpld:psu1:green69 - mlxcpld:psu1:red70 - mlxcpld:psu2:green71 - mlxcpld:psu2:red72 - mlxcpld:status:green73 - mlxcpld:status:red74 - mlxcpld:uid:blue75 76 "status"77 - CPLD reg offset: 0x2078 - Bits [3:0]79 80 "fan"81 - CPLD reg offset: 0x2182 - Bits [3:0]83 84 "psu1"85 - CPLD reg offset: 0x2386 - Bits [3:0]87 88 "psu2"89 - CPLD reg offset: 0x2390 - Bits [7:4]91 92 "uid"93 - CPLD reg offset: 0x2494 - Bits [3:0]95 96 Color mask for all the above LEDs, excepted uid:97 98 [bit3,bit2,bit1,bit0] or99 [bit7,bit6,bit5,bit4]:100 101 - [0,0,0,0] = LED OFF102 - [0,1,0,1] = Red static ON103 - [1,1,0,1] = Green static ON104 - [0,1,1,0] = Red blink 3Hz105 - [1,1,1,0] = Green blink 3Hz106 - [0,1,1,1] = Red blink 6Hz107 - [1,1,1,1] = Green blink 6Hz108 109 Color mask for uid LED:110 [bit3,bit2,bit1,bit0]:111 112 - [0,0,0,0] = LED OFF113 - [1,1,0,1] = Blue static ON114 - [1,1,1,0] = Blue blink 3Hz115 - [1,1,1,1] = Blue blink 6Hz116 117Driver supports HW blinking at 3Hz and 6Hz frequency (50% duty cycle).118For 3Hz duty cycle is about 167 msec, for 6Hz is about 83 msec.119