blob: 72486b208141e14f5c4a4397e309160dc7d50384 [file] [log] [blame]
Tiequan Luo7984a522018-05-07 11:22:27 +08001/*
2 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14/dts-v1/;
15
16#include "msm8909-mtp.dtsi"
17#include "8909-pm8916.dtsi"
18#include "msm8909-pm8916-mtp.dtsi"
19#include "apq8009-audio-external_codec.dtsi"
20
21/ {
22 model = "Qualcomm Technologies, Inc. APQ8009 Robot SOM refboard";
23 compatible = "qcom,apq8009-mtp", "qcom,apq8009", "qcom,mtp";
24 qcom,msm-id = <265 2>;
25 qcom,board-id = <8 0x15>;
26};
27
28&soc {
29 ext-codec {
30 qcom,msm-mbhc-hphl-swh = <0>;
31 qcom,audio-routing =
32 "AIF4 VI", "MCLK",
33 "RX_BIAS", "MCLK",
34 "MADINPUT", "MCLK",
35 "AMIC2", "MIC BIAS2",
36 "MIC BIAS2", "Headset Mic",
37 "DMIC0", "MIC BIAS1",
38 "MIC BIAS1", "Digital Mic0",
39 "DMIC1", "MIC BIAS1",
40 "MIC BIAS1", "Digital Mic1",
41 "DMIC2", "MIC BIAS3",
42 "MIC BIAS3", "Digital Mic2",
43 "DMIC3", "MIC BIAS3",
44 "MIC BIAS3", "Digital Mic3",
45 "SpkrLeft IN", "SPK1 OUT",
46 "SpkrRight IN", "SPK2 OUT";
47 };
48
49 sound-9335 {
50 status = "disabled";
51 };
52
53 i2c@78b8000 {
54 wcd9xxx_codec@d {
55 status = "disabled";
56 };
57 };
58
59 vph_pwr_vreg: vph_pwr_vreg {
60 compatible = "regulator-fixed";
61 status = "ok";
62 regulator-name = "vph_pwr";
63 regulator-always-on;
64 };
65
66 mdss_mdp: qcom,mdss_mdp@1a00000 {
67 status = "disabled";
68 };
Tim Jiang6b649f52018-05-08 13:52:17 +080069
70 bluetooth: bt_qca9379 {
71 compatible = "qca,qca9379";
72 qca,bt-reset-gpio = <&msm_gpio 47 0>; /* BT_EN */
73 };
Tiequan Luo7984a522018-05-07 11:22:27 +080074};
75
76&sdhc_2 {
77 status = "disabled";
78};
79
80&usb_otg {
81 interrupts = <0 134 0>,<0 140 0>,<0 136 0>;
82 interrupt-names = "core_irq", "async_irq", "phy_irq";
83 qcom,hsusb-otg-mode = <3>;
84 qcom,switch-vbus-w-id;
85 vbus_otg-supply = <&vph_pwr_vreg>;
86 extcon = <&pm8916_chg>;
87};
88
89&external_image_mem {
90 reg = <0x0 0x87a00000 0x0 0x0600000>;
91};
92
93&modem_adsp_mem {
94 reg = <0x0 0x88000000 0x0 0x01e00000>;
95};
96
97&peripheral_mem {
98 reg = <0x0 0x89e00000 0x0 0x0700000>;
99};
100
101&pm8916_chg {
102 status = "ok";
103};
104
105&pm8916_bms {
106 status = "ok";
107};
Tim Jiang6b649f52018-05-08 13:52:17 +0800108
109&blsp1_uart2_hs {
110 status = "ok";
111};