162306a36Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
262306a36Sopenharmony_ci%YAML 1.2
362306a36Sopenharmony_ci---
462306a36Sopenharmony_ci$id: http://devicetree.org/schemas/i2c/nvidia,tegra186-bpmp-i2c.yaml#
562306a36Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
662306a36Sopenharmony_ci
762306a36Sopenharmony_cititle: NVIDIA Tegra186 (and later) BPMP I2C controller
862306a36Sopenharmony_ci
962306a36Sopenharmony_cimaintainers:
1062306a36Sopenharmony_ci  - Thierry Reding <thierry.reding@gmail.com>
1162306a36Sopenharmony_ci  - Jon Hunter <jonathanh@nvidia.com>
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_cidescription: |
1462306a36Sopenharmony_ci  In Tegra186 and later, the BPMP (Boot and Power Management Processor)
1562306a36Sopenharmony_ci  owns certain HW devices, such as the I2C controller for the power
1662306a36Sopenharmony_ci  management I2C bus. Software running on other CPUs must perform IPC to
1762306a36Sopenharmony_ci  the BPMP in order to execute transactions on that I2C bus. This
1862306a36Sopenharmony_ci  binding describes an I2C bus that is accessed in such a fashion.
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci  The BPMP I2C node must be located directly inside the main BPMP node.
2162306a36Sopenharmony_ci  See ../firmware/nvidia,tegra186-bpmp.yaml for details of the BPMP
2262306a36Sopenharmony_ci  binding.
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci  This node represents an I2C controller. See ../i2c/i2c.txt for details
2562306a36Sopenharmony_ci  of the core I2C binding.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciproperties:
2862306a36Sopenharmony_ci  compatible:
2962306a36Sopenharmony_ci    const: nvidia,tegra186-bpmp-i2c
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci  nvidia,bpmp-bus-id:
3262306a36Sopenharmony_ci    $ref: /schemas/types.yaml#/definitions/uint32
3362306a36Sopenharmony_ci    description: Indicates the I2C bus number this DT node represents,
3462306a36Sopenharmony_ci      as defined by the BPMP firmware.
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ciallOf:
3762306a36Sopenharmony_ci  - $ref: /schemas/i2c/i2c-controller.yaml
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciunevaluatedProperties: false
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_cirequired:
4262306a36Sopenharmony_ci  - compatible
4362306a36Sopenharmony_ci  - "#address-cells"
4462306a36Sopenharmony_ci  - "#size-cells"
4562306a36Sopenharmony_ci  - nvidia,bpmp-bus-id
46