Skip to content

Commit

Permalink
Merge pull request #19 from jk-ozlabs/openbmc/scu-setup
Browse files Browse the repository at this point in the history
arm/mach-aspeed: Perform SCU setup for i2c busses 4-8
  • Loading branch information
nkskjames committed Nov 20, 2015
2 parents 1da9004 + cf27544 commit 03079e8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch/arm/mach-aspeed/aspeed.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,14 @@ static void __init aspeed_init_early(void)
udbg_uart_putc('O');
udbg_uart_putc('\n');

/*
* temporary: enable i2c usage of the shared GPIO/I2C pins for
* i2c busses 4 - 8
*/
reg = readl(AST_IO(AST_BASE_SCU | 0x90));
reg |= 0x3E0000;
writel(reg, AST_IO(AST_BASE_SCU | 0x90));

aspeed_dump_scu();
}

Expand Down

0 comments on commit 03079e8

Please sign in to comment.