blob: c280b9258cd0b7c63dee749866926823a89f8d8e [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 Katragaddac617c382017-02-28 11:06:06 -080021 "qcom,debugcc-sdm845"
Stephen Boydcc4f2fe2014-01-15 10:47:33 -080022
23- reg : shall contain base register location and length
24- #clock-cells : shall contain 1
25- #reset-cells : shall contain 1
26
Rajendra Nayak89c7e672015-10-01 14:56:02 +053027Optional properties :
28- #power-domain-cells : shall contain 1
Rajendra Nayakc8c87682016-08-17 10:48:45 +053029- Qualcomm TSENS (thermal sensor device) on some devices can
30be part of GCC and hence the TSENS properties can also be
31part of the GCC/clock-controller node.
32For more details on the TSENS properties please refer
33Documentation/devicetree/bindings/thermal/qcom-tsens.txt
Rajendra Nayak89c7e672015-10-01 14:56:02 +053034
Stephen Boydcc4f2fe2014-01-15 10:47:33 -080035Example:
36 clock-controller@900000 {
37 compatible = "qcom,gcc-msm8960";
38 reg = <0x900000 0x4000>;
39 #clock-cells = <1>;
40 #reset-cells = <1>;
Rajendra Nayak89c7e672015-10-01 14:56:02 +053041 #power-domain-cells = <1>;
Stephen Boydcc4f2fe2014-01-15 10:47:33 -080042 };
Rajendra Nayakc8c87682016-08-17 10:48:45 +053043
44Example of GCC with TSENS properties:
45 clock-controller@900000 {
46 compatible = "qcom,gcc-apq8064";
47 reg = <0x00900000 0x4000>;
48 nvmem-cells = <&tsens_calib>, <&tsens_backup>;
49 nvmem-cell-names = "calib", "calib_backup";
50 #clock-cells = <1>;
51 #reset-cells = <1>;
52 #thermal-sensor-cells = <1>;
53 };