File tree Expand file tree Collapse file tree 5 files changed +19
-632
lines changed
device/celestica/x86_64-cel_seastone-r0
platform/broadcom/sonic-platform-modules-cel Expand file tree Collapse file tree 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"
3636 set in3_crit 13.0
3737 set in3_lcrit 11.0
3838
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 "
4242 set temp1_max 43
4343 set temp1_max_hyst 28
4444
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 "
4747 set temp1_max 43
4848 set temp1_max_hyst 28
4949
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"
5452 set temp1_max 43
5553 set temp1_max_hyst 28
5654
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 "
6058 set temp1_max 43
6159 set temp1_max_hyst 28
6260
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"
6663 set temp1_max 43
6764 set temp1_max_hyst 28
6865
Original file line number Diff line number Diff line change 2020 modprobe i2c-mux-pca954x
2121 modprobe dx010_wdt
2222 modprobe leds-dx010
23+ modprobe lm75
2324
2425 found=0
2526 for devnum in 0 1; do
@@ -56,11 +57,11 @@ start)
5657 echo 24lc64t 0x50 > /sys/bus/i2c/devices/i2c-12/new_device
5758
5859 # 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
6465
6566 # Attach fans
6667 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