1*7d0873ebSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*7d0873ebSEmmanuel Vadot%YAML 1.2 3*7d0873ebSEmmanuel Vadot--- 4*7d0873ebSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/samsung,s3c6400-clock.yaml# 5*7d0873ebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*7d0873ebSEmmanuel Vadot 7*7d0873ebSEmmanuel Vadottitle: Samsung S3C6400 SoC clock controller 8*7d0873ebSEmmanuel Vadot 9*7d0873ebSEmmanuel Vadotmaintainers: 10*7d0873ebSEmmanuel Vadot - Krzysztof Kozlowski <krzk@kernel.org> 11*7d0873ebSEmmanuel Vadot 12*7d0873ebSEmmanuel Vadotdescription: | 13*7d0873ebSEmmanuel Vadot There are several clocks that are generated outside the SoC. It is expected 14*7d0873ebSEmmanuel Vadot that they are defined using standard clock bindings with following 15*7d0873ebSEmmanuel Vadot clock-output-names and/or provided as clock inputs to this clock controller: 16*7d0873ebSEmmanuel Vadot - "fin_pll" - PLL input clock (xtal/extclk) - required, 17*7d0873ebSEmmanuel Vadot - "xusbxti" - USB xtal - required, 18*7d0873ebSEmmanuel Vadot - "iiscdclk0" - I2S0 codec clock - optional, 19*7d0873ebSEmmanuel Vadot - "iiscdclk1" - I2S1 codec clock - optional, 20*7d0873ebSEmmanuel Vadot - "iiscdclk2" - I2S2 codec clock - optional, 21*7d0873ebSEmmanuel Vadot - "pcmcdclk0" - PCM0 codec clock - optional, 22*7d0873ebSEmmanuel Vadot - "pcmcdclk1" - PCM1 codec clock - optional, only S3C6410. 23*7d0873ebSEmmanuel Vadot 24*7d0873ebSEmmanuel Vadot All available clocks are defined as preprocessor macros in 25*7d0873ebSEmmanuel Vadot include/dt-bindings/clock/samsung,s3c64xx-clock.h header. 26*7d0873ebSEmmanuel Vadot 27*7d0873ebSEmmanuel Vadotproperties: 28*7d0873ebSEmmanuel Vadot compatible: 29*7d0873ebSEmmanuel Vadot enum: 30*7d0873ebSEmmanuel Vadot - samsung,s3c6400-clock 31*7d0873ebSEmmanuel Vadot - samsung,s3c6410-clock 32*7d0873ebSEmmanuel Vadot 33*7d0873ebSEmmanuel Vadot reg: 34*7d0873ebSEmmanuel Vadot maxItems: 1 35*7d0873ebSEmmanuel Vadot 36*7d0873ebSEmmanuel Vadot clocks: 37*7d0873ebSEmmanuel Vadot maxItems: 1 38*7d0873ebSEmmanuel Vadot 39*7d0873ebSEmmanuel Vadot "#clock-cells": 40*7d0873ebSEmmanuel Vadot const: 1 41*7d0873ebSEmmanuel Vadot 42*7d0873ebSEmmanuel Vadotrequired: 43*7d0873ebSEmmanuel Vadot - compatible 44*7d0873ebSEmmanuel Vadot - reg 45*7d0873ebSEmmanuel Vadot - clocks 46*7d0873ebSEmmanuel Vadot - "#clock-cells" 47*7d0873ebSEmmanuel Vadot 48*7d0873ebSEmmanuel VadotadditionalProperties: false 49*7d0873ebSEmmanuel Vadot 50*7d0873ebSEmmanuel Vadotexamples: 51*7d0873ebSEmmanuel Vadot - | 52*7d0873ebSEmmanuel Vadot clock-controller@7e00f000 { 53*7d0873ebSEmmanuel Vadot compatible = "samsung,s3c6410-clock"; 54*7d0873ebSEmmanuel Vadot reg = <0x7e00f000 0x1000>; 55*7d0873ebSEmmanuel Vadot #clock-cells = <1>; 56*7d0873ebSEmmanuel Vadot clocks = <&fin_pll>; 57*7d0873ebSEmmanuel Vadot }; 58