18c2ecf20Sopenharmony_ciTexas Instruments TI-SCI Clocks 28c2ecf20Sopenharmony_ci=============================== 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciAll clocks on Texas Instruments' SoCs that contain a System Controller, 58c2ecf20Sopenharmony_ciare only controlled by this entity. Communication between a host processor 68c2ecf20Sopenharmony_cirunning an OS and the System Controller happens through a protocol known 78c2ecf20Sopenharmony_cias TI-SCI[1]. This clock implementation plugs into the common clock 88c2ecf20Sopenharmony_ciframework and makes use of the TI-SCI protocol on clock API requests. 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci[1] Documentation/devicetree/bindings/arm/keystone/ti,sci.txt 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciRequired properties: 138c2ecf20Sopenharmony_ci------------------- 148c2ecf20Sopenharmony_ci- compatible: Must be "ti,k2g-sci-clk" 158c2ecf20Sopenharmony_ci- #clock-cells: Shall be 2. 168c2ecf20Sopenharmony_ci In clock consumers, this cell represents the device ID and clock ID 178c2ecf20Sopenharmony_ci exposed by the PM firmware. The list of valid values for the device IDs 188c2ecf20Sopenharmony_ci and clocks IDs for 66AK2G SoC are documented at 198c2ecf20Sopenharmony_ci http://processors.wiki.ti.com/index.php/TISCI#66AK2G02_Data 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciExamples: 228c2ecf20Sopenharmony_ci-------- 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_cipmmc: pmmc { 258c2ecf20Sopenharmony_ci compatible = "ti,k2g-sci"; 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci k2g_clks: clocks { 288c2ecf20Sopenharmony_ci compatible = "ti,k2g-sci-clk"; 298c2ecf20Sopenharmony_ci #clock-cells = <2>; 308c2ecf20Sopenharmony_ci }; 318c2ecf20Sopenharmony_ci}; 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ciuart0: serial@2530c00 { 348c2ecf20Sopenharmony_ci compatible = "ns16550a"; 358c2ecf20Sopenharmony_ci clocks = <&k2g_clks 0x2c 0>; 368c2ecf20Sopenharmony_ci}; 37