ARM: dts: msm: Add device tree overlay for sdm640

Add device tree files required to build sdm640 with overlay support.

Change-Id: I51ccd9d34b859d0d3b5b3646586fcd27ee919d18
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
This commit is contained in:
Srinivas Ramana 2018-04-11 11:02:26 +05:30 committed by Gerrit - the friendly Code Review server
parent b4fd8fc10f
commit eb9640dc66
6 changed files with 130 additions and 0 deletions

View File

@ -40,10 +40,23 @@ dtb-$(CONFIG_ARCH_SDMSHRIKE) += sdmshrike-rumi.dtb \
sdmshrike-mtp.dtb \
sdmshrike-cdp.dtb
ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
dtbo-$(CONFIG_ARCH_SDM640) += \
sdm640-cdp-overlay.dtbo \
sdm640-mtp-overlay.dtbo \
sdm640-rumi-overlay.dtbo \
sdm640-qrd-overlay.dtbo \
sdm640-cdp-overlay.dtbo-base := sdm640.dtb
sdm640-mtp-overlay.dtbo-base := sdm640.dtb
sdm640-rumi-overlay.dtbo-base := sdm640.dtb
sdm640-qrd-overlay.dtbo-base := sdm640.dtb
else
dtb-$(CONFIG_ARCH_SDM640) += sdm640-rumi.dtb \
sdm640-mtp.dtb \
sdm640-cdp.dtb \
sdm640-qrd.dtb
endif
ifeq ($(CONFIG_ARM64),y)
always := $(dtb-y)

View File

@ -0,0 +1,24 @@
/* Copyright (c) 2018, 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/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "sdm640-cdp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SDM640 CDP";
compatible = "qcom,sdm640-cdp", "qcom,sdm640", "qcom,cdp";
qcom,board-id = <1 0>;
};

View File

@ -0,0 +1,24 @@
/* Copyright (c) 2018, 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/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "sdm640-mtp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SDM640 MTP";
compatible = "qcom,sdm640-mtp", "qcom,sdm640", "qcom,mtp";
qcom,board-id = <8 0>;
};

View File

@ -0,0 +1,24 @@
/* Copyright (c) 2018, 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/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "sdm640-qrd.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SDM640 QRD";
compatible = "qcom,sdm640-qrd", "qcom,sdm640", "qcom,qrd";
qcom,board-id = <11 0>;
};

View File

@ -0,0 +1,24 @@
/* Copyright (c) 2018, 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/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "sdm640-rumi.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SDM640 RUMI";
compatible = "qcom,sdm640-rumi", "qcom,sdm640", "qcom,rumi";
qcom,board-id = <15 0>;
};

View File

@ -0,0 +1,21 @@
/* Copyright (c) 2018, 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 "sdm640.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SDM640 SoC";
compatible = "qcom,sdm640";
qcom,board-id = <0 0>;
};