Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> --- 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@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox