From 1fd942da839dfd3565f3af1d7d2468ee8002fcde Mon Sep 17 00:00:00 2001 From: Oleksandr Shamray Date: Thu, 22 Feb 2024 17:59:31 +0200 Subject: [PATCH] hw-mgmt: infra: Update p4300 i2c map MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- usr/usr/bin/hw-management-devtree.sh | 20 ++++++++++---------- usr/usr/bin/hw-management.sh | 1 - 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/usr/usr/bin/hw-management-devtree.sh b/usr/usr/bin/hw-management-devtree.sh index 94381caf8..e29e24b12 100755 --- a/usr/usr/bin/hw-management-devtree.sh +++ b/usr/usr/bin/hw-management-devtree.sh @@ -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" \ diff --git a/usr/usr/bin/hw-management.sh b/usr/usr/bin/hw-management.sh index 18c528e0b..927c3bbab 100755 --- a/usr/usr/bin/hw-management.sh +++ b/usr/usr/bin/hw-management.sh @@ -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 \