From 0eed236e7876a567351f682ee0cb33f49d8de662 Mon Sep 17 00:00:00 2001 From: Mohamed Moussa Date: Wed, 16 Nov 2016 16:54:32 -0800 Subject: [PATCH] ARM: dts: msm: Add DT for mediabox variant of apqcobalt Device tree creation of new mediabox variant of apqcobalt. CRs-Fixed: 1091110 Change-Id: I4f8070e7fd0aa39664208cfab2448b5a95ab2326 Signed-off-by: Mohamed Moussa Signed-off-by: David Ng --- arch/arm/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/apqcobalt-v2.1-mediabox.dts | 30 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/apqcobalt-v2.1-mediabox.dts diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile index 7810842100cd..88346d84096d 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -127,6 +127,7 @@ dtb-$(CONFIG_ARCH_MSMCOBALT) += msmcobalt-sim.dtb \ apqcobalt-v2.1-mtp.dtb \ apqcobalt-v2.1-cdp.dtb \ apqcobalt-v2.1-qrd.dtb \ + apqcobalt-v2.1-mediabox.dtb \ msmcobalt-v2.1-interposer-msmfalcon-cdp.dtb \ msmcobalt-v2.1-interposer-msmfalcon-mtp.dtb \ msmcobalt-v2.1-interposer-msmfalcon-qrd.dtb diff --git a/arch/arm/boot/dts/qcom/apqcobalt-v2.1-mediabox.dts b/arch/arm/boot/dts/qcom/apqcobalt-v2.1-mediabox.dts new file mode 100644 index 000000000000..86df23dbb486 --- /dev/null +++ b/arch/arm/boot/dts/qcom/apqcobalt-v2.1-mediabox.dts @@ -0,0 +1,30 @@ +/* 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 "apqcobalt-v2.1.dtsi" +#include "msmcobalt-cdp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. APQ COBALT V2.1 mediabox"; + compatible = "qcom,apqcobalt-cdp", "qcom,apqcobalt", "qcom,cdp"; + qcom,board-id = <8 1>; +}; + +&pil_modem { + status = "disabled"; +}; + +&mdss_mdp { + qcom,mdss-pref-prim-intf = "hdmi"; +};