]> git.karo-electronics.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/soc/rockchip/grf.txt
Merge tag 'armsoc-dt64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[karo-tx-linux.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 - compatible: PMUGRF should be one of the following:
25    - "rockchip,rk3368-pmugrf", "syscon": for rk3368
26    - "rockchip,rk3399-pmugrf", "syscon": for rk3399
27 - compatible: SGRF should be one of the following
28    - "rockchip,rk3288-sgrf", "syscon": for rk3288
29 - compatible: USB2PHYGRF should be one of the followings
30    - "rockchip,rk3328-usb2phy-grf", "syscon": for rk3328
31 - reg: physical base address of the controller and length of memory mapped
32   region.
33
34 Example: GRF and PMUGRF of RK3399 SoCs
35
36         pmugrf: syscon@ff320000 {
37                 compatible = "rockchip,rk3399-pmugrf", "syscon";
38                 reg = <0x0 0xff320000 0x0 0x1000>;
39         };
40
41         grf: syscon@ff770000 {
42                 compatible = "rockchip,rk3399-grf", "syscon";
43                 reg = <0x0 0xff770000 0x0 0x10000>;
44         };