File tree Expand file tree Collapse file tree 5 files changed +12
-622
lines changed
device/celestica/x86_64-cel_seastone-r0
platform/broadcom/sonic-platform-modules-cel Expand file tree Collapse file tree 5 files changed +12
-622
lines changed Original file line number Diff line number Diff line change @@ -37,28 +37,28 @@ chip "dps460-i2c-*-5b"
37
37
set in3_lcrit 11.0
38
38
39
39
# These sensors located on Main Switch Board.
40
- chip "dx010_lm75b -i2c-*-48"
40
+ chip "lm75b -i2c-*-48"
41
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-*-49"
45
+ chip "lm75b -i2c-*-49"
46
46
label temp1 "Front-panel temp sensor 2"
47
47
set temp1_max 43
48
48
set temp1_max_hyst 28
49
49
50
- chip "dx010_lm75b -i2c-*-4a"
50
+ chip "lm75b -i2c-*-4a"
51
51
label temp1 "ASIC temp sensor"
52
52
set temp1_max 43
53
53
set temp1_max_hyst 28
54
54
55
55
# These sensors located on CPU Board.
56
- chip "dx010_lm75b -i2c-*-48"
56
+ chip "lm75b -i2c-*-48"
57
57
label temp1 "Rear-panel temp sensor 1"
58
58
set temp1_max 43
59
59
set temp1_max_hyst 28
60
60
61
- chip "dx010_lm75b -i2c-*-4e"
61
+ chip "lm75b -i2c-*-4e"
62
62
label temp1 "Rear-panel temp sensor 2"
63
63
set temp1_max 43
64
64
set temp1_max_hyst 28
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