Merge branch 'topic/namespace' of git://git.kernel.org/pub/scm/linux/kernel/git/broon...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / soc / rockchip / grf.txt
1 * Rockchip General Register Files (GRF)
2
3 The general register file will be used to do static set by software, which
4 is composed of many registers for system control.
5
6 From RK3368 SoCs, the GRF is divided into two sections,
7 - GRF, used for general non-secure system,
8 - SGRF, used for general secure system,
9 - PMUGRF, used for always on system
10
11 On RK3328 SoCs, the GRF adds a section for USB2PHYGRF,
12
13 Required Properties:
14
15 - compatible: GRF should be one of the following:
16    - "rockchip,rk3036-grf", "syscon": for rk3036
17    - "rockchip,rk3066-grf", "syscon": for rk3066
18    - "rockchip,rk3188-grf", "syscon": for rk3188
19    - "rockchip,rk3228-grf", "syscon": for rk3228
20    - "rockchip,rk3288-grf", "syscon": for rk3288
21    - "rockchip,rk3328-grf", "syscon": for rk3328
22    - "rockchip,rk3368-grf", "syscon": for rk3368
23    - "rockchip,rk3399-grf", "syscon": for rk3399
24    - "rockchip,rv1108-grf", "syscon": for rv1108
25 - compatible: PMUGRF should be one of the following:
26    - "rockchip,rk3368-pmugrf", "syscon": for rk3368
27    - "rockchip,rk3399-pmugrf", "syscon": for rk3399
28 - compatible: SGRF should be one of the following
29    - "rockchip,rk3288-sgrf", "syscon": for rk3288
30 - compatible: USB2PHYGRF should be one of the followings
31    - "rockchip,rk3328-usb2phy-grf", "syscon": for rk3328
32 - compatible: USBGRF should be one of the following
33    - "rockchip,rv1108-usbgrf", "syscon": for rv1108
34 - reg: physical base address of the controller and length of memory mapped
35   region.
36
37 Example: GRF and PMUGRF of RK3399 SoCs
38
39         pmugrf: syscon@ff320000 {
40                 compatible = "rockchip,rk3399-pmugrf", "syscon";
41                 reg = <0x0 0xff320000 0x0 0x1000>;
42         };
43
44         grf: syscon@ff770000 {
45                 compatible = "rockchip,rk3399-grf", "syscon";
46                 reg = <0x0 0xff770000 0x0 0x10000>;
47         };