Last active 1724175054

mt8167-xiaomi-x04g.dts Raw
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (c) 2024 FIXME
4 */
5
6/dts-v1/;
7
8#include "mt8167.dtsi"
9
10/ {
11 model = "Xiaomi Mi Smart Clock";
12 chassis-type = "embedded";
13 compatible = "xiaomi,x04g", "mediatek,mt8167";
14
15 // Empty nodes so the bootloader is happy - maybe!
16 //__symbols__ {};
17 //memory {};
18
19 chosen {
20 #address-cells = <2>;
21 #size-cells = <2>;
22 bootargs = "console=tty0 console=ttyS0,921600n1 earlycon=uart8250,mmio32,0x11005000 vmalloc=496M androidboot.hardware=mt8167 firmware_class.path=/vendor/firmware loop.max_part=7";
23 ranges;
24
25 //framebuffer0: framebuffer@7f2c0000 {
26 // compatible = "simple-framebuffer";
27 // reg = <0x0 0x7f2c0000 0x0 (800 * 480 * 3)>;
28 // width = <800>;
29 // height = <480>;
30 // stride = <(800 * 3)>;
31 // format = "r8g8b8";
32 //};
33 };
34
35 memory {
36 device_type = "memory";
37 reg = <0 0x40000000 0 0x20000000>;
38 };
39
40 //reserved-memory {
41 // framebuffer@7f2c0000 {
42 // reg = <0x00 0x7f2c0000 0x00 0x700000>;
43 // no-map;
44 // };
45 //};
46
47 reserved-memory {
48 #address-cells = <0x02>;
49 #size-cells = <0x02>;
50 ranges;
51
52 atf-reserved-memory {
53 compatible = "mediatek,mt8167-atf-reserved-memory";
54 no-map;
55 reg = <0x00 0x54600000 0x00 0x30000>;
56 };
57
58 consys-reserve-memory {
59 compatible = "mediatek,consys-reserve-memory";
60 no-map;
61 size = <0x00 0x200000>;
62 alignment = <0x00 0x200000>;
63 };
64 };
65};
66