mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
ARM: dts: mediatek: add basic support for Lenovo A369i board
This smartphone uses a MediaTek MT6572 system-on-chip with 512MB of RAM. It can currently boot into initramfs with a working UART and Simple Framebuffer using already initialized panel by the bootloader. Signed-off-by: Max Shevchenko <wctrl@proton.me> Link: https://lore.kernel.org/r/20250702-mt6572-v4-11-bde75b7ed445@proton.me Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
This commit is contained in:
parent
7f3f9e5653
commit
5a8e7b4eaa
2 changed files with 57 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
dtb-$(CONFIG_ARCH_MEDIATEK) += \
|
||||
mt2701-evb.dtb \
|
||||
mt6572-jty-d101.dtb \
|
||||
mt6572-lenovo-a369i.dtb \
|
||||
mt6580-evbp1.dtb \
|
||||
mt6582-prestigio-pmt5008-3g.dtb \
|
||||
mt6589-aquaris5.dtb \
|
||||
|
|
56
arch/arm/boot/dts/mediatek/mt6572-lenovo-a369i.dts
Normal file
56
arch/arm/boot/dts/mediatek/mt6572-lenovo-a369i.dts
Normal file
|
@ -0,0 +1,56 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/*
|
||||
* Copyright (c) 2025 Max Shevchenko <wctrl@proton.me>
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
#include "mt6572.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Lenovo A369i";
|
||||
compatible = "lenovo,a369i", "mediatek,mt6572";
|
||||
|
||||
aliases {
|
||||
serial0 = &uart0;
|
||||
};
|
||||
|
||||
chosen {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
stdout-path = "serial0:921600n8";
|
||||
|
||||
framebuffer: framebuffer@9fa00000 {
|
||||
compatible = "simple-framebuffer";
|
||||
memory-region = <&framebuffer_reserved>;
|
||||
width = <480>;
|
||||
height = <800>;
|
||||
stride = <(480 * 2)>;
|
||||
format = "r5g6b5";
|
||||
};
|
||||
};
|
||||
|
||||
memory@80000000 {
|
||||
device_type = "memory";
|
||||
reg = <0x80000000 0x20000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
connsys@80000000 {
|
||||
reg = <0x80000000 0x100000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
framebuffer_reserved: framebuffer@9fa00000 {
|
||||
reg = <0x9fa00000 0x600000>;
|
||||
no-map;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "okay";
|
||||
};
|
Loading…
Add table
Reference in a new issue