diff options
| author | Tom Rini <trini@ti.com> | 2013-08-30 16:28:45 -0400 | 
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-09-20 11:01:26 -0400 | 
| commit | 5287946c0612e55f948b6ccbe2beaaffb78130ef (patch) | |
| tree | ad140b94766978b40bf014978a74b3c540ab09ac | |
| parent | 6a0d803c7c9eeee24f579b764eb4bc51ed79eb5e (diff) | |
| download | olio-uboot-2014.01-5287946c0612e55f948b6ccbe2beaaffb78130ef.tar.xz olio-uboot-2014.01-5287946c0612e55f948b6ccbe2beaaffb78130ef.zip | |
am33xx: Add the efuse_sma CONTROL_MODULE register
Starting with PG2.1 we have a register in the CONTROL_MODULE that is set
with the package type and maximum supported frequency.  Add this, and
the relevant mask/values.
Signed-off-by: Tom Rini <trini@ti.com>
| -rw-r--r-- | arch/arm/include/asm/arch-am33xx/cpu.h | 12 | 
1 files changed, 12 insertions, 0 deletions
| diff --git a/arch/arm/include/asm/arch-am33xx/cpu.h b/arch/arm/include/asm/arch-am33xx/cpu.h index 73e6db899..52fa128af 100644 --- a/arch/arm/include/asm/arch-am33xx/cpu.h +++ b/arch/arm/include/asm/arch-am33xx/cpu.h @@ -38,6 +38,16 @@  #define AM335X				0xB944  #define TI81XX				0xB81E  #define DEVICE_ID			(CTRL_BASE + 0x0600) +#define DEVICE_ID_MASK			0x1FFF + +/* MPU max frequencies */ +#define AM335X_ZCZ_300			0x1FEF +#define AM335X_ZCZ_600			0x1FAF +#define AM335X_ZCZ_720			0x1F2F +#define AM335X_ZCZ_800			0x1E2F +#define AM335X_ZCZ_1000			0x1C2F +#define AM335X_ZCE_300			0x1FDF +#define AM335X_ZCE_600			0x1F9F  /* This gives the status of the boot mode pins on the evm */  #define SYSBOOT_MASK			(BIT(0) | BIT(1) | BIT(2)\ @@ -509,6 +519,8 @@ struct ctrl_dev {  	unsigned int macid1h;		/* offset 0x3c */  	unsigned int resv4[4];  	unsigned int miisel;		/* offset 0x50 */ +	unsigned int resv5[106]; +	unsigned int efuse_sma;		/* offset 0x1FC */  };  /* gmii_sel register defines */ |