i2c-arb.txt 612 B

123456789101112131415161718192021222324252627282930313233343536
  1. Common i2c arbitration bus properties.
  2. - i2c-arb child node
  3. Required properties for the i2c-arb child node:
  4. - #address-cells = <1>;
  5. - #size-cells = <0>;
  6. Optional properties for i2c-arb child node:
  7. - Child nodes conforming to i2c bus binding
  8. Example :
  9. /*
  10. An NXP pca9541 I2C bus master selector at address 0x74
  11. with a NXP pca8574 GPIO expander attached.
  12. */
  13. arb@74 {
  14. compatible = "nxp,pca9541";
  15. reg = <0x74>;
  16. i2c-arb {
  17. #address-cells = <1>;
  18. #size-cells = <0>;
  19. gpio@38 {
  20. compatible = "nxp,pca8574";
  21. reg = <0x38>;
  22. #gpio-cells = <2>;
  23. gpio-controller;
  24. };
  25. };
  26. };