| 1 |
// SPDX-License-Identifier: GPL-2.0 |
| 2 |
|
| 3 |
/dts-v1/; |
| 4 |
|
| 5 |
#include "sdm845-xiaomi-beryllium-common.dtsi" |
| 6 |
|
| 7 |
/ { |
| 8 |
model = "Xiaomi Pocophone F1 (Tianma)"; |
| 9 |
compatible = "xiaomi,beryllium", "qcom,sdm845"; |
| 10 |
}; |
| 11 |
|
| 12 |
&display_panel { |
| 13 |
compatible = "tianma,fhd-video", "novatek,nt36672a"; |
| 14 |
status = "okay"; |
| 15 |
}; |
| 16 |
|
| 17 |
&i2c14 { |
| 18 |
status = "okay"; |
| 19 |
|
| 20 |
touchscreen@1 { |
| 21 |
compatible = "novatek,nt36672a-ts"; |
| 22 |
reg = <0x01>; |
| 23 |
|
| 24 |
interrupts-extended = <&tlmm 31 IRQ_TYPE_EDGE_RISING>; |
| 25 |
reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>; |
| 26 |
panel = <&display_panel>; |
| 27 |
|
| 28 |
iovcc-supply = <&vreg_l14a_1p8>; |
| 29 |
vcc-supply = <&lab>; |
| 30 |
|
| 31 |
pinctrl-0 = <&ts_int_default &ts_reset_default>; |
| 32 |
pinctrl-1 = <&ts_int_sleep &ts_reset_sleep>; |
| 33 |
pinctrl-names = "default", "sleep"; |
| 34 |
|
| 35 |
touchscreen-size-x = <1080>; |
| 36 |
touchscreen-size-y = <2246>; |
| 37 |
}; |
| 38 |
}; |