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

Commit 2bd2fa5c authored by Jeevan Shriram's avatar Jeevan Shriram
Browse files

ARM: dts: msm: Add devicetree overlay files for sdmshrike



Add support for devicetree overlay on sdmshrike target.

Change-Id: I372d4e8d5cf2940c047c466e59bf7a918801b240
Signed-off-by: default avatarJeevan Shriram <jshriram@codeaurora.org>
parent 08a67b4b
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -36,9 +36,18 @@ dtb-$(CONFIG_ARCH_SM8150) += sm8150-rumi.dtb \
	sm8150-v2-qrd.dtb
endif

ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
	dtbo-$(CONFIG_ARCH_SDMSHRIKE) += \
		sdmshrike-cdp-overlay.dtbo \
		sdmshrike-mtp-overlay.dtbo

sdmshrike-cdp-overlay.dtbo-base := sdmshrike.dtb
sdmshrike-mtp-overlay.dtbo-base := sdmshrike.dtb
else
dtb-$(CONFIG_ARCH_SDMSHRIKE)	+= sdmshrike-rumi.dtb \
	sdmshrike-mtp.dtb \
	sdmshrike-cdp.dtb
endif

dtb-$(CONFIG_ARCH_SDM640)	+= sdm640-rumi.dtb \
	sdm640-mtp.dtb \
+26 −0
Original line number Diff line number Diff line
/* 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/clock/qcom,gcc-sdmshrike.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

#include "sdmshrike-cdp.dtsi"

/ {
	model = "CDP";
	compatible = "qcom,sdmshrike-cdp", "qcom,sdmshrike", "qcom,cdp";
	qcom,board-id = <1 0>;
};
+26 −0
Original line number Diff line number Diff line
/* 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/clock/qcom,gcc-sdmshrike.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

#include "sdmshrike-mtp.dtsi"

/ {
	model = "MTP";
	compatible = "qcom,sdmshrike-mtp", "qcom,sdmshrike", "qcom,mtp";
	qcom,board-id = <8 0>;
};
+22 −0
Original line number Diff line number Diff line
/* 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 "sdmshrike.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. SDMSHRIKE SoC";
	compatible = "qcom,sdmshrike";
	qcom,pmic-name = "PM855";
	qcom,board-id = <0 0>;
};
+2 −1
Original line number Diff line number Diff line
@@ -25,7 +25,8 @@
/ {
	model = "Qualcomm Technologies, Inc. SDMSHRIKE";
	compatible = "qcom,sdmshrike";
	qcom,msm-id = <340 0x0>;
	qcom,msm-name = "SDMSHRIKE";
	qcom,msm-id = <340 0x10000>;
	interrupt-parent = <&pdc>;

	aliases {