// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2024 FIXME */ /dts-v1/; #include "mt8167.dtsi" / { model = "Xiaomi Mi Smart Clock"; chassis-type = "embedded"; compatible = "xiaomi,x04g", "mediatek,mt8167"; // Empty nodes so the bootloader is happy - maybe! //__symbols__ {}; //memory {}; chosen { #address-cells = <2>; #size-cells = <2>; bootargs = "console=tty0 console=ttyS0,921600n1 earlycon=uart8250,mmio32,0x11005000 vmalloc=496M androidboot.hardware=mt8167 firmware_class.path=/vendor/firmware loop.max_part=7"; ranges; //framebuffer0: framebuffer@7f2c0000 { // compatible = "simple-framebuffer"; // reg = <0x0 0x7f2c0000 0x0 (800 * 480 * 3)>; // width = <800>; // height = <480>; // stride = <(800 * 3)>; // format = "r8g8b8"; //}; }; memory { device_type = "memory"; reg = <0 0x40000000 0 0x20000000>; }; //reserved-memory { // framebuffer@7f2c0000 { // reg = <0x00 0x7f2c0000 0x00 0x700000>; // no-map; // }; //}; reserved-memory { #address-cells = <0x02>; #size-cells = <0x02>; ranges; atf-reserved-memory { compatible = "mediatek,mt8167-atf-reserved-memory"; no-map; reg = <0x00 0x54600000 0x00 0x30000>; }; consys-reserve-memory { compatible = "mediatek,consys-reserve-memory"; no-map; size = <0x00 0x200000>; alignment = <0x00 0x200000>; }; }; };