mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 04:59:05 +00:00
ARM: dts: msm: Add initial devicetrees for SDXLEMUR target
Add initial devicetree files for supporing SDXLEMUR target. Change-Id: Ic3c3eee8960bc7be92354db15b7a53ebb374f20e
This commit is contained in:
@@ -98,6 +98,10 @@ dtb-$(CONFIG_ARCH_QTI_VM) += trustedvm.dtb
|
||||
endif
|
||||
endif
|
||||
|
||||
dtb-$(CONFIG_ARCH_SDXLEMUR) += sdxlemur-rumi.dtb \
|
||||
sdxlemur-cdp.dtb \
|
||||
sdxlemur-mtp.dtb
|
||||
|
||||
always := $(dtb-y)
|
||||
subdir-y := $(dts-dirs)
|
||||
clean-files := *.dtb *.dtbo
|
||||
|
||||
11
qcom/sdxlemur-cdp.dts
Normal file
11
qcom/sdxlemur-cdp.dts
Normal file
@@ -0,0 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "sdxlemur.dtsi"
|
||||
#include "sdxlemur-cdp.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. SDXLEMUR CDP";
|
||||
compatible = "qcom,sdxlemur-cdp",
|
||||
"qcom,sdxlemur", "qcom,cdp";
|
||||
qcom,board-id = <0x01 0>;
|
||||
};
|
||||
4
qcom/sdxlemur-cdp.dtsi
Normal file
4
qcom/sdxlemur-cdp.dtsi
Normal file
@@ -0,0 +1,4 @@
|
||||
&soc {
|
||||
|
||||
};
|
||||
|
||||
11
qcom/sdxlemur-mtp.dts
Normal file
11
qcom/sdxlemur-mtp.dts
Normal file
@@ -0,0 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "sdxlemur.dtsi"
|
||||
#include "sdxlemur-mtp.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. SDXLEMUR MTP";
|
||||
compatible = "qcom,sdxlemur-mtp",
|
||||
"qcom,sdxlemur", "qcom,mtp";
|
||||
qcom,board-id = <0x08 0>;
|
||||
};
|
||||
4
qcom/sdxlemur-mtp.dtsi
Normal file
4
qcom/sdxlemur-mtp.dtsi
Normal file
@@ -0,0 +1,4 @@
|
||||
&soc {
|
||||
|
||||
};
|
||||
|
||||
16
qcom/sdxlemur-pinctrl.dtsi
Normal file
16
qcom/sdxlemur-pinctrl.dtsi
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
|
||||
|
||||
&soc {
|
||||
tlmm: pinctrl@f100000 {
|
||||
compatible = "qcom,sdxlemur-pinctrl";
|
||||
reg = <0xf100000 0x300000>;
|
||||
reg-names = "pinctrl";
|
||||
interrupts = <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
interrupt-parent = <&intc>;
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
};
|
||||
11
qcom/sdxlemur-rumi.dts
Normal file
11
qcom/sdxlemur-rumi.dts
Normal file
@@ -0,0 +1,11 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "sdxlemur.dtsi"
|
||||
#include "sdxlemur-rumi.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. SDXLEMUR RUMI";
|
||||
compatible = "qcom,sdxlemur-rumi",
|
||||
"qcom,sdxlemur", "qcom,rumi";
|
||||
qcom,board-id = <0x0F 0>;
|
||||
};
|
||||
10
qcom/sdxlemur-rumi.dtsi
Normal file
10
qcom/sdxlemur-rumi.dtsi
Normal file
@@ -0,0 +1,10 @@
|
||||
&soc {
|
||||
timer {
|
||||
clock-frequency = <96000>;
|
||||
};
|
||||
|
||||
timer@17820000 {
|
||||
clock-frequency = <96000>;
|
||||
};
|
||||
};
|
||||
|
||||
133
qcom/sdxlemur.dtsi
Normal file
133
qcom/sdxlemur.dtsi
Normal file
@@ -0,0 +1,133 @@
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
model = "Qualcomm Technologies, Inc. SDXLEMUR";
|
||||
compatible = "qcom,sdxlemur";
|
||||
qcom,msm-id = <458 0x10000>;
|
||||
interrupt-parent = <&intc>;
|
||||
|
||||
aliases { };
|
||||
|
||||
chosen { };
|
||||
|
||||
memory { device_type = "memory"; reg = <0 0>; };
|
||||
|
||||
reserved-memory {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
peripheral2_mem: peripheral2_region@8fd00000 {
|
||||
no-map;
|
||||
reg = <0x8fd00000 0x140000>;
|
||||
label = "peripheral2_mem";
|
||||
};
|
||||
};
|
||||
|
||||
cpus {
|
||||
#size-cells = <0>;
|
||||
#address-cells = <1>;
|
||||
|
||||
CPU0: cpu@0 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a7";
|
||||
reg = <0x0>;
|
||||
};
|
||||
};
|
||||
|
||||
soc: soc { };
|
||||
};
|
||||
|
||||
&soc {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
intc: interrupt-controller@17800000 {
|
||||
compatible = "qcom,msm-qgic2";
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <3>;
|
||||
reg = <0x17800000 0x1000>,
|
||||
<0x17802000 0x1000>;
|
||||
};
|
||||
|
||||
timer {
|
||||
compatible = "arm,armv7-timer";
|
||||
interrupts = <1 13 0xf08>,
|
||||
<1 12 0xf08>,
|
||||
<1 10 0xf08>,
|
||||
<1 11 0xf08>;
|
||||
clock-frequency = <19200000>;
|
||||
};
|
||||
|
||||
timer@17820000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
compatible = "arm,armv7-timer-mem";
|
||||
reg = <0x17820000 0x1000>;
|
||||
clock-frequency = <19200000>;
|
||||
|
||||
frame@17821000 {
|
||||
frame-number = <0>;
|
||||
interrupts = <0 7 0x4>,
|
||||
<0 6 0x4>;
|
||||
reg = <0x17821000 0x1000>,
|
||||
<0x17822000 0x1000>;
|
||||
};
|
||||
|
||||
frame@17823000 {
|
||||
frame-number = <1>;
|
||||
interrupts = <0 8 0x4>;
|
||||
reg = <0x17823000 0x1000>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
frame@17824000 {
|
||||
frame-number = <2>;
|
||||
interrupts = <0 9 0x4>;
|
||||
reg = <0x17824000 0x1000>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
frame@17825000 {
|
||||
frame-number = <3>;
|
||||
interrupts = <0 10 0x4>;
|
||||
reg = <0x17825000 0x1000>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
frame@17826000 {
|
||||
frame-number = <4>;
|
||||
interrupts = <0 11 0x4>;
|
||||
reg = <0x17826000 0x1000>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
frame@17827000 {
|
||||
frame-number = <5>;
|
||||
interrupts = <0 12 0x4>;
|
||||
reg = <0x17827000 0x1000>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
frame@17828000 {
|
||||
frame-number = <6>;
|
||||
interrupts = <0 13 0x4>;
|
||||
reg = <0x17828000 0x1000>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
frame@17829000 {
|
||||
frame-number = <7>;
|
||||
interrupts = <0 14 0x4>;
|
||||
reg = <0x17829000 0x1000>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
#include "sdxlemur-pinctrl.dtsi"
|
||||
Reference in New Issue
Block a user