Dong Aisheng | 87d6873 | 2012-09-05 10:57:13 +0800 | [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 | |
Damien Riegel | db2fb60 | 2015-11-30 10:59:47 -0500 | [diff] [blame] | 16 | Optional property: |
| 17 | - reg-io-width: the size (in bytes) of the IO accesses that should be |
| 18 | performed on the device. |
| 19 | |
Dong Aisheng | 87d6873 | 2012-09-05 10:57:13 +0800 | [diff] [blame] | 20 | Examples: |
| 21 | gpr: iomuxc-gpr@020e0000 { |
| 22 | compatible = "fsl,imx6q-iomuxc-gpr", "syscon"; |
| 23 | reg = <0x020e0000 0x38>; |
| 24 | }; |