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