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