Tom Rini | 53633a8 | 2024-02-29 12:33:36 -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. |
| 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" |
| 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 | |
| 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 | - little-endian : Indicates that the global utilities block is little |
| 29 | endian. The default is big endian. |
| 30 | |
| 31 | Examples: |
| 32 | global-utilities@e0000 { /* global utilities block */ |
| 33 | compatible = "fsl,mpc8548-guts"; |
| 34 | reg = <e0000 1000>; |
| 35 | fsl,has-rstcr; |
| 36 | }; |
| 37 | |
| 38 | guts: global-utilities@e0000 { |
| 39 | compatible = "fsl,qoriq-device-config-1.0"; |
| 40 | reg = <0xe0000 0xe00>; |
| 41 | fsl,has-rstcr; |
| 42 | #sleep-cells = <1>; |
| 43 | fsl,liodn-bits = <12>; |
| 44 | }; |