1 # SPDX-License-Identifier: GPL-2.0-only 1 # SPDX-License-Identifier: GPL-2.0-only 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-sc7180.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 SC7180 8 8 9 maintainers: 9 maintainers: 10 - Stephen Boyd <sboyd@kernel.org> 10 - Stephen Boyd <sboyd@kernel.org> 11 - Taniya Das <quic_tdas@quicinc.com> 11 - Taniya Das <quic_tdas@quicinc.com> 12 12 13 description: | 13 description: | 14 Qualcomm global clock control module provide 14 Qualcomm global clock control module provides the clocks, resets and power 15 domains on SC7180. 15 domains on SC7180. 16 16 17 See also:: include/dt-bindings/clock/qcom,gc 17 See also:: include/dt-bindings/clock/qcom,gcc-sc7180.h 18 18 19 properties: 19 properties: 20 compatible: 20 compatible: 21 const: qcom,gcc-sc7180 21 const: qcom,gcc-sc7180 22 22 23 clocks: 23 clocks: 24 items: 24 items: 25 - description: Board XO source 25 - description: Board XO source 26 - description: Board active XO source 26 - description: Board active XO source 27 - description: Sleep clock source 27 - description: Sleep clock source 28 28 29 clock-names: 29 clock-names: 30 items: 30 items: 31 - const: bi_tcxo 31 - const: bi_tcxo 32 - const: bi_tcxo_ao 32 - const: bi_tcxo_ao 33 - const: sleep_clk 33 - const: sleep_clk 34 34 35 power-domains: 35 power-domains: 36 items: 36 items: 37 - description: CX domain 37 - description: CX domain 38 38 39 required: 39 required: 40 - compatible 40 - compatible 41 - clocks 41 - clocks 42 - clock-names 42 - clock-names 43 - '#power-domain-cells' << 44 43 45 allOf: 44 allOf: 46 - $ref: qcom,gcc.yaml# 45 - $ref: qcom,gcc.yaml# 47 46 48 unevaluatedProperties: false 47 unevaluatedProperties: false 49 48 50 examples: 49 examples: 51 - | 50 - | 52 #include <dt-bindings/clock/qcom,rpmh.h> 51 #include <dt-bindings/clock/qcom,rpmh.h> 53 #include <dt-bindings/power/qcom-rpmpd.h> 52 #include <dt-bindings/power/qcom-rpmpd.h> 54 53 55 clock-controller@100000 { 54 clock-controller@100000 { 56 compatible = "qcom,gcc-sc7180"; 55 compatible = "qcom,gcc-sc7180"; 57 reg = <0x00100000 0x1f0000>; 56 reg = <0x00100000 0x1f0000>; 58 clocks = <&rpmhcc RPMH_CXO_CLK>, 57 clocks = <&rpmhcc RPMH_CXO_CLK>, 59 <&rpmhcc RPMH_CXO_CLK_A>, 58 <&rpmhcc RPMH_CXO_CLK_A>, 60 <&sleep_clk>; 59 <&sleep_clk>; 61 clock-names = "bi_tcxo", "bi_tcxo_ao", " 60 clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; 62 power-domains = <&rpmhpd SC7180_CX>; 61 power-domains = <&rpmhpd SC7180_CX>; 63 #clock-cells = <1>; 62 #clock-cells = <1>; 64 #reset-cells = <1>; 63 #reset-cells = <1>; 65 #power-domain-cells = <1>; 64 #power-domain-cells = <1>; 66 }; 65 }; 67 ... 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.