brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · 1939ab3 Raw
35 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/i2c/i2c-atr.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Common i2c address translator properties8 9maintainers:10  - Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>11 12description:13  An I2C Address Translator (ATR) is a device with an I2C slave parent14  ("upstream") port and N I2C master child ("downstream") ports, and15  forwards transactions from upstream to the appropriate downstream port16  with a modified slave address. The address used on the parent bus is17  called the "alias" and is (potentially) different from the physical18  slave address of the child bus. Address translation is done by the19  hardware.20 21properties:22  i2c-alias-pool:23    $ref: /schemas/types.yaml#/definitions/uint32-array24    description:25      I2C alias pool is a pool of I2C addresses on the main I2C bus that can be26      used to access the remote peripherals on the serializer's I2C bus. The27      addresses must be available, not used by any other peripheral. Each28      remote peripheral is assigned an alias from the pool, and transactions to29      that address will be forwarded to the remote peripheral, with the address30      translated to the remote peripheral's real address. This property is not31      needed if there are no I2C addressable remote peripherals.32 33additionalProperties: true34...35