From 84d6919118042cba56fe50ee57b1b6351e740cf4 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Fri, 12 Feb 2016 13:52:17 +0100 Subject: [PATCH] arm: mvebu: spi.h: Add registers for direct write access The direct write config register is needed for SPI direct write mode configuration. Signed-off-by: Stefan Roese Cc: Luka Perkov Signed-off-by: Stefan Roese --- arch/arm/include/asm/arch-mvebu/spi.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/arch-mvebu/spi.h b/arch/arm/include/asm/arch-mvebu/spi.h index e512dcec16..526fea68e6 100644 --- a/arch/arm/include/asm/arch-mvebu/spi.h +++ b/arch/arm/include/asm/arch-mvebu/spi.h @@ -19,6 +19,9 @@ struct kwspi_registers { u32 din; /* 0x1060c */ u32 irq_cause; /* 0x10610 */ u32 irq_mask; /* 0x10614 */ + u32 timing1; /* 0x10618 */ + u32 timing2; /* 0x1061c */ + u32 dw_cfg; /* 0x10620 - Direct Write Configuration */ }; /* They are used to define CONFIG_SYS_KW_SPI_MPP -- 2.25.1