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

Commit 6edd0745 authored by Parth Dixit's avatar Parth Dixit
Browse files

ARM: dts: msm: Initial device configuration for Lagoon

Add initial device tree configuration for lagoon on RUMI
platform. The initial configuration includes definitions
for timer, interrupt controllers, cpus, imem, restart,
watchdog, cpu dump, rtb, and mpm sleep counter.

Change-Id: I702eece4d698408584066bc2b06909570c974051
parent 9feae28f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -50,6 +50,9 @@ SoCs:
- LITO
  compatible = "qcom,lito"

- LAGOON
  compatible = "qcom,lagoon"

- BENGAL
  compatible = "qcom,bengal"

@@ -174,6 +177,7 @@ compatible = "qcom,lito-mtp"
compatible = "qcom,lito-cdp"
compatible = "qcom,lito-atp"
compatible = "qcom,lito-qrd"
compatible = "qcom,lagoon-rumi"
compatible = "qcom,bengal-rumi"
compatible = "qcom,bengal-qrd"
compatible = "qcom,bengal-idp"
+7 −0
Original line number Diff line number Diff line
@@ -67,6 +67,13 @@ dtb-$(CONFIG_ARCH_LITO) += lito-rumi.dtb \
                lito-v2-qrd.dtb
endif

ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
dtbo-$(CONFIG_ARCH_LAGOON) += lagoon-rumi-overlay.dtbo

lagoon-rumi-overlay.dtbo-base := lagoon.dtb
else
dtb-$(CONFIG_ARCH_LAGOON) += lagoon-rumi.dtb
endif

ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
        dtbo-$(CONFIG_ARCH_BENGAL) += \
+12 −0
Original line number Diff line number Diff line
/dts-v1/;
/plugin/;

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "lagoon-rumi.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. Lagoon RUMI";
	compatible = "qcom,lagoon-rumi", "qcom,lagoon", "qcom,rumi";
	qcom,msm-id = <434 0x10000>;
	qcom,board-id = <15 0>;
};

qcom/lagoon-rumi.dts

0 → 100644
+11 −0
Original line number Diff line number Diff line
/dts-v1/;
/memreserve/ 0xc0000000 0x00000100;

#include "lagoon.dtsi"
#include "lagoon-rumi.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. Lagoon RUMI";
	compatible = "qcom,lagoon-rumi", "qcom,lagoon", "qcom,rumi";
	qcom,board-id = <15 0>;
};

qcom/lagoon-rumi.dtsi

0 → 100644
+13 −0
Original line number Diff line number Diff line
&soc {
	timer {
		clock-frequency = <500000>;
	};

	timer@17c20000 {
		clock-frequency = <500000>;
	};
};

&wdog {
	status = "disabled";
};
Loading