i2c-mux-pca954x.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. * NXP PCA954x I2C bus switch
  2. Required Properties:
  3. - compatible: Must contain one of the following.
  4. "nxp,pca9540", "nxp,pca9542", "nxp,pca9543", "nxp,pca9544",
  5. "nxp,pca9545", "nxp,pca9546", "nxp,pca9547", "nxp,pca9548"
  6. - reg: The I2C address of the device.
  7. The following required properties are defined externally:
  8. - Standard I2C mux properties. See i2c-mux.txt in this directory.
  9. - I2C child bus nodes. See i2c-mux.txt in this directory.
  10. Optional Properties:
  11. - reset-gpios: Reference to the GPIO connected to the reset input.
  12. - i2c-mux-idle-disconnect: Boolean; if defined, forces mux to disconnect all
  13. children in idle state. This is necessary for example, if there are several
  14. multiplexers on the bus and the devices behind them use same I2C addresses.
  15. Example:
  16. i2c-switch@74 {
  17. compatible = "nxp,pca9548";
  18. #address-cells = <1>;
  19. #size-cells = <0>;
  20. reg = <0x74>;
  21. i2c@2 {
  22. #address-cells = <1>;
  23. #size-cells = <0>;
  24. reg = <2>;
  25. eeprom@54 {
  26. compatible = "at,24c08";
  27. reg = <0x54>;
  28. };
  29. };
  30. i2c@4 {
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. reg = <4>;
  34. rtc@51 {
  35. compatible = "nxp,pcf8563";
  36. reg = <0x51>;
  37. };
  38. };
  39. };