[PATCH] ARM: imx7: missing config for AIPS3 bridge added

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Access priviledges for AIPS3 bridge have been configured so peripherals
connected to it (like SDMA, SAI etc.) can work properly.

Signed-off-by: Lukasz Madej <l.madej@xxxxxxxxxxxxxxxx>
---
 arch/arm/mach-imx/imx7.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/mach-imx/imx7.c b/arch/arm/mach-imx/imx7.c
index ca11e8345..ff2a828c7 100644
--- a/arch/arm/mach-imx/imx7.c
+++ b/arch/arm/mach-imx/imx7.c
@@ -26,6 +26,7 @@ void imx7_init_lowlevel(void)
 {
 	void __iomem *aips1 = IOMEM(MX7_AIPS1_CONFIG_BASE_ADDR);
 	void __iomem *aips2 = IOMEM(MX7_AIPS2_CONFIG_BASE_ADDR);
+	void __iomem *aips3 = IOMEM(MX7_AIPS3_CONFIG_BASE_ADDR);
 
 	/*
 	 * Set all MPROTx to be non-bufferable, trusted for R/W,
@@ -46,6 +47,14 @@ void imx7_init_lowlevel(void)
 	writel(0, aips2 + 0x48);
 	writel(0, aips2 + 0x4c);
 	writel(0, aips2 + 0x50);
+
+	writel(0x77777777, aips3);
+	writel(0x77777777, aips3 + 0x4);
+	writel(0, aips3 + 0x40);
+	writel(0, aips3 + 0x44);
+	writel(0, aips3 + 0x48);
+	writel(0, aips3 + 0x4c);
+	writel(0, aips3 + 0x50);
 }
 
 #define SC_CNTCR	0x0
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux