diff options
author | Peng Fan <peng.fan@nxp.com> | 2021-04-27 15:10:31 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2022-07-06 22:35:25 +0800 |
commit | 0241fefee1b4afbe9028abf2f6a90d3c07b39169 (patch) | |
tree | eb5c61bdc461aee47d41d201b5d667afafa675cc /arch/arm/mach-imx/imx9/clock.c | |
parent | cf8f94b873c9c73b77c6db885cdbed210b5b7a26 (diff) |
LFU-330-1 imx: add basic i.MX9 support
Add i.MX9 Kconfig and basic files for the new SoC
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/mach-imx/imx9/clock.c')
-rw-r--r-- | arch/arm/mach-imx/imx9/clock.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/imx9/clock.c b/arch/arm/mach-imx/imx9/clock.c new file mode 100644 index 00000000000..fe89dccb316 --- /dev/null +++ b/arch/arm/mach-imx/imx9/clock.c @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2022 NXP + * + * Peng Fan <peng.fan@nxp.com> + */ + +#include <common.h> +#include <command.h> +#include <asm/arch/clock.h> +#include <asm/arch/imx-regs.h> +#include <asm/arch/sys_proto.h> +#include <asm/global_data.h> +#include <asm/io.h> +#include <div64.h> +#include <errno.h> +#include <linux/bitops.h> +#include <linux/delay.h> +#include <log.h> + +DECLARE_GLOBAL_DATA_PTR; + +u32 get_lpuart_clk(void) +{ + return 24000000; +} + |