Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12593e40 authored by shaoxing's avatar shaoxing
Browse files

ARM: dts: msm: Add DT for APQ8009 drone platform



APQ8909 drone platform varies from other msm8909 platform,
with no display panel, touch, NFC device support. Add Rome
Wifi, spi imu support for the same.

Change-Id: I3b67be4afa7ae132ec74cac9e6306417568b784d
Signed-off-by: default avatarshaoxing <shaoxing@codeaurora.org>
parent da67f97a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -237,6 +237,7 @@ dtb-$(CONFIG_ARCH_MSM8909) += msm8909-pm8916-mtp.dtb \
	msm8909-512mb-mtp-wcd9326-refboard.dtb \
	apq8009-mtp-wcd9326-refboard.dtb \
	apq8009-512mb-mtp-wcd9326-refboard.dtb \
	apq8009-mtp-drone.dtb \
	msm8909-mtp.dtb \
	msm8909-1gb-mtp.dtb

+53 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2016, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

/dts-v1/;

#include "msm8909-mtp.dtsi"
#include "msm8909-pm8916.dtsi"
#include "msm8909-pm8916-mtp.dtsi"
#include "apq8009-audio-external_codec.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. APQ8009 Drone Reference Board";
	compatible = "qcom,apq8009-mtp", "qcom,apq8009", "qcom,mtp";
	qcom,msm-id = <265 2>;
	qcom,board-id= <8 0xB>;
};

&soc {
	sound-9335 {
		qcom,audio-routing =
			"AIF4 VI", "MCLK",
			"RX_BIAS", "MCLK",
			"MADINPUT", "MCLK",
			"AMIC2", "MIC BIAS2",
			"MIC BIAS2", "Headset Mic",
			"DMIC0", "MIC BIAS1",
			"MIC BIAS1", "Digital Mic0",
			"DMIC1", "MIC BIAS1",
			"MIC BIAS1", "Digital Mic1",
			"DMIC2", "MIC BIAS3",
			"MIC BIAS3", "Digital Mic2",
			"DMIC3", "MIC BIAS3",
			"MIC BIAS3", "Digital Mic3",
			"SpkrLeft IN", "SPK1 OUT",
			"SpkrRight IN", "SPK2 OUT";
	};

	i2c@78b8000 {
		wcd9xxx_codec@d {
			qcom,cdc-reset-gpio = <&msm_gpio 27 0>;
		};
	};
};