forked from Minki/linux
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:
parent
b2a6e3d183
commit
fa8a9017dd
@ -3,6 +3,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \
|
|||||||
exynos5433-tm2.dtb \
|
exynos5433-tm2.dtb \
|
||||||
exynos5433-tm2e.dtb \
|
exynos5433-tm2e.dtb \
|
||||||
exynos7-espresso.dtb \
|
exynos7-espresso.dtb \
|
||||||
|
exynos7885-a10.dtb \
|
||||||
exynos7885-jackpotlte.dtb \
|
exynos7885-jackpotlte.dtb \
|
||||||
exynos850-e850-96.dtb \
|
exynos850-e850-96.dtb \
|
||||||
exynosautov9-sadk.dtb
|
exynosautov9-sadk.dtb
|
||||||
|
47
arch/arm64/boot/dts/exynos/exynos7885-a10.dts
Normal file
47
arch/arm64/boot/dts/exynos/exynos7885-a10.dts
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
5379
arch/arm64/configs/jackpotlte_defconfig
Normal file
5379
arch/arm64/configs/jackpotlte_defconfig
Normal file
File diff suppressed because it is too large
Load Diff
@ -307,6 +307,9 @@ int __init of_setup_earlycon(const struct earlycon_id *match,
|
|||||||
strscpy(early_console_dev.options, options,
|
strscpy(early_console_dev.options, options,
|
||||||
sizeof(early_console_dev.options));
|
sizeof(early_console_dev.options));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
early_console_dev.node = node;
|
||||||
|
|
||||||
earlycon_init(&early_console_dev, match->name);
|
earlycon_init(&early_console_dev, match->name);
|
||||||
err = match->setup(&early_console_dev, options);
|
err = match->setup(&early_console_dev, options);
|
||||||
earlycon_print_info(&early_console_dev);
|
earlycon_print_info(&early_console_dev);
|
||||||
|
@ -703,6 +703,7 @@ struct earlycon_device {
|
|||||||
struct uart_port port;
|
struct uart_port port;
|
||||||
char options[16]; /* e.g., 115200n8 */
|
char options[16]; /* e.g., 115200n8 */
|
||||||
unsigned int baud;
|
unsigned int baud;
|
||||||
|
unsigned long node;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct earlycon_id {
|
struct earlycon_id {
|
||||||
|
Loading…
Reference in New Issue
Block a user