| 1 |
// SPDX-License-Identifier: BSD-3-Clause |
| 2 |
/* |
| 3 |
* OnePlus 5T (dumpling) device tree |
| 4 |
* |
| 5 |
* Copyright (c) 2021, Jami Kettunen <[email protected]> |
| 6 |
*/ |
| 7 |
|
| 8 |
#include "msm8998-oneplus-common.dtsi" |
| 9 |
|
| 10 |
/ { |
| 11 |
model = "OnePlus 5T"; |
| 12 |
compatible = "oneplus,dumpling", "qcom,msm8998"; |
| 13 |
chassis-type = "handset"; |
| 14 |
/* Required for bootloader to select correct board */ |
| 15 |
qcom,board-id = <8 0 17801 43>; |
| 16 |
}; |
| 17 |
|
| 18 |
/* Update the screen height values from 1920 to 2160 on the 5T */ |
| 19 |
&framebuffer0 { |
| 20 |
height = <2160>; |
| 21 |
}; |
| 22 |
|
| 23 |
/* Adjust digitizer area height to match the 5T's taller panel */ |
| 24 |
&rmi4_f12 { |
| 25 |
touchscreen-y-mm = <137>; |
| 26 |
}; |