entity-manager icon indicating copy to clipboard operation
entity-manager copied to clipboard

How to describe i2c switch in json file

Open znning opened this issue 2 years ago • 1 comments

How to describe below i2c topology in json file?

i2c-0------- |--------------------|
             | PCA9548         ch0|----emc1413
             |                 ch1|----ina219
reset_pin----|--------------------|

znning avatar Mar 29 '23 02:03 znning

Need to configure Mux in kernel device tree and then you can use corresponded bus number and slave address in json file I guess.

Below is the reference for to configure Mux in DT.

https://github.com/openbmc/linux/blob/dev-6.1/arch/arm/boot/dts/aspeed-bmc-facebook-fuji.dts

edineshkumar avatar May 09 '23 09:05 edineshkumar