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/arm/keystone/ti,k3-sci-common.yaml#
562306a36Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
662306a36Sopenharmony_ci
762306a36Sopenharmony_cititle: Common K3 TI-SCI
862306a36Sopenharmony_ci
962306a36Sopenharmony_cimaintainers:
1062306a36Sopenharmony_ci  - Nishanth Menon <nm@ti.com>
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_cidescription: |
1362306a36Sopenharmony_ci  The TI K3 family of SoCs usually have a central System Controller Processor
1462306a36Sopenharmony_ci  that is responsible for managing various SoC-level resources like clocks,
1562306a36Sopenharmony_ci  resets, interrupts etc. The communication with that processor is performed
1662306a36Sopenharmony_ci  through the TI-SCI protocol.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci  Each specific device management node like a clock controller node, a reset
1962306a36Sopenharmony_ci  controller node or an interrupt-controller node should define a common set
2062306a36Sopenharmony_ci  of properties that enables them to implement the corresponding functionality
2162306a36Sopenharmony_ci  over the TI-SCI protocol. The following are some of the common properties
2262306a36Sopenharmony_ci  needed by such individual nodes. The required properties for each device
2362306a36Sopenharmony_ci  management node is defined in the respective binding.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciproperties:
2662306a36Sopenharmony_ci  ti,sci:
2762306a36Sopenharmony_ci    $ref: /schemas/types.yaml#/definitions/phandle
2862306a36Sopenharmony_ci    description:
2962306a36Sopenharmony_ci      Should be a phandle to the TI-SCI System Controller node
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci  ti,sci-dev-id:
3262306a36Sopenharmony_ci    $ref: /schemas/types.yaml#/definitions/uint32
3362306a36Sopenharmony_ci    description: |
3462306a36Sopenharmony_ci      Should contain the TI-SCI device id corresponding to the device. Please
3562306a36Sopenharmony_ci      refer to the corresponding System Controller documentation for valid
3662306a36Sopenharmony_ci      values for the desired device.
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci  ti,sci-proc-ids:
3962306a36Sopenharmony_ci    description: Should contain a single tuple of <proc_id host_id>.
4062306a36Sopenharmony_ci    $ref: /schemas/types.yaml#/definitions/uint32-array
4162306a36Sopenharmony_ci    items:
4262306a36Sopenharmony_ci      - description: TI-SCI processor id for the remote processor device
4362306a36Sopenharmony_ci      - description: TI-SCI host id to which processor control ownership
4462306a36Sopenharmony_ci                     should be transferred to
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ciadditionalProperties: true
47