GNU Linux-libre 4.19.211-gnu1
[releases.git] / arch / arm64 / boot / dts / qcom / sdm845-mtp.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * SDM845 MTP board device tree source
4  *
5  * Copyright (c) 2018, The Linux Foundation. All rights reserved.
6  */
7
8 /dts-v1/;
9
10 #include "sdm845.dtsi"
11
12 / {
13         model = "Qualcomm Technologies, Inc. SDM845 MTP";
14         compatible = "qcom,sdm845-mtp";
15
16         aliases {
17                 serial0 = &uart9;
18         };
19
20         chosen {
21                 stdout-path = "serial0:115200n8";
22         };
23 };
24
25 &i2c10 {
26         status = "okay";
27         clock-frequency = <400000>;
28 };
29
30 &qupv3_id_1 {
31         status = "okay";
32 };
33
34 &tlmm {
35         gpio-reserved-ranges = <0 4>, <81 4>;
36 };
37
38 &uart9 {
39         status = "okay";
40 };
41
42 /* PINCTRL - additions to nodes defined in sdm845.dtsi */
43
44 &qup_i2c10_default {
45         pinconf {
46                 pins = "gpio55", "gpio56";
47                 drive-strength = <2>;
48                 bias-disable;
49         };
50 };
51
52 &qup_uart9_default {
53         pinconf-tx {
54                 pins = "gpio4";
55                 drive-strength = <2>;
56                 bias-disable;
57         };
58
59         pinconf-rx {
60                 pins = "gpio5";
61                 drive-strength = <2>;
62                 bias-pull-up;
63         };
64 };