arm: omap3: Update cpuinfo for DM3730, DM3725, AM3715, and AM3703

The check for OMAP3630/3730 only checks for 800MHz 3630/3730, but
anything else is lumped into 36XX/37XX with an assumed 1GHz speed.

Based on the DM3730 TRM bit 9 shows the MPU Frequency (800MHz/1GHZ).
This also adds the ability to distinguish between the DM3730, DM3725,
AM3715, and AM3703 and correctly display their maximum speed.

Signed-off-by: Adam Ford <aford173@gmail.com>
Tested-by: Ladislav Michl <ladis@linux-mips.org>
This commit is contained in:
Adam Ford
2017-01-20 14:03:52 +01:00
committed by Tom Rini
parent d5c9d4fbf0
commit 7f668a6fbe
2 changed files with 48 additions and 2 deletions

View File

@@ -230,6 +230,14 @@ struct gpio {
#define AM3517 0x1c00
#define OMAP3730 0x0c00
#define OMAP3725 0x4c00
#define AM3715 0x1c00
#define AM3703 0x5c00
#define OMAP3730_1GHZ 0x0e00
#define OMAP3725_1GHZ 0x4e00
#define AM3715_1GHZ 0x1e00
#define AM3703_1GHZ 0x5e00
/*
* ROM code API related flags