From: Masahiro Yamada Date: Sat, 8 Oct 2016 04:25:25 +0000 (+0900) Subject: ARM: uniphier: add work-around for VBO noise problem X-Git-Tag: v2016.11-rc2~14^2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=baaafaaad3d53706e3d02aa4e0bba75f535ebd18;p=u-boot ARM: uniphier: add work-around for VBO noise problem Raise the VDD09 voltage line to 1.0V to suppress VBO noise. This errata work-around code is needed only for ES1. Signed-off-by: Masahiro Yamada --- diff --git a/arch/arm/mach-uniphier/board_init.c b/arch/arm/mach-uniphier/board_init.c index b9be52f6cb..8c7864cb85 100644 --- a/arch/arm/mach-uniphier/board_init.c +++ b/arch/arm/mach-uniphier/board_init.c @@ -134,6 +134,13 @@ int board_init(void) #endif #if defined(CONFIG_ARCH_UNIPHIER_LD20) case SOC_UNIPHIER_LD20: + /* ES1 errata: increase VDD09 supply to suppress VBO noise */ + if (uniphier_get_soc_revision() == 1) { + writel(0x00000003, 0x6184e004); + writel(0x00000100, 0x6184e040); + writel(0x0000b500, 0x6184e024); + writel(0x00000001, 0x6184e000); + } uniphier_nand_pin_init(false); sg_set_pinsel(149, 14, 8, 4); /* XIRQ0 -> XIRQ0 */ sg_set_iectrl(149);