123a6da79SAlexey Minnekhanov// SPDX-License-Identifier: GPL-2.0-only
223a6da79SAlexey Minnekhanov/*
323a6da79SAlexey Minnekhanov * Copyright (c) 2020, Alexey Minnekhanov <alexey.min@gmail.com>
423a6da79SAlexey Minnekhanov */
523a6da79SAlexey Minnekhanov
623a6da79SAlexey Minnekhanov/dts-v1/;
723a6da79SAlexey Minnekhanov
823a6da79SAlexey Minnekhanov#include "sdm660.dtsi"
923a6da79SAlexey Minnekhanov
1023a6da79SAlexey Minnekhanov/ {
1123a6da79SAlexey Minnekhanov	model = "Xiaomi Redmi Note 7";
1223a6da79SAlexey Minnekhanov	compatible = "xiaomi,lavender", "qcom,sdm660";
13*eaa744b1SArnaud Ferraris	chassis-type = "handset";
1423a6da79SAlexey Minnekhanov
1523a6da79SAlexey Minnekhanov	aliases {
1623a6da79SAlexey Minnekhanov		serial0 = &blsp1_uart2;
1723a6da79SAlexey Minnekhanov	};
1823a6da79SAlexey Minnekhanov
1923a6da79SAlexey Minnekhanov	chosen {
2023a6da79SAlexey Minnekhanov		stdout-path = "serial0:115200n8";
2123a6da79SAlexey Minnekhanov	};
2223a6da79SAlexey Minnekhanov
2323a6da79SAlexey Minnekhanov	reserved-memory {
2423a6da79SAlexey Minnekhanov		#address-cells = <2>;
2523a6da79SAlexey Minnekhanov		#size-cells = <2>;
2623a6da79SAlexey Minnekhanov		ranges;
2723a6da79SAlexey Minnekhanov
2823a6da79SAlexey Minnekhanov		ramoops@a0000000 {
2923a6da79SAlexey Minnekhanov			compatible = "ramoops";
3023a6da79SAlexey Minnekhanov			reg = <0x0 0xa0000000 0x0 0x400000>;
3123a6da79SAlexey Minnekhanov			console-size = <0x20000>;
3223a6da79SAlexey Minnekhanov			record-size = <0x20000>;
3323a6da79SAlexey Minnekhanov			ftrace-size = <0x0>;
3423a6da79SAlexey Minnekhanov			pmsg-size = <0x20000>;
3523a6da79SAlexey Minnekhanov		};
3623a6da79SAlexey Minnekhanov	};
3723a6da79SAlexey Minnekhanov};
3823a6da79SAlexey Minnekhanov
3923a6da79SAlexey Minnekhanov&blsp1_uart2 {
4023a6da79SAlexey Minnekhanov	status = "okay";
4123a6da79SAlexey Minnekhanov};
4223a6da79SAlexey Minnekhanov
4323a6da79SAlexey Minnekhanov&tlmm {
4423a6da79SAlexey Minnekhanov	gpio-reserved-ranges = <8 4>;
4523a6da79SAlexey Minnekhanov};
46