1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (c) 2020, Alexey Minnekhanov <alexey.min@gmail.com>
4 */
5
6/dts-v1/;
7
8#include "sdm660.dtsi"
9
10/ {
11	model = "Xiaomi Redmi Note 7";
12	compatible = "xiaomi,lavender", "qcom,sdm660";
13	chassis-type = "handset";
14
15	aliases {
16		serial0 = &blsp1_uart2;
17	};
18
19	chosen {
20		stdout-path = "serial0:115200n8";
21	};
22
23	reserved-memory {
24		#address-cells = <2>;
25		#size-cells = <2>;
26		ranges;
27
28		ramoops@a0000000 {
29			compatible = "ramoops";
30			reg = <0x0 0xa0000000 0x0 0x400000>;
31			console-size = <0x20000>;
32			record-size = <0x20000>;
33			ftrace-size = <0x0>;
34			pmsg-size = <0x20000>;
35		};
36	};
37};
38
39&blsp1_uart2 {
40	status = "okay";
41};
42
43&tlmm {
44	gpio-reserved-ranges = <8 4>;
45};
46