Skip to content

Commit

Permalink
hw-mgmt: infra: Update p4300 i2c map
Browse files Browse the repository at this point in the history
Update p4300 i2c map:
1. Сhange of I2C Addresses for Temp sensors and removal of one sensor (0x48)
2. Add FIO FRU EEPROM (0x56)

Signed-off-by: Oleksandr Shamray <[email protected]>
  • Loading branch information
sholeksandr committed Feb 23, 2024
1 parent b7d032d commit 1fd942d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
20 changes: 10 additions & 10 deletions usr/usr/bin/hw-management-devtree.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,17 +202,17 @@ declare -A p4262_alternatives=(["tmp75_0"]="tmp75 0x48 7 port_temp1" \
["24c512_0"]="24c512 0x51 8 vpd_info" \
["24c512_1"]="24c512 0x52 8 ipmi_eeprom")

# TBD version: V0-C*A0RaEi-S*TcTcTcTcTcTcTcTcA0EiEi-P*HaEaEa
declare -A p4300_alternatives=( ["adt75_0"]="adt75 0x48 7 fiol_amb" \
["adt75_1"]="adt75 0x49 7 bpl_amb" \
["adt75_2"]="adt75 0x4a 7 fiom_amb" \
["adt75_3"]="adt75 0x4b 7 bpm_amb" \
["adt75_4"]="adt75 0x4c 7 fiob_amb" \
["adt75_5"]="adt75 0x4d 7 bpb_amb" \
["adt75_6"]="adt75 0x4e 7 fior_amb" \
["adt75_7"]="adt75 0x4f 7 bpr_amb" \
# TBD version: V0-C*A0RaEi-S*TcTcTcTcTcTcTcA0EiEiEi-P*HaEaEa
declare -A p4300_alternatives=( ["adt75_0"]="adt75 0x49 7 bpl_amb" \
["adt75_1"]="adt75 0x4a 7 fiom_amb" \
["adt75_2"]="adt75 0x4b 7 bpm_amb" \
["adt75_3"]="adt75 0x4c 7 fiol_amb" \
["adt75_4"]="adt75 0x4d 7 bpb_amb" \
["adt75_5"]="adt75 0x4e 7 fior_amb" \
["adt75_6"]="adt75 0x4f 7 bpr_amb" \
["24c512_0"]="24c512 0x51 8 vpd_info"\
["24c512_1"]="24c512 0x54 8 ipmi_eeprom")
["24c512_1"]="24c512 0x54 8 ipmi_eeprom" \
["24c512_2"]="24c512 0x56 6 fio_info")

declare -A qm3000_alternatives=( \
["mp2891_0"]="mp2891 0x66 5 voltmon1" \
Expand Down
1 change: 0 additions & 1 deletion usr/usr/bin/hw-management.sh
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,6 @@ qm3000_base_connect_table=( \
# Just for possible initial step without SMBios alternative BOM string
p4300_base_connect_table=( \
lm5066 0x40 4 \
adt75 0x48 7 \
adt75 0x49 7 \
adt75 0x4a 7 \
adt75 0x4b 7 \
Expand Down

0 comments on commit 1fd942d

Please sign in to comment.