Skip to content

Commit 5a8e7b4

Browse files
Max ShevchenkoAngeloGioacchino Del Regno
authored andcommitted
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>
1 parent 7f3f9e5 commit 5a8e7b4

2 files changed

Lines changed: 57 additions & 0 deletions

File tree

arch/arm/boot/dts/mediatek/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
dtb-$(CONFIG_ARCH_MEDIATEK) += \
33
mt2701-evb.dtb \
44
mt6572-jty-d101.dtb \
5+
mt6572-lenovo-a369i.dtb \
56
mt6580-evbp1.dtb \
67
mt6582-prestigio-pmt5008-3g.dtb \
78
mt6589-aquaris5.dtb \
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
/*
3+
* Copyright (c) 2025 Max Shevchenko <wctrl@proton.me>
4+
*/
5+
6+
/dts-v1/;
7+
#include "mt6572.dtsi"
8+
9+
/ {
10+
model = "Lenovo A369i";
11+
compatible = "lenovo,a369i", "mediatek,mt6572";
12+
13+
aliases {
14+
serial0 = &uart0;
15+
};
16+
17+
chosen {
18+
#address-cells = <1>;
19+
#size-cells = <1>;
20+
stdout-path = "serial0:921600n8";
21+
22+
framebuffer: framebuffer@9fa00000 {
23+
compatible = "simple-framebuffer";
24+
memory-region = <&framebuffer_reserved>;
25+
width = <480>;
26+
height = <800>;
27+
stride = <(480 * 2)>;
28+
format = "r5g6b5";
29+
};
30+
};
31+
32+
memory@80000000 {
33+
device_type = "memory";
34+
reg = <0x80000000 0x20000000>;
35+
};
36+
37+
reserved-memory {
38+
#address-cells = <1>;
39+
#size-cells = <1>;
40+
ranges;
41+
42+
connsys@80000000 {
43+
reg = <0x80000000 0x100000>;
44+
no-map;
45+
};
46+
47+
framebuffer_reserved: framebuffer@9fa00000 {
48+
reg = <0x9fa00000 0x600000>;
49+
no-map;
50+
};
51+
};
52+
};
53+
54+
&uart0 {
55+
status = "okay";
56+
};

0 commit comments

Comments
 (0)