blob: 6b3aea071ea6dc0b5a021270df591dd5a46a521a [file] [log] [blame]
Jagadeesh Banisettib2d8daa2018-04-03 15:43:53 +05301/*
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 Dragon Board";
23 compatible = "qcom,apq8009-mtp", "qcom,apq8009", "qcom,mtp";
24 qcom,msm-id = <265 2>;
25 qcom,board-id = <32 0x0>;
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 };
69};
70
71&sdhc_2 {
72 status = "disabled";
73};
74
75&usb_otg {
Arulpandiyan Vadivelacd7fb82018-04-19 12:38:34 +053076 interrupts = <0 134 0>,<0 140 0>,<0 136 0>;
77 interrupt-names = "core_irq", "async_irq", "phy_irq";
Jagadeesh Banisettib2d8daa2018-04-03 15:43:53 +053078 qcom,hsusb-otg-mode = <3>;
Arulpandiyan Vadivelacd7fb82018-04-19 12:38:34 +053079 qcom,switch-vbus-w-id;
Jagadeesh Banisettib2d8daa2018-04-03 15:43:53 +053080 vbus_otg-supply = <&vph_pwr_vreg>;
Arulpandiyan Vadivelacd7fb82018-04-19 12:38:34 +053081 extcon = <&pm8916_chg>;
Jagadeesh Banisettib2d8daa2018-04-03 15:43:53 +053082};
83
84&external_image_mem {
85 reg = <0x0 0x87a00000 0x0 0x0600000>;
86};
87
88&modem_adsp_mem {
89 reg = <0x0 0x88000000 0x0 0x01e00000>;
90};
91
92&peripheral_mem {
93 reg = <0x0 0x89e00000 0x0 0x0700000>;
94};
95
96&i2c_4 {
97 smb1360_otg_supply: smb1360-chg-fg@14 {
98 compatible = "qcom,smb1360-chg-fg";
99 reg = <0x14>;
100 interrupt-parent = <&msm_gpio>;
101 interrupts = <58 8>;
102 pinctrl-names = "default";
103 pinctrl-0 = <&smb_int_default>;
104 qcom,charging-disabled;
105 qcom,empty-soc-disabled;
106 qcom,chg-inhibit-disabled;
107 qcom,float-voltage-mv = <4200>;
108 qcom,iterm-ma = <200>;
109 qcom,recharge-thresh-mv = <100>;
110 qcom,thermal-mitigation = <1500 700 600 0>;
111 regulator-name = "smb1360_otg_vreg";
112 status= "disabled";
113 };
114};
Arulpandiyan Vadivelacd7fb82018-04-19 12:38:34 +0530115
Madhukar Sandid7c1dc62018-04-27 12:21:17 +0530116&firmware {
117 android {
118 compatible = "android,firmware";
119 fstab {
120 compatible = "android,fstab";
121 vendor_fstab: vendor {
122 fsmgr_flags = "wait,slotselect";
123 };
124 /delete-node/ system;
125 };
126 };
127};
128
Arulpandiyan Vadivelacd7fb82018-04-19 12:38:34 +0530129&pm8916_chg {
130 status = "ok";
131};
132
133&pm8916_bms {
134 status = "ok";
135};