PM / devfreq: event: add support for rk3368 dfi
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / devfreq / event / rockchip-dfi.txt
1
2 * Rockchip DFI device
3
4 Required properties:
5 - compatible: Should be one of the following.
6   - "rockchip,rk3368-dfi" - for RK3368 SoCs.
7   - "rockchip,rk3399-dfi" - for RK3399 SoCs.
8
9 Required properties for RK3368:
10 - rockchip,grf: phandle to the syscon managing the "general register files"
11
12 Required properties for RK3399:
13 - reg: physical base address of each DFI and length of memory mapped region
14 - rockchip,pmu: phandle to the syscon managing the "pmu general register files"
15 - clocks: phandles for clock specified in "clock-names" property
16 - clock-names : the name of clock used by the DFI, must be "pclk_ddr_mon";
17
18 Example:
19         dfi: dfi@0xff630000 {
20                 reg = <0x00 0xff630000 0x00 0x4000>;
21                 compatible = "rockchip,rk3399-dfi";
22                 rockchip,pmu = <&pmugrf>;
23                 clocks = <&cru PCLK_DDR_MON>;
24                 clock-names = "pclk_ddr_mon";
25                 status = "disabled";
26         };