From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hOyua-0008Om-SQ for barebox@lists.infradead.org; Fri, 10 May 2019 06:21:51 +0000 From: Sascha Hauer Date: Fri, 10 May 2019 08:21:29 +0200 Message-Id: <20190510062135.11534-9-s.hauer@pengutronix.de> In-Reply-To: <20190510062135.11534-1-s.hauer@pengutronix.de> References: <20190510062135.11534-1-s.hauer@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 08/14] ARM: Layerscape: TQMLS1046a: configure qspi divider To: Barebox List Signed-off-by: Sascha Hauer --- arch/arm/boards/tqmls1046a/board.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boards/tqmls1046a/board.c b/arch/arm/boards/tqmls1046a/board.c index 4fc8e76d65..caf0f7ce38 100644 --- a/arch/arm/boards/tqmls1046a/board.c +++ b/arch/arm/boards/tqmls1046a/board.c @@ -32,6 +32,9 @@ static int tqmls1046a_postcore_init(void) /* Configure iomux for i2c4 */ out_be32(&scfg->rcwpmuxcr0, 0x3300); + /* divide CGA1/CGA2 PLL by 24 to get QSPI interface clock */ + out_be32(&scfg->qspi_cfg, 0x30100000); + return 0; } -- 2.20.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox