Kumar Gala | d0fc2ea | 2008-07-07 11:28:33 -0500 | [diff] [blame] | 1 | * Global Utilities Block |
| 2 | |
| 3 | The global utilities block controls power management, I/O device |
| 4 | enabling, power-on-reset configuration monitoring, general-purpose |
| 5 | I/O signal configuration, alternate function selection for multiplexed |
| 6 | signals, and clock control. |
| 7 | |
| 8 | Required properties: |
| 9 | |
| 10 | - compatible : Should define the compatible device type for |
| 11 | global-utilities. |
Igal Liberman | 791b0bf | 2015-04-16 14:41:11 +0300 | [diff] [blame] | 12 | Possible compatibles: |
| 13 | "fsl,qoriq-device-config-1.0" |
| 14 | "fsl,qoriq-device-config-2.0" |
| 15 | "fsl,<chip>-device-config" |
| 16 | "fsl,<chip>-guts" |
Kumar Gala | d0fc2ea | 2008-07-07 11:28:33 -0500 | [diff] [blame] | 17 | - reg : Offset and length of the register set for the device. |
| 18 | |
| 19 | Recommended properties: |
| 20 | |
| 21 | - fsl,has-rstcr : Indicates that the global utilities register set |
| 22 | contains a functioning "reset control register" (i.e. the board |
| 23 | is wired to reset upon setting the HRESET_REQ bit in this register). |
| 24 | |
Timur Tabi | 0408753 | 2013-01-17 16:34:33 -0600 | [diff] [blame] | 25 | - fsl,liodn-bits : Indicates the number of defined bits in the LIODN |
| 26 | registers, for those SOCs that have a PAMU device. |
| 27 | |
| 28 | Examples: |
Kumar Gala | d0fc2ea | 2008-07-07 11:28:33 -0500 | [diff] [blame] | 29 | global-utilities@e0000 { /* global utilities block */ |
| 30 | compatible = "fsl,mpc8548-guts"; |
| 31 | reg = <e0000 1000>; |
| 32 | fsl,has-rstcr; |
| 33 | }; |
Timur Tabi | 0408753 | 2013-01-17 16:34:33 -0600 | [diff] [blame] | 34 | |
| 35 | guts: global-utilities@e0000 { |
| 36 | compatible = "fsl,qoriq-device-config-1.0"; |
| 37 | reg = <0xe0000 0xe00>; |
| 38 | fsl,has-rstcr; |
| 39 | #sleep-cells = <1>; |
| 40 | fsl,liodn-bits = <12>; |
| 41 | }; |