]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/arm64/qcom/sdm845-mtp.dts
Import CK as of 21d3e319407d19dece16ee317c757ffc54a452bc, which makes its
[FreeBSD/FreeBSD.git] / sys / gnu / dts / arm64 / 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 &uart9 {
35         status = "okay";
36 };
37
38 /* PINCTRL - additions to nodes defined in sdm845.dtsi */
39
40 &qup_i2c10_default {
41         pinconf {
42                 pins = "gpio55", "gpio56";
43                 drive-strength = <2>;
44                 bias-disable;
45         };
46 };
47
48 &qup_uart9_default {
49         pinconf-tx {
50                 pins = "gpio4";
51                 drive-strength = <2>;
52                 bias-disable;
53         };
54
55         pinconf-rx {
56                 pins = "gpio5";
57                 drive-strength = <2>;
58                 bias-pull-up;
59         };
60 };