diff options
author | Nitin Garg <nitin.garg@freescale.com> | 2014-05-27 10:36:06 -0500 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-05-27 22:15:10 -0500 |
commit | 748eac71fde78aa0c2e8cb3a3bab94bd994c06f5 (patch) | |
tree | 3ccd5be6ad3a4b21018a00fee6426b8612e6d83a /arch/arm/include/asm/arch-mx6 | |
parent | 441fd86d055c57b79257943449a8101b83e98c61 (diff) | |
download | u-boot-imx-748eac71fde78aa0c2e8cb3a3bab94bd994c06f5.zip u-boot-imx-748eac71fde78aa0c2e8cb3a3bab94bd994c06f5.tar.gz u-boot-imx-748eac71fde78aa0c2e8cb3a3bab94bd994c06f5.tar.bz2 |
ENGR00315499-5: Support i.MX6 1.2GHz via LDO bypass
Add check for 1.2GHz core speed. If Speed grading fuse is for 1.2GHz,
enable LDO bypass and setup PMIC voltages. LDO bypass is dependent
on the flatten device tree file.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/arch-mx6')
-rw-r--r-- | arch/arm/include/asm/arch-mx6/imx-regs.h | 12 | ||||
-rw-r--r-- | arch/arm/include/asm/arch-mx6/sys_proto.h | 7 |
2 files changed, 15 insertions, 4 deletions
diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h index 8a3243d..29e969d 100644 --- a/arch/arm/include/asm/arch-mx6/imx-regs.h +++ b/arch/arm/include/asm/arch-mx6/imx-regs.h @@ -468,12 +468,16 @@ struct fuse_bank0_regs { u32 rsvd1[3]; u32 uid_high; u32 rsvd2[3]; - u32 rsvd3[4]; - u32 rsvd4[4]; - u32 rsvd5[4]; + u32 cfg2; + u32 rsvd3[3]; + u32 cfg3; + u32 rsvd4[3]; + u32 cfg4; + u32 rsvd5[3]; u32 cfg5; u32 rsvd6[3]; - u32 rsvd7[4]; + u32 cfg6; + u32 rsvd7[3]; }; struct fuse_bank1_regs { diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h index dfca85d..c546096 100644 --- a/arch/arm/include/asm/arch-mx6/sys_proto.h +++ b/arch/arm/include/asm/arch-mx6/sys_proto.h @@ -23,6 +23,13 @@ u32 get_cpu_rev(void); const char *get_imx_type(u32 imxtype); unsigned imx_ddr_size(void); +#ifdef CONFIG_LDO_BYPASS_CHECK +int check_ldo_bypass(void); +int check_1_2G(void); +void set_anatop_bypass(void); +void ldo_mode_set(int ldo_bypass); +#endif + /* * Initializes on-chip ethernet controllers. * to override, implement board_eth_init() |