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
14	aliases {
15		serial0 = &blsp1_uart2;
16	};
17
18	chosen {
19		stdout-path = "serial0:115200n8";
20	};
21
22	reserved-memory {
23		#address-cells = <2>;
24		#size-cells = <2>;
25		ranges;
26
27		ramoops@a0000000 {
28			compatible = "ramoops";
29			reg = <0x0 0xa0000000 0x0 0x400000>;
30			console-size = <0x20000>;
31			record-size = <0x20000>;
32			ftrace-size = <0x0>;
33			pmsg-size = <0x20000>;
34		};
35	};
36};
37
38&blsp1_uart2 {
39	status = "okay";
40	pinctrl-names = "default";
41	pinctrl-0 = <&uart_console_active>;
42};
43
44&tlmm {
45	gpio-reserved-ranges = <8 4>;
46};
47