provisorium: everything i did so far on a10 because im too lazy to seperate everytihng for now

Signed-off-by: Leandro Friedrich <email@leandrofriedrich.de>
This commit is contained in:
Leandro Friedrich 2022-11-14 13:55:58 +01:00
parent b2a6e3d183
commit fa8a9017dd
5 changed files with 5431 additions and 0 deletions

View File

@ -3,6 +3,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \
exynos5433-tm2.dtb \
exynos5433-tm2e.dtb \
exynos7-espresso.dtb \
exynos7885-a10.dtb \
exynos7885-jackpotlte.dtb \
exynos850-e850-96.dtb \
exynosautov9-sadk.dtb

View File

@ -0,0 +1,47 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2021, Leandro Friedrich <email@leandrofriedrich.de>
*/
/dts-v1/;
#include "exynos7885.dtsi"
/ {
model = "Samsung Galaxy A10";
compatible = "samsung,a10", "samsung,exynos7885";
#address-cells = <2>;
#size-cells = <2>;
chosen {
#address-cells = <2>;
#size-cells = <2>;
ranges;
stdout-path = "/chosen/framebuffer@0xec000000";
framebuffer@0xec000000 {
compatible = "simple-framebuffer";
reg = <0x0 0xec000000 0x0 (720*1520*4)>;
width = <720>;
height = <1520>;
stride = <(720 * 4)>;
format = "a8r8g8b8";
};
};
memory@80000000 {
device_type = "memory";
reg = <0x0 0x80000000 0x3da00000>,
<0x0 0xc0000000 0x40000000>,
<0x8 0x80000000 0x40000000>;
};
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
framebuffer@0xec000000 {
reg = <0x0 0xec000000 0x0 (720*1520*4)>;
no-map;
};
};
};

File diff suppressed because it is too large Load Diff

View File

@ -307,6 +307,9 @@ int __init of_setup_earlycon(const struct earlycon_id *match,
strscpy(early_console_dev.options, options,
sizeof(early_console_dev.options));
}
early_console_dev.node = node;
earlycon_init(&early_console_dev, match->name);
err = match->setup(&early_console_dev, options);
earlycon_print_info(&early_console_dev);

View File

@ -703,6 +703,7 @@ struct earlycon_device {
struct uart_port port;
char options[16]; /* e.g., 115200n8 */
unsigned int baud;
unsigned long node;
};
struct earlycon_id {