mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00

A new 'chassis-type' root node property has recently been approved for the device-tree specification, in order to provide a simple way for userspace to detect the device form factor and adjust their behavior accordingly. This patch fills in this property for end-user devices (such as laptops, smartphones and tablets) based on Qualcomm ARM64 processors. Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Reviewed-by: Stephan Gerhold <stephan@gerhold.net> # msm8916 Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211016102025.23346-4-arnaud.ferraris@collabora.com
45 lines
716 B
Text
45 lines
716 B
Text
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (c) 2020, Alexey Minnekhanov <alexey.min@gmail.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "sdm660.dtsi"
|
|
|
|
/ {
|
|
model = "Xiaomi Redmi Note 7";
|
|
compatible = "xiaomi,lavender", "qcom,sdm660";
|
|
chassis-type = "handset";
|
|
|
|
aliases {
|
|
serial0 = &blsp1_uart2;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
reserved-memory {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
ramoops@a0000000 {
|
|
compatible = "ramoops";
|
|
reg = <0x0 0xa0000000 0x0 0x400000>;
|
|
console-size = <0x20000>;
|
|
record-size = <0x20000>;
|
|
ftrace-size = <0x0>;
|
|
pmsg-size = <0x20000>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&blsp1_uart2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&tlmm {
|
|
gpio-reserved-ranges = <8 4>;
|
|
};
|