]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: uniphier: add work-around for VBO noise problem
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 8 Oct 2016 04:25:25 +0000 (13:25 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 10 Oct 2016 01:03:23 +0000 (10:03 +0900)
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 <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/board_init.c

index b9be52f6cb39262fbdfcd242d5b1ad5cc7656c1e..8c7864cb85d5dd9d9379de60ab828e610390102b 100644 (file)
@@ -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);