arm: imx8m: add support for Compulab iot-gate-imx8 (imx8mm-cl-iot-gate)

Add initial support for Compulab iot-gate-imx8 board (imx8mm-cl-iot-gate).
The initial support includes:
 - MMC
 - eMMC
 - I2C
 - FEC
 - Serial console

Signed-off-by: Kirill Kapranov <kirill.kapranov@compulab.co.il>
Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>
Signed-off-by: Valentin Raevsky <valentin@compulab.co.il>
Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Peter Robinson <pbrobinson@gmail.com>
This commit is contained in:
Ying-Chun Liu (PaulLiu)
2021-04-22 04:50:31 +08:00
committed by Stefano Babic
parent 8350211af4
commit 53b516c58d
16 changed files with 8289 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright 2017 NXP
* Copyright 2020 Linaro
*
*/
#ifndef __COMPULAB_DDR_H__
#define __COMPULAB_DDR_H__
extern struct dram_timing_info ucm_dram_timing_ff020008;
extern struct dram_timing_info ucm_dram_timing_ff000110;
extern struct dram_timing_info ucm_dram_timing_01061010;
void spl_dram_init_compulab(void);
#define TCM_DATA_CFG 0x7e0000
struct lpddr4_tcm_desc {
unsigned int size;
unsigned int sign;
unsigned int index;
unsigned int count;
};
#endif