Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: BSD-3-Clause
0002 /*
0003  * OnePlus 5T (dumpling) device tree
0004  *
0005  * Copyright (c) 2021, Jami Kettunen <jamipkettunen@gmail.com>
0006  */
0007 
0008 #include "msm8998-oneplus-common.dtsi"
0009 
0010 / {
0011         model = "OnePlus 5T";
0012         compatible = "oneplus,dumpling", "qcom,msm8998";
0013         chassis-type = "handset";
0014         /* Required for bootloader to select correct board */
0015         qcom,board-id = <8 0 17801 43>;
0016 };
0017 
0018 /* Update the screen height values from 1920 to 2160 on the 5T */
0019 &framebuffer0 {
0020         height = <2160>;
0021 };
0022 
0023 /* Adjust digitizer area height to match the 5T's taller panel */
0024 &rmi4_f12 {
0025         touchscreen-y-mm = <137>;
0026 };