1*cc190b1fSKrzysztof Kozlowski# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*cc190b1fSKrzysztof Kozlowski%YAML 1.2 3*cc190b1fSKrzysztof Kozlowski--- 4*cc190b1fSKrzysztof Kozlowski$id: http://devicetree.org/schemas/clock/samsung,exynos5410-clock.yaml# 5*cc190b1fSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml# 6*cc190b1fSKrzysztof Kozlowski 7*cc190b1fSKrzysztof Kozlowskititle: Samsung Exynos5410 SoC clock controller 8*cc190b1fSKrzysztof Kozlowski 9*cc190b1fSKrzysztof Kozlowskimaintainers: 10*cc190b1fSKrzysztof Kozlowski - Chanwoo Choi <cw00.choi@samsung.com> 11*cc190b1fSKrzysztof Kozlowski - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> 12*cc190b1fSKrzysztof Kozlowski - Sylwester Nawrocki <s.nawrocki@samsung.com> 13*cc190b1fSKrzysztof Kozlowski - Tomasz Figa <tomasz.figa@gmail.com> 14*cc190b1fSKrzysztof Kozlowski 15*cc190b1fSKrzysztof Kozlowskidescription: | 16*cc190b1fSKrzysztof Kozlowski Expected external clocks, defined in DTS as fixed-rate clocks with a matching 17*cc190b1fSKrzysztof Kozlowski name:: 18*cc190b1fSKrzysztof Kozlowski - "fin_pll" - PLL input clock from XXTI 19*cc190b1fSKrzysztof Kozlowski 20*cc190b1fSKrzysztof Kozlowski All available clocks are defined as preprocessor macros in 21*cc190b1fSKrzysztof Kozlowski include/dt-bindings/clock/exynos5410.h header. 22*cc190b1fSKrzysztof Kozlowski 23*cc190b1fSKrzysztof Kozlowskiproperties: 24*cc190b1fSKrzysztof Kozlowski compatible: 25*cc190b1fSKrzysztof Kozlowski oneOf: 26*cc190b1fSKrzysztof Kozlowski - enum: 27*cc190b1fSKrzysztof Kozlowski - samsung,exynos5410-clock 28*cc190b1fSKrzysztof Kozlowski 29*cc190b1fSKrzysztof Kozlowski clocks: 30*cc190b1fSKrzysztof Kozlowski description: 31*cc190b1fSKrzysztof Kozlowski Should contain an entry specifying the root clock from external 32*cc190b1fSKrzysztof Kozlowski oscillator supplied through XXTI or XusbXTI pin. This clock should be 33*cc190b1fSKrzysztof Kozlowski defined using standard clock bindings with "fin_pll" clock-output-name. 34*cc190b1fSKrzysztof Kozlowski That clock is being passed internally to the 9 PLLs. 35*cc190b1fSKrzysztof Kozlowski maxItems: 1 36*cc190b1fSKrzysztof Kozlowski 37*cc190b1fSKrzysztof Kozlowski "#clock-cells": 38*cc190b1fSKrzysztof Kozlowski const: 1 39*cc190b1fSKrzysztof Kozlowski 40*cc190b1fSKrzysztof Kozlowski reg: 41*cc190b1fSKrzysztof Kozlowski maxItems: 1 42*cc190b1fSKrzysztof Kozlowski 43*cc190b1fSKrzysztof Kozlowskirequired: 44*cc190b1fSKrzysztof Kozlowski - compatible 45*cc190b1fSKrzysztof Kozlowski - "#clock-cells" 46*cc190b1fSKrzysztof Kozlowski - reg 47*cc190b1fSKrzysztof Kozlowski 48*cc190b1fSKrzysztof KozlowskiadditionalProperties: false 49*cc190b1fSKrzysztof Kozlowski 50*cc190b1fSKrzysztof Kozlowskiexamples: 51*cc190b1fSKrzysztof Kozlowski - | 52*cc190b1fSKrzysztof Kozlowski #include <dt-bindings/clock/exynos5410.h> 53*cc190b1fSKrzysztof Kozlowski 54*cc190b1fSKrzysztof Kozlowski fin_pll: osc-clock { 55*cc190b1fSKrzysztof Kozlowski compatible = "fixed-clock"; 56*cc190b1fSKrzysztof Kozlowski clock-frequency = <24000000>; 57*cc190b1fSKrzysztof Kozlowski clock-output-names = "fin_pll"; 58*cc190b1fSKrzysztof Kozlowski #clock-cells = <0>; 59*cc190b1fSKrzysztof Kozlowski }; 60*cc190b1fSKrzysztof Kozlowski 61*cc190b1fSKrzysztof Kozlowski clock-controller@10010000 { 62*cc190b1fSKrzysztof Kozlowski compatible = "samsung,exynos5410-clock"; 63*cc190b1fSKrzysztof Kozlowski reg = <0x10010000 0x30000>; 64*cc190b1fSKrzysztof Kozlowski #clock-cells = <1>; 65*cc190b1fSKrzysztof Kozlowski clocks = <&fin_pll>; 66*cc190b1fSKrzysztof Kozlowski }; 67