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/qcom, 4 $id: http://devicetree.org/schemas/clock/qcom,gcc-qcm2290.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Qualcomm Global Clock & Reset Controlle 7 title: Qualcomm Global Clock & Reset Controller on QCM2290 8 8 9 maintainers: 9 maintainers: 10 - Shawn Guo <shawn.guo@linaro.org> 10 - Shawn Guo <shawn.guo@linaro.org> 11 11 12 description: | 12 description: | 13 Qualcomm global clock control module provide 13 Qualcomm global clock control module provides the clocks, resets and power 14 domains on QCM2290. 14 domains on QCM2290. 15 15 16 See also:: include/dt-bindings/clock/qcom,gc 16 See also:: include/dt-bindings/clock/qcom,gcc-qcm2290.h 17 17 18 properties: 18 properties: 19 compatible: 19 compatible: 20 const: qcom,gcc-qcm2290 20 const: qcom,gcc-qcm2290 21 21 22 clocks: 22 clocks: 23 items: 23 items: 24 - description: Board XO source 24 - description: Board XO source 25 - description: Sleep clock source 25 - description: Sleep clock source 26 26 27 clock-names: 27 clock-names: 28 items: 28 items: 29 - const: bi_tcxo 29 - const: bi_tcxo 30 - const: sleep_clk 30 - const: sleep_clk 31 31 32 required: 32 required: 33 - compatible 33 - compatible 34 - clocks 34 - clocks 35 - clock-names 35 - clock-names 36 - '#power-domain-cells' << 37 36 38 allOf: 37 allOf: 39 - $ref: qcom,gcc.yaml# 38 - $ref: qcom,gcc.yaml# 40 39 41 unevaluatedProperties: false 40 unevaluatedProperties: false 42 41 43 examples: 42 examples: 44 - | 43 - | 45 #include <dt-bindings/clock/qcom,rpmcc.h> 44 #include <dt-bindings/clock/qcom,rpmcc.h> 46 clock-controller@1400000 { 45 clock-controller@1400000 { 47 compatible = "qcom,gcc-qcm2290"; 46 compatible = "qcom,gcc-qcm2290"; 48 reg = <0x01400000 0x1f0000>; 47 reg = <0x01400000 0x1f0000>; 49 #clock-cells = <1>; 48 #clock-cells = <1>; 50 #reset-cells = <1>; 49 #reset-cells = <1>; 51 #power-domain-cells = <1>; 50 #power-domain-cells = <1>; 52 clock-names = "bi_tcxo", "sleep_clk"; 51 clock-names = "bi_tcxo", "sleep_clk"; 53 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, 52 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>; 54 }; 53 }; 55 ... 54 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.