soc: rockchip: add cpuinfo support
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / soc / rockchip / rockchip-pvtm.txt
1 Rockchip pvtm device tree bindings
2 ----------------------------------
3
4 The Process-Voltage-Temperature Monitor (PVTM) is used to monitor the chip
5 performance variance caused by chip process, voltage and temperature.
6
7
8 Required properties:
9 - compatible: Should be one of the following.
10  - "rockchip,rk3366-pvtm" - for RK3366 SoCs.
11  - "rockchip,rk3366-pmu-pvtm" - for RK3366 SoCs.
12  - "rockchip,rk3399-pvtm" - for RK3399 SoCs.
13  - "rockchip,rk3399-pmu-pvtm" - for RK3399 SoCs.
14 - clocks: list of the clock controller input clock identifiers.
15 - clock-names: list of the clock controller input clock names.
16
17 Example:
18
19 grf: syscon@ff770000 {
20         compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
21         reg = <0x0 0xff770000 0x0 0x10000>;
22         #address-cells = <1>;
23         #size-cells = <1>;
24
25 ...
26
27         pvtm: pvtm {
28                 compatible = "rockchip,rk3399-pvtm";
29                 clocks = <&cru SCLK_PVTM_CORE_L>, <&cru SCLK_PVTM_CORE_B>,
30                         <&cru SCLK_PVTM_GPU>, <&cru SCLK_PVTM_DDR>;
31                 clock-names = "core_l", "core_b", "gpu", "ddr";
32         };
33 }