From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fQuY7-00069K-Qp for barebox@lists.infradead.org; Thu, 07 Jun 2018 13:02:01 +0000 Received: by mail-pg0-x241.google.com with SMTP id l65-v6so4729945pgl.8 for ; Thu, 07 Jun 2018 06:01:45 -0700 (PDT) From: Andrey Smirnov Date: Thu, 7 Jun 2018 06:00:33 -0700 Message-Id: <20180607130108.5339-18-andrew.smirnov@gmail.com> In-Reply-To: <20180607130108.5339-1-andrew.smirnov@gmail.com> References: <20180607130108.5339-1-andrew.smirnov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 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: [RESEND v3 17/52] ARM: i.MX: Add basic CCM constants for i.MX8 To: barebox@lists.infradead.org Cc: Andrey Smirnov Signed-off-by: Andrey Smirnov --- arch/arm/mach-imx/include/mach/imx8-ccm-regs.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 arch/arm/mach-imx/include/mach/imx8-ccm-regs.h diff --git a/arch/arm/mach-imx/include/mach/imx8-ccm-regs.h b/arch/arm/mach-imx/include/mach/imx8-ccm-regs.h new file mode 100644 index 000000000..93b584ebe --- /dev/null +++ b/arch/arm/mach-imx/include/mach/imx8-ccm-regs.h @@ -0,0 +1,15 @@ +#ifndef __MACH_IMX8_CCM_REGS_H__ +#define __MACH_IMX8_CCM_REGS_H__ + +#include "ccm.h" + +#define CCM_CCGR_UART1 73 + +/* + * Taken from "Table 5-1. Clock Root Table" from i.MX8M Quad + * Applications Processor Reference Manual + */ +#define UART1_CLK_ROOT 94 +#define UART1_CLK_ROOT__25M_REF_CLK CCM_TARGET_ROOTn_MUX(0b000) + +#endif -- 2.17.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox