1653c3d33SKrzysztof Kozlowski# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2653c3d33SKrzysztof Kozlowski%YAML 1.2 3653c3d33SKrzysztof Kozlowski--- 4653c3d33SKrzysztof Kozlowski$id: http://devicetree.org/schemas/clock/samsung,s5pv210-clock.yaml# 5653c3d33SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml# 6653c3d33SKrzysztof Kozlowski 7653c3d33SKrzysztof Kozlowskititle: Samsung S5P6442/S5PC110/S5PV210 SoC clock controller 8653c3d33SKrzysztof Kozlowski 9653c3d33SKrzysztof Kozlowskimaintainers: 10653c3d33SKrzysztof Kozlowski - Chanwoo Choi <cw00.choi@samsung.com> 11*8a1e6bb3SKrzysztof Kozlowski - Krzysztof Kozlowski <krzk@kernel.org> 12653c3d33SKrzysztof Kozlowski - Sylwester Nawrocki <s.nawrocki@samsung.com> 13653c3d33SKrzysztof Kozlowski - Tomasz Figa <tomasz.figa@gmail.com> 14653c3d33SKrzysztof Kozlowski 15653c3d33SKrzysztof Kozlowskidescription: | 16653c3d33SKrzysztof Kozlowski Expected external clocks, defined in DTS as fixed-rate clocks with a matching 17653c3d33SKrzysztof Kozlowski name:: 18653c3d33SKrzysztof Kozlowski - "xxti" - external crystal oscillator connected to XXTI and XXTO pins of 19653c3d33SKrzysztof Kozlowski the SoC, 20653c3d33SKrzysztof Kozlowski - "xusbxti" - external crystal oscillator connected to XUSBXTI and XUSBXTO 21653c3d33SKrzysztof Kozlowski pins of the SoC, 22653c3d33SKrzysztof Kozlowski 23653c3d33SKrzysztof Kozlowski All available clocks are defined as preprocessor macros in 24653c3d33SKrzysztof Kozlowski include/dt-bindings/clock/s5pv210.h header. 25653c3d33SKrzysztof Kozlowski 26653c3d33SKrzysztof Kozlowskiproperties: 27653c3d33SKrzysztof Kozlowski compatible: 28653c3d33SKrzysztof Kozlowski enum: 29653c3d33SKrzysztof Kozlowski - samsung,s5pv210-clock 30653c3d33SKrzysztof Kozlowski - samsung,s5p6442-clock 31653c3d33SKrzysztof Kozlowski 32653c3d33SKrzysztof Kozlowski clocks: 33653c3d33SKrzysztof Kozlowski items: 34653c3d33SKrzysztof Kozlowski - description: xxti clock 35653c3d33SKrzysztof Kozlowski - description: xusbxti clock 36653c3d33SKrzysztof Kozlowski 37653c3d33SKrzysztof Kozlowski clock-names: 38653c3d33SKrzysztof Kozlowski items: 39653c3d33SKrzysztof Kozlowski - const: xxti 40653c3d33SKrzysztof Kozlowski - const: xusbxti 41653c3d33SKrzysztof Kozlowski 42653c3d33SKrzysztof Kozlowski "#clock-cells": 43653c3d33SKrzysztof Kozlowski const: 1 44653c3d33SKrzysztof Kozlowski 45653c3d33SKrzysztof Kozlowski reg: 46653c3d33SKrzysztof Kozlowski maxItems: 1 47653c3d33SKrzysztof Kozlowski 48653c3d33SKrzysztof Kozlowskirequired: 49653c3d33SKrzysztof Kozlowski - compatible 50653c3d33SKrzysztof Kozlowski - "#clock-cells" 51653c3d33SKrzysztof Kozlowski - reg 52653c3d33SKrzysztof Kozlowski 53653c3d33SKrzysztof KozlowskiadditionalProperties: false 54653c3d33SKrzysztof Kozlowski 55653c3d33SKrzysztof Kozlowskiexamples: 56653c3d33SKrzysztof Kozlowski - | 57653c3d33SKrzysztof Kozlowski #include <dt-bindings/clock/s5pv210.h> 58653c3d33SKrzysztof Kozlowski 59653c3d33SKrzysztof Kozlowski xxti: clock-0 { 60653c3d33SKrzysztof Kozlowski compatible = "fixed-clock"; 61653c3d33SKrzysztof Kozlowski clock-frequency = <0>; 62653c3d33SKrzysztof Kozlowski clock-output-names = "xxti"; 63653c3d33SKrzysztof Kozlowski #clock-cells = <0>; 64653c3d33SKrzysztof Kozlowski }; 65653c3d33SKrzysztof Kozlowski 66653c3d33SKrzysztof Kozlowski xusbxti: clock-1 { 67653c3d33SKrzysztof Kozlowski compatible = "fixed-clock"; 68653c3d33SKrzysztof Kozlowski clock-frequency = <0>; 69653c3d33SKrzysztof Kozlowski clock-output-names = "xusbxti"; 70653c3d33SKrzysztof Kozlowski #clock-cells = <0>; 71653c3d33SKrzysztof Kozlowski }; 72653c3d33SKrzysztof Kozlowski 73653c3d33SKrzysztof Kozlowski clock-controller@e0100000 { 74653c3d33SKrzysztof Kozlowski compatible = "samsung,s5pv210-clock"; 75653c3d33SKrzysztof Kozlowski reg = <0xe0100000 0x10000>; 76653c3d33SKrzysztof Kozlowski clock-names = "xxti", "xusbxti"; 77653c3d33SKrzysztof Kozlowski clocks = <&xxti>, <&xusbxti>; 78653c3d33SKrzysztof Kozlowski #clock-cells = <1>; 79653c3d33SKrzysztof Kozlowski }; 80