arm/aspeed: Enable SPI Master on ast2500evb
Subsystems (3)
PATCH 1/1 arm/aspeed: Enable SPI Master on ast2500evb
The default is OFF.
Signed-off-by Cédric Le Goater <[email protected]>
--- arch/arm/mach-aspeed/aspeed.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
arch/arm/mach-aspeed/aspeed.c +4 -1
@@ -159,9 +159,12 @@ static void __init do_ast2500evb_setup(void)do_ast2500_common_setup (); -/* Set strap to RGMII for dedicated PHY networking */ reg =readl (AST_IO (AST_BASE_SCU |0x70 )); + +/* Set strap to RGMII for dedicated PHY networking */ reg |=BIT (6 ) |BIT (7 ); +/* Enable SPI Master and SPI Slave to AHB Bridge */ + reg |=BIT (13 );writel (reg,AST_IO (AST_BASE_SCU |0x70 )); }
Signature · 1 line
2.7.4
Quoted 3 lines · Cédric Le Goater
The default is OFF.
Signed-off-by Cédric Le Goater <[email protected]>
Reviewed-by Joel Stanley <[email protected]>
I will apply this one now to dev-4.7.
Quoted 25 lines
--- arch/arm/mach-aspeed/aspeed.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)arch/arm/mach-aspeed/aspeed.c +4
-2@@ -159,9 +159,12 @@ static void __init do_ast2500evb_setup(void)do_ast2500_common_setup (); -/* Set strap to RGMII for dedicated PHY networking */ reg =readl (AST_IO (AST_BASE_SCU |0x70 )); + +/* Set strap to RGMII for dedicated PHY networking */ reg |=BIT (6 ) |BIT (7 ); +/* Enable SPI Master and SPI Slave to AHB Bridge */ + reg |=BIT (13 );writel (reg,AST_IO (AST_BASE_SCU |0x70 )); } --2.7.4