File tree 5 files changed +19
-632
lines changed
device/celestica/x86_64-cel_seastone-r0
platform/broadcom/sonic-platform-modules-cel
5 files changed +19
-632
lines changed Original file line number Diff line number Diff line change @@ -36,33 +36,30 @@ chip "dps460-i2c-*-5b"
36
36
set in3_crit 13.0
37
37
set in3_lcrit 11.0
38
38
39
- # These sensors located on CPU Board.
40
- chip "dx010_lm75b -i2c-*-48"
41
- label temp1 "CPU_external temp sensor"
39
+ # These sensors located on Main Switch Board.
40
+ chip "lm75b -i2c-*-48"
41
+ label temp1 "Front-panel temp sensor 1 "
42
42
set temp1_max 43
43
43
set temp1_max_hyst 28
44
44
45
- chip "dx010_lm75b -i2c-*-4e "
46
- label temp1 "Rear_panel temp sensor"
45
+ chip "lm75b -i2c-*-49 "
46
+ label temp1 "Front-panel temp sensor 2 "
47
47
set temp1_max 43
48
48
set temp1_max_hyst 28
49
49
50
- # These sensors located on Main Switch Board.
51
- bus "i2c-5" "i2c-1-mux (chan_id 3)"
52
- chip "dx010_lm75b-i2c-5-48"
53
- label temp1 "Front_panel left temp sensor"
50
+ chip "lm75b-i2c-*-4a"
51
+ label temp1 "ASIC temp sensor"
54
52
set temp1_max 43
55
53
set temp1_max_hyst 28
56
54
57
- bus "i2c-6" "i2c-1-mux (chan_id 4)"
58
- chip "dx010_lm75b -i2c-6-49 "
59
- label temp1 "Front_panel right temp sensor"
55
+ # These sensors located on CPU Board.
56
+ chip "lm75b -i2c-*-48 "
57
+ label temp1 "Rear-panel temp sensor 1 "
60
58
set temp1_max 43
61
59
set temp1_max_hyst 28
62
60
63
- bus "i2c-7" "i2c-1-mux (chan_id 5)"
64
- chip "dx010_lm75b-i2c-7-4a"
65
- label temp1 "Switch_external temp sensor"
61
+ chip "lm75b-i2c-*-4e"
62
+ label temp1 "Rear-panel temp sensor 2"
66
63
set temp1_max 43
67
64
set temp1_max_hyst 28
68
65
Original file line number Diff line number Diff line change 20
20
modprobe i2c-mux-pca954x
21
21
modprobe dx010_wdt
22
22
modprobe leds-dx010
23
+ modprobe lm75
23
24
24
25
found=0
25
26
for devnum in 0 1; do
@@ -56,11 +57,11 @@ start)
56
57
echo 24lc64t 0x50 > /sys/bus/i2c/devices/i2c-12/new_device
57
58
58
59
# Attach temperature sensors
59
- echo dx010_lm75b 0x48 > /sys/bus/i2c/devices/i2c-5/new_device
60
- echo dx010_lm75b 0x49 > /sys/bus/i2c/devices/i2c-6/new_device
61
- echo dx010_lm75b 0x4a > /sys/bus/i2c/devices/i2c-7/new_device
62
- echo dx010_lm75b 0x48 > /sys/bus/i2c/devices/i2c-14/new_device
63
- echo dx010_lm75b 0x4e > /sys/bus/i2c/devices/i2c-15/new_device
60
+ echo lm75b 0x48 > /sys/bus/i2c/devices/i2c-5/new_device
61
+ echo lm75b 0x49 > /sys/bus/i2c/devices/i2c-6/new_device
62
+ echo lm75b 0x4a > /sys/bus/i2c/devices/i2c-7/new_device
63
+ echo lm75b 0x48 > /sys/bus/i2c/devices/i2c-14/new_device
64
+ echo lm75b 0x4e > /sys/bus/i2c/devices/i2c-15/new_device
64
65
65
66
# Attach fans
66
67
echo emc2305 0x2e > /sys/bus/i2c/devices/i2c-13/new_device
Original file line number Diff line number Diff line change 1
- obj-m := dx010_cpld.o mc24lc64t.o emc2305.o dx010_wdt.o leds-dx010.o lm75.o
2
- KVERSION = $(shell uname -r)
3
- all :
4
- make -C /lib/modules/$(KVERSION ) /build M=$(PWD ) modules
5
- clean :
6
- make -C /lib/modules/$(KVERSION ) /build M=$(PWD ) clean
1
+ obj-m := dx010_cpld.o mc24lc64t.o emc2305.o dx010_wdt.o leds-dx010.o
You can’t perform that action at this time.
0 commit comments