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

Commit 8aa9807e authored by Shadab Naseem's avatar Shadab Naseem
Browse files

ARM: dts: msm: Add initial device tree for khaje

Add initial device tree support for khaje target
on idp and nopmi idp platform. Update the bindings for same.

Change-Id: Icb4105164f91477c7df520bad92a6b4bcc3e0407
parent 93a7009f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -59,6 +59,9 @@ SoCs:
- BENGAL
  compatible = "qcom,bengal"

- KHAJE
  compatible = "qcom,khaje"

- SCUBA
  compatible = "qcom,scuba"

@@ -247,6 +250,7 @@ compatible = "qcom,bengal-qrd"
compatible = "qcom,bengal-idp"
compatible = "qcom,bengalp"
compatible = "qcom,bengalp-idp"
compatible = "qcom,khaje-idp"
compatible = "qcom,scuba-rumi"
compatible = "qcom,scuba-idp"
compatible = "qcom,scuba-qrd"
+12 −0
Original line number Diff line number Diff line
@@ -228,6 +228,18 @@ dtb-$(CONFIG_ARCH_SCUBA) += scuba-rumi.dtb \
	scuba-iot-idp-usbc-2gb.dtb
endif

ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
        dtbo-$(CONFIG_ARCH_KHAJE) += \
		khaje-idp-overlay.dtbo \
		khaje-idp-nopmi-overlay.dtbo

khaje-idp-overlay.dtbo-base := khaje.dtb
khaje-idp-nopmi-overlay.dtbo-base := khaje.dtb
else
dtb-$(CONFIG_ARCH_KHAJE) += khaje-idp.dtb \
		khaje-idp-nopmi.dtb
endif

ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
        dtbo-$(CONFIG_ARCH_SDM660) += \
                sdm660-mtp-external-codec-overlay.dtbo \
+13 −0
Original line number Diff line number Diff line
/dts-v1/;
/plugin/;

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "khaje-idp-nopmi.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. KHAJE IDP nopmi";
	compatible = "qcom,khaje-idp", "qcom,khaje", "qcom,idp";
	qcom,msm-id = <518 0x10000>;
	qcom,board-id = <34 0>;
	qcom,pmic-id = <0x2D 0x0 0x0 0x0>;
};
+11 −0
Original line number Diff line number Diff line
/dts-v1/;

#include "khaje.dtsi"
#include "khaje-idp-nopmi.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. KHAJE IDP nopmi";
	compatible = "qcom,khaje-idp", "qcom,khaje", "qcom,idp";
	qcom,board-id = <34 0>;
	qcom,pmic-id = <0x2D 0x0 0x0 0x0>;
};
+1 −0
Original line number Diff line number Diff line
#include "bengal-idp-nopmi.dtsi"
Loading