mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00:00
board: samsung: add initial support for coreprimevelte board
Samsung Galaxy Core Prime VE LTE is an entry-level PXA1908-based smartphone. It has 1GB of DRAM, 8GB eMMC and USB connectivity. Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
08b27fce29
commit
5983f0ff61
6 changed files with 118 additions and 0 deletions
|
@ -1226,6 +1226,8 @@ dtb-$(CONFIG_ARCH_QEMU) += qemu-arm.dtb qemu-arm64.dtb
|
|||
dtb-$(CONFIG_TARGET_CORSTONE1000) += corstone1000-mps3.dtb \
|
||||
corstone1000-fvp.dtb
|
||||
|
||||
dtb-$(CONFIG_TARGET_COREPRIMEVELTE) += pxa1908-samsung-coreprimevelte.dtb
|
||||
|
||||
include $(srctree)/scripts/Makefile.dts
|
||||
|
||||
# Add any required device tree compiler flags here
|
||||
|
|
74
arch/arm/dts/pxa1908-samsung-coreprimevelte.dts
Normal file
74
arch/arm/dts/pxa1908-samsung-coreprimevelte.dts
Normal file
|
@ -0,0 +1,74 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
#include "pxa1908.dtsi"
|
||||
|
||||
/ {
|
||||
pxa,rev-id = <3928 2>;
|
||||
model = "Samsung Galaxy Core Prime VE LTE";
|
||||
compatible = "samsung,coreprimevelte", "marvell,pxa1908";
|
||||
|
||||
aliases {
|
||||
serial0 = &uart0;
|
||||
};
|
||||
|
||||
chosen {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
ranges;
|
||||
|
||||
stdout-path = "serial0:115200n8";
|
||||
|
||||
/* S-Boot places the initramfs here */
|
||||
linux,initrd-start = <0x4d70000>;
|
||||
linux,initrd-end = <0x5000000>;
|
||||
|
||||
fb0: framebuffer@17177000 {
|
||||
compatible = "simple-framebuffer";
|
||||
reg = <0 0x17177000 0 (480 * 800 * 4)>;
|
||||
width = <480>;
|
||||
height = <800>;
|
||||
stride = <(480 * 4)>;
|
||||
format = "a8r8g8b8";
|
||||
};
|
||||
};
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0 0x1000000 0 0x3f000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
ranges;
|
||||
|
||||
framebuffer@17000000 {
|
||||
reg = <0 0x17000000 0 0x1800000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
gpu@9000000 {
|
||||
reg = <0 0x9000000 0 0x1000000>;
|
||||
};
|
||||
|
||||
/* Communications processor, aka modem */
|
||||
cp@5000000 {
|
||||
reg = <0 0x5000000 0 0x3000000>;
|
||||
};
|
||||
|
||||
cm3@a000000 {
|
||||
reg = <0 0xa000000 0 0x80000>;
|
||||
};
|
||||
|
||||
seclog@8000000 {
|
||||
reg = <0 0x8000000 0 0x100000>;
|
||||
};
|
||||
|
||||
ramoops@8100000 {
|
||||
compatible = "ramoops";
|
||||
reg = <0 0x8100000 0 0x40000>;
|
||||
record-size = <0x8000>;
|
||||
console-size = <0x20000>;
|
||||
max-reason = <5>;
|
||||
};
|
||||
};
|
||||
};
|
|
@ -1,6 +1,12 @@
|
|||
if ARCH_MMP
|
||||
|
||||
config TARGET_COREPRIMEVELTE
|
||||
bool "Support coreprimevelte"
|
||||
select LINUX_KERNEL_IMAGE_HEADER
|
||||
|
||||
config LNX_KRNL_IMG_TEXT_OFFSET_BASE
|
||||
default TEXT_BASE
|
||||
|
||||
source "board/samsung/coreprimevelte/Kconfig"
|
||||
|
||||
endif
|
||||
|
|
12
board/samsung/coreprimevelte/Kconfig
Normal file
12
board/samsung/coreprimevelte/Kconfig
Normal file
|
@ -0,0 +1,12 @@
|
|||
if TARGET_COREPRIMEVELTE
|
||||
|
||||
config SYS_BOARD
|
||||
default "coreprimevelte"
|
||||
|
||||
config SYS_VENDOR
|
||||
default "samsung"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
default "pxa1908"
|
||||
|
||||
endif
|
6
board/samsung/coreprimevelte/MAINTAINERS
Normal file
6
board/samsung/coreprimevelte/MAINTAINERS
Normal file
|
@ -0,0 +1,6 @@
|
|||
Samsung Galaxy Core Prime VE LTE support
|
||||
M: Duje Mihanović <duje.mihanovic@skole.hr>
|
||||
S: Maintained
|
||||
T: git git://git.dujemihanovic.xyz/u-boot.git
|
||||
F: board/samsung/coreprimevelte/
|
||||
F: configs/coreprimevelte_defconfig
|
18
configs/coreprimevelte_defconfig
Normal file
18
configs/coreprimevelte_defconfig
Normal file
|
@ -0,0 +1,18 @@
|
|||
CONFIG_ARM=y
|
||||
CONFIG_SKIP_LOWLEVEL_INIT=y
|
||||
CONFIG_COUNTER_FREQUENCY=26000000
|
||||
CONFIG_ARCH_CPU_INIT=y
|
||||
CONFIG_ARCH_MMP=y
|
||||
CONFIG_TEXT_BASE=0x1000000
|
||||
CONFIG_NR_DRAM_BANKS=2
|
||||
CONFIG_DEFAULT_DEVICE_TREE="pxa1908-samsung-coreprimevelte"
|
||||
CONFIG_TARGET_COREPRIMEVELTE=y
|
||||
CONFIG_SYS_LOAD_ADDR=0x1000000
|
||||
CONFIG_ARMV8_PSCI=y
|
||||
CONFIG_FIT=y
|
||||
# CONFIG_DISPLAY_CPUINFO is not set
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_DM=y
|
||||
CONFIG_OF_BOARD=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_SYS_NS16550_MEM32=y
|
Loading…
Add table
Reference in a new issue