18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
28c2ecf20Sopenharmony_ci%YAML 1.2
38c2ecf20Sopenharmony_ci---
48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/arm/keystone/ti,k3-sci-common.yaml#
58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_cititle: Common K3 TI-SCI bindings
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cimaintainers:
108c2ecf20Sopenharmony_ci  - Nishanth Menon <nm@ti.com>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_cidescription: |
138c2ecf20Sopenharmony_ci  The TI K3 family of SoCs usually have a central System Controller Processor
148c2ecf20Sopenharmony_ci  that is responsible for managing various SoC-level resources like clocks,
158c2ecf20Sopenharmony_ci  resets, interrupts etc. The communication with that processor is performed
168c2ecf20Sopenharmony_ci  through the TI-SCI protocol.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci  Each specific device management node like a clock controller node, a reset
198c2ecf20Sopenharmony_ci  controller node or an interrupt-controller node should define a common set
208c2ecf20Sopenharmony_ci  of properties that enables them to implement the corresponding functionality
218c2ecf20Sopenharmony_ci  over the TI-SCI protocol. The following are some of the common properties
228c2ecf20Sopenharmony_ci  needed by such individual nodes. The required properties for each device
238c2ecf20Sopenharmony_ci  management node is defined in the respective binding.
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciproperties:
268c2ecf20Sopenharmony_ci  ti,sci:
278c2ecf20Sopenharmony_ci    $ref: /schemas/types.yaml#/definitions/phandle
288c2ecf20Sopenharmony_ci    description:
298c2ecf20Sopenharmony_ci      Should be a phandle to the TI-SCI System Controller node
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci  ti,sci-dev-id:
328c2ecf20Sopenharmony_ci    $ref: /schemas/types.yaml#/definitions/uint32
338c2ecf20Sopenharmony_ci    description: |
348c2ecf20Sopenharmony_ci      Should contain the TI-SCI device id corresponding to the device. Please
358c2ecf20Sopenharmony_ci      refer to the corresponding System Controller documentation for valid
368c2ecf20Sopenharmony_ci      values for the desired device.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ci  ti,sci-proc-ids:
398c2ecf20Sopenharmony_ci    description: Should contain a single tuple of <proc_id host_id>.
408c2ecf20Sopenharmony_ci    $ref: /schemas/types.yaml#/definitions/uint32-array
418c2ecf20Sopenharmony_ci    items:
428c2ecf20Sopenharmony_ci      - description: TI-SCI processor id for the remote processor device
438c2ecf20Sopenharmony_ci      - description: TI-SCI host id to which processor control ownership
448c2ecf20Sopenharmony_ci                     should be transferred to
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ciadditionalProperties: true
47