2014-01-16 02:47:33 +08:00
|
|
|
Qualcomm Global Clock & Reset Controller Binding
|
|
|
|
|
------------------------------------------------
|
|
|
|
|
|
|
|
|
|
Required properties :
|
|
|
|
|
- compatible : shall contain only one of the following:
|
|
|
|
|
|
2014-04-05 00:31:29 +08:00
|
|
|
"qcom,gcc-apq8064"
|
2014-06-03 22:24:08 +08:00
|
|
|
"qcom,gcc-apq8084"
|
2014-06-18 03:46:51 +08:00
|
|
|
"qcom,gcc-ipq8064"
|
2015-11-20 07:19:29 +08:00
|
|
|
"qcom,gcc-ipq4019"
|
2017-06-09 17:41:56 +08:00
|
|
|
"qcom,gcc-ipq8074"
|
2014-01-16 02:47:33 +08:00
|
|
|
"qcom,gcc-msm8660"
|
2015-03-18 22:08:21 +08:00
|
|
|
"qcom,gcc-msm8916"
|
2014-01-16 02:47:33 +08:00
|
|
|
"qcom,gcc-msm8960"
|
|
|
|
|
"qcom,gcc-msm8974"
|
2014-05-17 07:07:13 +08:00
|
|
|
"qcom,gcc-msm8974pro"
|
|
|
|
|
"qcom,gcc-msm8974pro-ac"
|
2016-11-05 04:56:32 +08:00
|
|
|
"qcom,gcc-msm8994"
|
2015-12-01 09:31:40 +08:00
|
|
|
"qcom,gcc-msm8996"
|
2016-08-11 20:48:05 +08:00
|
|
|
"qcom,gcc-mdm9615"
|
2014-01-16 02:47:33 +08:00
|
|
|
|
|
|
|
|
- reg : shall contain base register location and length
|
|
|
|
|
- #clock-cells : shall contain 1
|
|
|
|
|
- #reset-cells : shall contain 1
|
|
|
|
|
|
2015-10-01 17:26:02 +08:00
|
|
|
Optional properties :
|
|
|
|
|
- #power-domain-cells : shall contain 1
|
2016-08-17 13:18:45 +08:00
|
|
|
- Qualcomm TSENS (thermal sensor device) on some devices can
|
|
|
|
|
be part of GCC and hence the TSENS properties can also be
|
|
|
|
|
part of the GCC/clock-controller node.
|
|
|
|
|
For more details on the TSENS properties please refer
|
|
|
|
|
Documentation/devicetree/bindings/thermal/qcom-tsens.txt
|
2015-10-01 17:26:02 +08:00
|
|
|
|
2014-01-16 02:47:33 +08:00
|
|
|
Example:
|
|
|
|
|
clock-controller@900000 {
|
|
|
|
|
compatible = "qcom,gcc-msm8960";
|
|
|
|
|
reg = <0x900000 0x4000>;
|
|
|
|
|
#clock-cells = <1>;
|
|
|
|
|
#reset-cells = <1>;
|
2015-10-01 17:26:02 +08:00
|
|
|
#power-domain-cells = <1>;
|
2014-01-16 02:47:33 +08:00
|
|
|
};
|
2016-08-17 13:18:45 +08:00
|
|
|
|
|
|
|
|
Example of GCC with TSENS properties:
|
|
|
|
|
clock-controller@900000 {
|
|
|
|
|
compatible = "qcom,gcc-apq8064";
|
|
|
|
|
reg = <0x00900000 0x4000>;
|
|
|
|
|
nvmem-cells = <&tsens_calib>, <&tsens_backup>;
|
|
|
|
|
nvmem-cell-names = "calib", "calib_backup";
|
|
|
|
|
#clock-cells = <1>;
|
|
|
|
|
#reset-cells = <1>;
|
|
|
|
|
#thermal-sensor-cells = <1>;
|
|
|
|
|
};
|