Merge tag 'edac_for_4.20_2' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp
[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,px30-grf", "syscon": for px30
17    - "rockchip,rk3036-grf", "syscon": for rk3036
18    - "rockchip,rk3066-grf", "syscon": for rk3066
19    - "rockchip,rk3188-grf", "syscon": for rk3188
20    - "rockchip,rk3228-grf", "syscon": for rk3228
21    - "rockchip,rk3288-grf", "syscon": for rk3288
22    - "rockchip,rk3328-grf", "syscon": for rk3328
23    - "rockchip,rk3368-grf", "syscon": for rk3368
24    - "rockchip,rk3399-grf", "syscon": for rk3399
25    - "rockchip,rv1108-grf", "syscon": for rv1108
26 - compatible: PMUGRF should be one of the following:
27    - "rockchip,px30-pmugrf", "syscon": for px30
28    - "rockchip,rk3368-pmugrf", "syscon": for rk3368
29    - "rockchip,rk3399-pmugrf", "syscon": for rk3399
30 - compatible: SGRF should be one of the following
31    - "rockchip,rk3288-sgrf", "syscon": for rk3288
32 - compatible: USB2PHYGRF should be one of the followings
33    - "rockchip,rk3328-usb2phy-grf", "syscon": for rk3328
34 - compatible: USBGRF should be one of the following
35    - "rockchip,rv1108-usbgrf", "syscon": for rv1108
36 - reg: physical base address of the controller and length of memory mapped
37   region.
38
39 Example: GRF and PMUGRF of RK3399 SoCs
40
41         pmugrf: syscon@ff320000 {
42                 compatible = "rockchip,rk3399-pmugrf", "syscon";
43                 reg = <0x0 0xff320000 0x0 0x1000>;
44         };
45
46         grf: syscon@ff770000 {
47                 compatible = "rockchip,rk3399-grf", "syscon";
48                 reg = <0x0 0xff770000 0x0 0x10000>;
49         };