1aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25956d97fSEmmanuel Vadot%YAML 1.2 35956d97fSEmmanuel Vadot--- 45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/ti,sci-clk.yaml# 55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65956d97fSEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: TI-SCI clock controller 85956d97fSEmmanuel Vadot 95956d97fSEmmanuel Vadotmaintainers: 105956d97fSEmmanuel Vadot - Nishanth Menon <nm@ti.com> 115956d97fSEmmanuel Vadot 125956d97fSEmmanuel Vadotdescription: | 135956d97fSEmmanuel Vadot Some TI SoCs contain a system controller (like the Power Management Micro 145956d97fSEmmanuel Vadot Controller (PMMC) on Keystone 66AK2G SoC) that are responsible for controlling 155956d97fSEmmanuel Vadot the state of the various hardware modules present on the SoC. Communication 165956d97fSEmmanuel Vadot between the host processor running an OS and the system controller happens 175956d97fSEmmanuel Vadot through a protocol called TI System Control Interface (TI-SCI protocol). 185956d97fSEmmanuel Vadot 195956d97fSEmmanuel Vadot This clock controller node uses the TI SCI protocol to perform various clock 205956d97fSEmmanuel Vadot management of various hardware modules (devices) present on the SoC. This 215956d97fSEmmanuel Vadot node must be a child node of the associated TI-SCI system controller node. 225956d97fSEmmanuel Vadot 235956d97fSEmmanuel Vadotproperties: 245956d97fSEmmanuel Vadot $nodename: 255956d97fSEmmanuel Vadot pattern: "^clock-controller$" 265956d97fSEmmanuel Vadot 275956d97fSEmmanuel Vadot compatible: 285956d97fSEmmanuel Vadot const: ti,k2g-sci-clk 295956d97fSEmmanuel Vadot 305956d97fSEmmanuel Vadot "#clock-cells": 315956d97fSEmmanuel Vadot const: 2 325956d97fSEmmanuel Vadot description: 335956d97fSEmmanuel Vadot The two cells represent values that the TI-SCI controller defines. 345956d97fSEmmanuel Vadot 355956d97fSEmmanuel Vadot The first cell should contain the device ID. 365956d97fSEmmanuel Vadot 375956d97fSEmmanuel Vadot The second cell should contain the clock ID. 385956d97fSEmmanuel Vadot 39*0e8011faSEmmanuel Vadot Please see https://software-dl.ti.com/tisci/esd/latest/index.html for 405956d97fSEmmanuel Vadot protocol documentation for the values to be used for different devices. 415956d97fSEmmanuel Vadot 425956d97fSEmmanuel VadotadditionalProperties: false 435956d97fSEmmanuel Vadot 445956d97fSEmmanuel Vadotexamples: 455956d97fSEmmanuel Vadot - | 465956d97fSEmmanuel Vadot k3_clks: clock-controller { 475956d97fSEmmanuel Vadot compatible = "ti,k2g-sci-clk"; 485956d97fSEmmanuel Vadot #clock-cells = <2>; 495956d97fSEmmanuel Vadot }; 50