grf.txt 1.7 KB

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