# TI - MPU (Main Processor Unit) subsystem

_Peios Kernel / Hardware and drivers / Device tree / bindings/arm/omap_

> Device-tree binding reference for TI - MPU (Main Processor Unit) subsystem.

The MPU subsystem contain one or several ARM cores
depending of the version.
The MPU contain CPUs, GIC, L2 cache and a local PRCM.

## Required properties:

- compatible : Should be "ti,omap3-mpu" for OMAP3
  Should be "ti,omap4-mpu" for OMAP4
  Should be "ti,omap5-mpu" for OMAP5
- ti,hwmods: "mpu"

## Optional properties:

- sram:	Phandle to the ocmcram node

## am335x and am437x only:

- pm-sram: Phandles to ocmcram nodes to be used for power management.
  First should be type 'protect-exec' for the driver to use to copy
  and run PM functions, second should be regular pool to be used for
  data region for code. See [Documentation/devicetree/bindings/sram/sram.yaml](</kernel/hardware/devicetree-bindings/dt-sram/sram.md>)
  for more details.

## Examples:

- For an OMAP5 SMP system:

```dts
mpu {
    compatible = "ti,omap5-mpu";
    ti,hwmods = "mpu"
};
```

- For an OMAP4 SMP system:

```dts
mpu {
    compatible = "ti,omap4-mpu";
    ti,hwmods = "mpu";
};
```

- For an OMAP3 monocore system:

```dts
mpu {
    compatible = "ti,omap3-mpu";
    ti,hwmods = "mpu";
};
```

- For an AM335x system:

```dts
mpu {
	compatible = "ti,omap3-mpu";
	ti,hwmods = "mpu";
	pm-sram = <&pm_sram_code
		   &pm_sram_data>;
};
```
