Commit f8cf4207 authored by Lucas Russo's avatar Lucas Russo

src/boards/afc*/*: fix ISLA126P SS

The specified address is a one-hot encoded.
So, for each ADC, only 1 bit must be set
in the order required by that specific ADC.
parent 06c4ba07
......@@ -32,8 +32,8 @@ const uint32_t fmc250m_4ch_24aa64_addr[NUM_FMC250M_4CH_SMIOS] = {0x50, 0x50};
const uint32_t fmc250m_4ch_amc7823_addr[NUM_FMC250M_4CH_SMIOS] = {0x01, 0x01};
const uint32_t fmc250m_4ch_isla216p_addr[NUM_FMC250M_4CH_SMIOS][NUM_FMC250M_4CH_ISLA216P] = {
{0x01, 0x02, 0x03, 0x04},
{0x01, 0x02, 0x03, 0x04},
{0x01, 0x02, 0x04, 0x08},
{0x01, 0x02, 0x04, 0x08},
};
/* This CI PCA9547 is located on the carrier, but it's controlled by the FMC250M_4CH */
const uint32_t fmc250m_4ch_pca9547_addr[NUM_FMC250M_4CH_SMIOS] = {0x70, 0x70};
......
......@@ -29,8 +29,8 @@ const uint32_t fmc250m_4ch_24aa64_addr[NUM_FMC250M_4CH_SMIOS] = {0x50, 0x52};
const uint32_t fmc250m_4ch_amc7823_addr[NUM_FMC250M_4CH_SMIOS] = {0x01, 0x01};
const uint32_t fmc250m_4ch_isla216p_addr[NUM_FMC250M_4CH_SMIOS][NUM_FMC250M_4CH_ISLA216P] = {
{0x01, 0x02, 0x03, 0x04},
{0x01, 0x02, 0x03, 0x04},
{0x01, 0x02, 0x04, 0x08},
{0x01, 0x02, 0x04, 0x08},
};
/* This CI PCA9547 is located on the carrier, but it's controlled by the FMC250M_4CH */
const uint32_t fmc250m_4ch_pca9547_addr[NUM_FMC250M_4CH_SMIOS] = {0x70, 0x70};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment