From 17ebeb7688b29fdb1c8a2487c13be8568bc1f889 Mon Sep 17 00:00:00 2001 From: Runmin Wang Date: Fri, 5 Aug 2016 09:51:15 -0700 Subject: ARM: dts: msm: Add support for apqcobalt v2 Add support for apqcobalt v2 on mtp, cdp and qrd platforms. CRs-Fixed: 1051130 Change-Id: I78d5fbe263ceeb592c47709d6189ce2c728b74c8 Signed-off-by: Runmin Wang --- Documentation/devicetree/bindings/arm/msm/msm.txt | 1 + arch/arm/boot/dts/qcom/Makefile | 5 ++++- arch/arm/boot/dts/qcom/apqcobalt-v2-cdp.dts | 22 ++++++++++++++++++++++ arch/arm/boot/dts/qcom/apqcobalt-v2-mtp.dts | 22 ++++++++++++++++++++++ arch/arm/boot/dts/qcom/apqcobalt-v2-qrd.dts | 22 ++++++++++++++++++++++ arch/arm/boot/dts/qcom/apqcobalt-v2.dtsi | 18 ++++++++++++++++++ 6 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/qcom/apqcobalt-v2-cdp.dts create mode 100644 arch/arm/boot/dts/qcom/apqcobalt-v2-mtp.dts create mode 100644 arch/arm/boot/dts/qcom/apqcobalt-v2-qrd.dts create mode 100644 arch/arm/boot/dts/qcom/apqcobalt-v2.dtsi diff --git a/Documentation/devicetree/bindings/arm/msm/msm.txt b/Documentation/devicetree/bindings/arm/msm/msm.txt index a35a8f0d6622..fa2ed7c9754b 100644 --- a/Documentation/devicetree/bindings/arm/msm/msm.txt +++ b/Documentation/devicetree/bindings/arm/msm/msm.txt @@ -182,6 +182,7 @@ compatible = "qcom,apqtitanium-cdp" compatible = "qcom,apqtitanium-mtp" compatible = "qcom,apqcobalt-cdp" compatible = "qcom,apqcobalt-mtp" +compatible = "qcom,apqcobalt-qrd" compatible = "qcom,mdm9630-cdp" compatible = "qcom,mdm9630-mtp" compatible = "qcom,mdm9630-sim" diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile index a42019b58897..0a359e704c5e 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -112,7 +112,10 @@ dtb-$(CONFIG_ARCH_MSMCOBALT) += msmcobalt-sim.dtb \ msmcobalt-v2-mtp.dtb \ msmcobalt-v2-cdp.dtb \ apqcobalt-mtp.dtb \ - apqcobalt-cdp.dtb + apqcobalt-cdp.dtb \ + apqcobalt-v2-mtp.dtb \ + apqcobalt-v2-cdp.dtb \ + apqcobalt-v2-qrd.dtb dtb-$(CONFIG_ARCH_MSMHAMSTER) += msmhamster-rumi.dtb diff --git a/arch/arm/boot/dts/qcom/apqcobalt-v2-cdp.dts b/arch/arm/boot/dts/qcom/apqcobalt-v2-cdp.dts new file mode 100644 index 000000000000..69eb9ef15c46 --- /dev/null +++ b/arch/arm/boot/dts/qcom/apqcobalt-v2-cdp.dts @@ -0,0 +1,22 @@ +/* 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.dtsi" +#include "msmcobalt-cdp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. APQ COBALT V2 CDP"; + compatible = "qcom,apqcobalt-cdp", "qcom,apqcobalt", "qcom,cdp"; + qcom,board-id = <1 0>; +}; diff --git a/arch/arm/boot/dts/qcom/apqcobalt-v2-mtp.dts b/arch/arm/boot/dts/qcom/apqcobalt-v2-mtp.dts new file mode 100644 index 000000000000..8587b56b289a --- /dev/null +++ b/arch/arm/boot/dts/qcom/apqcobalt-v2-mtp.dts @@ -0,0 +1,22 @@ +/* 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.dtsi" +#include "msmcobalt-mtp.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. APQ COBALT V2 MTP"; + compatible = "qcom,apqcobalt-mtp", "qcom,apqcobalt", "qcom,mtp"; + qcom,board-id = <8 0>; +}; diff --git a/arch/arm/boot/dts/qcom/apqcobalt-v2-qrd.dts b/arch/arm/boot/dts/qcom/apqcobalt-v2-qrd.dts new file mode 100644 index 000000000000..5a26313f9d59 --- /dev/null +++ b/arch/arm/boot/dts/qcom/apqcobalt-v2-qrd.dts @@ -0,0 +1,22 @@ +/* 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.dtsi" +#include "msmcobalt-qrd.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. APQ COBALT V2 QRD"; + compatible = "qcom,apqcobalt-qrd", "qcom,apqcobalt", "qcom,qrd"; + qcom,board-id = <11 0>; +}; diff --git a/arch/arm/boot/dts/qcom/apqcobalt-v2.dtsi b/arch/arm/boot/dts/qcom/apqcobalt-v2.dtsi new file mode 100644 index 000000000000..58abca9859d9 --- /dev/null +++ b/arch/arm/boot/dts/qcom/apqcobalt-v2.dtsi @@ -0,0 +1,18 @@ +/* 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. + */ + +#include "msmcobalt-v2.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. APQ COBALT V2"; + qcom,msm-id = <319 0x20000>; +}; -- cgit v1.2.3