# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/clock-nexus-node.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Clock Nexus

description: >
  A nexus node allows to remap a clock specifier list in a consumer node
  through a container or a connector node in a generic way. With this
  remapping, the consumer node needs to know only about the nexus
  node. Resources behind the nexus node are decoupled by the nexus node
  itself.

maintainers:
  - Miquel Raynal <miquel.raynal@bootlin.com>

select: true

properties:
  clock-map:
    $ref: /schemas/types.yaml#/definitions/uint32-matrix

dependentRequired:
  clock-map: ['#clock-cells']

additionalProperties: true

# See the original pwm-nexus-node.yaml description for examples