blob: 551d03be966587fe27d9f486c0f5b712a9f6f016 [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"
Abhishek Sahubcb486f2017-06-09 15:11:56 +053011 "qcom,gcc-ipq8074"
Stephen Boydcc4f2fe2014-01-15 10:47:33 -080012 "qcom,gcc-msm8660"
Georgi Djakova5408ec2015-03-18 16:08:21 +020013 "qcom,gcc-msm8916"
Stephen Boydcc4f2fe2014-01-15 10:47:33 -080014 "qcom,gcc-msm8960"
15 "qcom,gcc-msm8974"
Stephen Boydc6858412014-05-16 16:07:13 -070016 "qcom,gcc-msm8974pro"
17 "qcom,gcc-msm8974pro-ac"
Jeremy McNicoll49e28282016-11-04 13:56:32 -070018 "qcom,gcc-msm8994"
Stephen Boydb1e010c2015-11-30 17:31:40 -080019 "qcom,gcc-msm8996"
Neil Armstrong3e99c7ab2016-08-11 14:48:05 +020020 "qcom,gcc-mdm9615"
Stephen Boydcc4f2fe2014-01-15 10:47:33 -080021
22- reg : shall contain base register location and length
23- #clock-cells : shall contain 1
24- #reset-cells : shall contain 1
25
Rajendra Nayak89c7e672015-10-01 14:56:02 +053026Optional properties :
27- #power-domain-cells : shall contain 1
Rajendra Nayakc8c87682016-08-17 10:48:45 +053028- Qualcomm TSENS (thermal sensor device) on some devices can
29be part of GCC and hence the TSENS properties can also be
30part of the GCC/clock-controller node.
31For more details on the TSENS properties please refer
32Documentation/devicetree/bindings/thermal/qcom-tsens.txt
Rajendra Nayak89c7e672015-10-01 14:56:02 +053033
Stephen Boydcc4f2fe2014-01-15 10:47:33 -080034Example:
35 clock-controller@900000 {
36 compatible = "qcom,gcc-msm8960";
37 reg = <0x900000 0x4000>;
38 #clock-cells = <1>;
39 #reset-cells = <1>;
Rajendra Nayak89c7e672015-10-01 14:56:02 +053040 #power-domain-cells = <1>;
Stephen Boydcc4f2fe2014-01-15 10:47:33 -080041 };
Rajendra Nayakc8c87682016-08-17 10:48:45 +053042
43Example of GCC with TSENS properties:
44 clock-controller@900000 {
45 compatible = "qcom,gcc-apq8064";
46 reg = <0x00900000 0x4000>;
47 nvmem-cells = <&tsens_calib>, <&tsens_backup>;
48 nvmem-cell-names = "calib", "calib_backup";
49 #clock-cells = <1>;
50 #reset-cells = <1>;
51 #thermal-sensor-cells = <1>;
52 };