i2c-atr.yaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/i2c/i2c-atr.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Common i2c address translator properties
  7. maintainers:
  8. - Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
  9. description:
  10. An I2C Address Translator (ATR) is a device with an I2C slave parent
  11. ("upstream") port and N I2C master child ("downstream") ports, and
  12. forwards transactions from upstream to the appropriate downstream port
  13. with a modified slave address. The address used on the parent bus is
  14. called the "alias" and is (potentially) different from the physical
  15. slave address of the child bus. Address translation is done by the
  16. hardware.
  17. properties:
  18. i2c-alias-pool:
  19. $ref: /schemas/types.yaml#/definitions/uint32-array
  20. description:
  21. I2C alias pool is a pool of I2C addresses on the main I2C bus that can be
  22. used to access the remote peripherals on the serializer's I2C bus. The
  23. addresses must be available, not used by any other peripheral. Each
  24. remote peripheral is assigned an alias from the pool, and transactions to
  25. that address will be forwarded to the remote peripheral, with the address
  26. translated to the remote peripheral's real address. This property is not
  27. needed if there are no I2C addressable remote peripherals.
  28. additionalProperties: true
  29. ...