blob: 538fb6d082491d6fe072f7a16b9397ed06e9bc1c [file] [log] [blame]
Stephen Boydcc4f2fe2014-01-15 10:47:33 -08001Qualcomm Global Clock & Reset Controller Binding
2------------------------------------------------
3
4Required properties :
5- compatible : shall contain only one of the following:
6
Kumar Gala2d85a712014-04-04 11:31:29 -05007 "qcom,gcc-apq8064"
Georgi Djakov56097d8d2014-06-03 17:24:08 +03008 "qcom,gcc-apq8084"
Kumar Gala24d8fba2014-06-17 14:46:51 -05009 "qcom,gcc-ipq8064"
Varadarajan Narayanan6971e862015-11-19 17:19:29 -060010 "qcom,gcc-ipq4019"
Stephen Boydcc4f2fe2014-01-15 10:47:33 -080011 "qcom,gcc-msm8660"
Georgi Djakova5408ec2015-03-18 16:08:21 +020012 "qcom,gcc-msm8916"
Stephen Boydcc4f2fe2014-01-15 10:47:33 -080013 "qcom,gcc-msm8960"
14 "qcom,gcc-msm8974"
Stephen Boydc6858412014-05-16 16:07:13 -070015 "qcom,gcc-msm8974pro"
16 "qcom,gcc-msm8974pro-ac"
Stephen Boydb1e010c2015-11-30 17:31:40 -080017 "qcom,gcc-msm8996"
Neil Armstrong3e99c7ab2016-08-11 14:48:05 +020018 "qcom,gcc-mdm9615"
Kyle Yan6a20fae2017-02-14 13:34:41 -080019 "qcom,gcc-sdm845"
Deepak Katragadda6c846e32017-06-07 14:09:49 -070020 "qcom,gcc-sdm845-v2"
Deepak Katragadda443bd8d2017-08-28 22:30:19 +053021 "qcom,gcc-sdm670"
Deepak Katragaddac617c382017-02-28 11:06:06 -080022 "qcom,debugcc-sdm845"
Stephen Boydcc4f2fe2014-01-15 10:47:33 -080023
24- reg : shall contain base register location and length
25- #clock-cells : shall contain 1
26- #reset-cells : shall contain 1
27
Rajendra Nayak89c7e672015-10-01 14:56:02 +053028Optional properties :
29- #power-domain-cells : shall contain 1
Rajendra Nayakc8c87682016-08-17 10:48:45 +053030- Qualcomm TSENS (thermal sensor device) on some devices can
31be part of GCC and hence the TSENS properties can also be
32part of the GCC/clock-controller node.
33For more details on the TSENS properties please refer
34Documentation/devicetree/bindings/thermal/qcom-tsens.txt
Rajendra Nayak89c7e672015-10-01 14:56:02 +053035
Stephen Boydcc4f2fe2014-01-15 10:47:33 -080036Example:
37 clock-controller@900000 {
38 compatible = "qcom,gcc-msm8960";
39 reg = <0x900000 0x4000>;
40 #clock-cells = <1>;
41 #reset-cells = <1>;
Rajendra Nayak89c7e672015-10-01 14:56:02 +053042 #power-domain-cells = <1>;
Stephen Boydcc4f2fe2014-01-15 10:47:33 -080043 };
Rajendra Nayakc8c87682016-08-17 10:48:45 +053044
45Example of GCC with TSENS properties:
46 clock-controller@900000 {
47 compatible = "qcom,gcc-apq8064";
48 reg = <0x00900000 0x4000>;
49 nvmem-cells = <&tsens_calib>, <&tsens_backup>;
50 nvmem-cell-names = "calib", "calib_backup";
51 #clock-cells = <1>;
52 #reset-cells = <1>;
53 #thermal-sensor-cells = <1>;
54 };