Although it has similar naming the Librem 5 Devkit is a completely different design from the Librem 5 phone. It uses an imx8mq SOM from Emcraft, a separate HDMI port instead of DisplayPort, different USB-C chip, panel, etc. This is based on a Emcraft's SOM documentation, Purism's downstream fork and the available schematics of the devkit. Link: https://developer.puri.sm/Librem5/Development_Environment/Boards/imx8.html Link: https://source.puri.sm/Librem5/dvk-mx8m-bsb Co-authored-by: Angus Ainslie <angus@akkea.ca> Co-authored-by: Manuel Traut <manut@mecka.net> Signed-off-by: Manuel Traut <manut@mecka.net> Tested-by: Manuel Traut <manut@mecka.net> Signed-off-by: Guido Günther <agx@sigxcpu.org> [fabio: Removed the arch/arm/dts/Makefile entry that does not apply and it is not needed as the board uses OF_UPSTREAM] Signed-off-by: Fabio Estevam <festevam@gmail.com>
37 lines
718 B
C
37 lines
718 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2017 NXP
|
|
* 2018 Emcraft Systems
|
|
* 2022 Purism
|
|
* 2026 Phosh.mobi e.V.
|
|
*/
|
|
|
|
#ifndef __LIBREM5_DEVKIT_H
|
|
#define __LIBREM5_DEVKIT_H
|
|
|
|
/* #define DEBUG */
|
|
|
|
#include <version.h>
|
|
#include <linux/sizes.h>
|
|
#include <asm/arch/imx-regs.h>
|
|
|
|
#define CFG_SYS_FSL_USDHC_NUM 2
|
|
|
|
/* UART */
|
|
#define CFG_MXC_UART_BASE UART1_BASE_ADDR
|
|
|
|
/* Link Definitions */
|
|
|
|
#define CFG_SYS_INIT_RAM_ADDR 0x40000000
|
|
#define CFG_SYS_INIT_RAM_SIZE 0x80000
|
|
|
|
#define CFG_SYS_SDRAM_BASE 0x40000000
|
|
#define PHYS_SDRAM 0x40000000
|
|
#define PHYS_SDRAM_SIZE 0xc0000000 /* 3GB LPDDR4 one Rank */
|
|
|
|
/* Monitor Command Prompt */
|
|
|
|
#define CFG_SYS_FSL_ESDHC_ADDR 0
|
|
|
|
#endif
|