syscon.txt 894 B

123456789101112131415161718192021222324
  1. * System Controller Registers R/W driver
  2. System controller node represents a register region containing a set
  3. of miscellaneous registers. The registers are not cohesive enough to
  4. represent as any specific type of device. The typical use-case is for
  5. some other node's driver, or platform-specific code, to acquire a
  6. reference to the syscon node (e.g. by phandle, node path, or search
  7. using a specific compatible value), interrogate the node (or associated
  8. OS driver) to determine the location of the registers, and access the
  9. registers directly.
  10. Required properties:
  11. - compatible: Should contain "syscon".
  12. - reg: the register region can be accessed from syscon
  13. Optional property:
  14. - reg-io-width: the size (in bytes) of the IO accesses that should be
  15. performed on the device.
  16. Examples:
  17. gpr: iomuxc-gpr@020e0000 {
  18. compatible = "fsl,imx6q-iomuxc-gpr", "syscon";
  19. reg = <0x020e0000 0x38>;
  20. };