mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:49:52 +00:00
ARM: dts: msm: Add mem_dump and dcc nodes for cinder
Add mem_dump and dcc nodes for memory dump and dcc register dump functions. Change-Id: I1b16ce337d3a10e3b2406b800a93c87e3b7a3080
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
cbe4f46700
commit
b4d43bdb83
276
qcom/cinder-debug.dtsi
Normal file
276
qcom/cinder-debug.dtsi
Normal file
@@ -0,0 +1,276 @@
|
||||
&reserved_memory {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
ranges;
|
||||
|
||||
dump_mem: mem_dump_region {
|
||||
compatible = "shared-dma-pool";
|
||||
alloc-ranges = <0x1 0x00000000 0xfffffffe 0xffffffff>;
|
||||
reusable;
|
||||
alignment = <0x0 0x400000>;
|
||||
size = <0 0x800000>;
|
||||
};
|
||||
};
|
||||
|
||||
&soc {
|
||||
dcc: dcc_v2@100ff000 {
|
||||
compatible = "qcom,dcc-v2";
|
||||
reg = <0x100ff000 0x1000>,
|
||||
<0x10080000 0x18000>;
|
||||
|
||||
status = "disabled";
|
||||
qcom,transaction_timeout = <0>;
|
||||
reg-names = "dcc-base", "dcc-ram-base";
|
||||
dcc-ram-offset = <0>;
|
||||
};
|
||||
|
||||
mem_dump {
|
||||
compatible = "qcom,mem-dump";
|
||||
memory-region = <&dump_mem>;
|
||||
|
||||
c0_context {
|
||||
qcom,dump-size = <0x800>;
|
||||
qcom,dump-id = <0x0>;
|
||||
};
|
||||
|
||||
c100_context {
|
||||
qcom,dump-size = <0x800>;
|
||||
qcom,dump-id = <0x1>;
|
||||
};
|
||||
|
||||
c200_context {
|
||||
qcom,dump-size = <0x800>;
|
||||
qcom,dump-id = <0x2>;
|
||||
};
|
||||
|
||||
c300_context {
|
||||
qcom,dump-size = <0x800>;
|
||||
qcom,dump-id = <0x3>;
|
||||
};
|
||||
|
||||
l1_icache0 {
|
||||
qcom,dump-size = <0x11100>;
|
||||
qcom,dump-id = <0x60>;
|
||||
};
|
||||
|
||||
l1_icache100 {
|
||||
qcom,dump-size = <0x11100>;
|
||||
qcom,dump-id = <0x61>;
|
||||
};
|
||||
|
||||
l1_icache200 {
|
||||
qcom,dump-size = <0x11100>;
|
||||
qcom,dump-id = <0x62>;
|
||||
};
|
||||
|
||||
l1_icache300 {
|
||||
qcom,dump-size = <0x11100>;
|
||||
qcom,dump-id = <0x63>;
|
||||
};
|
||||
|
||||
l1_dcache0 {
|
||||
qcom,dump-size = <0x9100>;
|
||||
qcom,dump-id = <0x80>;
|
||||
};
|
||||
|
||||
l1_dcache100 {
|
||||
qcom,dump-size = <0x9100>;
|
||||
qcom,dump-id = <0x81>;
|
||||
};
|
||||
|
||||
l1_dcache200 {
|
||||
qcom,dump-size = <0x9100>;
|
||||
qcom,dump-id = <0x82>;
|
||||
};
|
||||
|
||||
l1_dcache300 {
|
||||
qcom,dump-size = <0x9100>;
|
||||
qcom,dump-id = <0x83>;
|
||||
};
|
||||
|
||||
l2_cache0 {
|
||||
qcom,dump-size = <0x24100>;
|
||||
qcom,dump-id = <0xc0>;
|
||||
};
|
||||
|
||||
l2_cache100 {
|
||||
qcom,dump-size = <0x24100>;
|
||||
qcom,dump-id = <0xc1>;
|
||||
};
|
||||
|
||||
l2_cache200 {
|
||||
qcom,dump-size = <0x24100>;
|
||||
qcom,dump-id = <0xc2>;
|
||||
};
|
||||
|
||||
l2_cache300 {
|
||||
qcom,dump-size = <0x24100>;
|
||||
qcom,dump-id = <0xc3>;
|
||||
};
|
||||
|
||||
l2_tlb0 {
|
||||
qcom,dump-size = <0xf700>;
|
||||
qcom,dump-id = <0x120>;
|
||||
};
|
||||
|
||||
l2_tlb100 {
|
||||
qcom,dump-size = <0xf700>;
|
||||
qcom,dump-id = <0x121>;
|
||||
};
|
||||
|
||||
l2_tlb200 {
|
||||
qcom,dump-size = <0xf700>;
|
||||
qcom,dump-id = <0x122>;
|
||||
};
|
||||
|
||||
l2_tlb300 {
|
||||
qcom,dump-size = <0xf700>;
|
||||
qcom,dump-id = <0x123>;
|
||||
};
|
||||
|
||||
l1dcdirty0 {
|
||||
qcom,dump-size = <0x1100>;
|
||||
qcom,dump-id = <0x170>;
|
||||
};
|
||||
|
||||
l1dcdirty100 {
|
||||
qcom,dump-size = <0x1100>;
|
||||
qcom,dump-id = <0x171>;
|
||||
};
|
||||
|
||||
l1dcdirty200 {
|
||||
qcom,dump-size = <0x1100>;
|
||||
qcom,dump-id = <0x172>;
|
||||
};
|
||||
|
||||
l1dcdirty300 {
|
||||
qcom,dump-size = <0x1100>;
|
||||
qcom,dump-id = <0x173>;
|
||||
};
|
||||
|
||||
l1dcmte0 {
|
||||
qcom,dump-size = <0x1100>;
|
||||
qcom,dump-id = <0x180>;
|
||||
};
|
||||
|
||||
l1dcmte100 {
|
||||
qcom,dump-size = <0x1100>;
|
||||
qcom,dump-id = <0x181>;
|
||||
};
|
||||
|
||||
l1dcmte200 {
|
||||
qcom,dump-size = <0x1100>;
|
||||
qcom,dump-id = <0x182>;
|
||||
};
|
||||
|
||||
l1dcmte300 {
|
||||
qcom,dump-size = <0x1100>;
|
||||
qcom,dump-id = <0x183>;
|
||||
};
|
||||
|
||||
l2dcmte0 {
|
||||
qcom,dump-size = <0x4100>;
|
||||
qcom,dump-id = <0x190>;
|
||||
};
|
||||
|
||||
l2dcmte100 {
|
||||
qcom,dump-size = <0x4100>;
|
||||
qcom,dump-id = <0x191>;
|
||||
};
|
||||
|
||||
l2dcmte200 {
|
||||
qcom,dump-size = <0x4100>;
|
||||
qcom,dump-id = <0x192>;
|
||||
};
|
||||
|
||||
l2dcmte300 {
|
||||
qcom,dump-size = <0x4100>;
|
||||
qcom,dump-id = <0x193>;
|
||||
};
|
||||
|
||||
cpuss_reg {
|
||||
qcom,dump-size = <0x30000>;
|
||||
qcom,dump-id = <0xef>;
|
||||
};
|
||||
|
||||
rpmh {
|
||||
qcom,dump-size = <0x400000>;
|
||||
qcom,dump-id = <0xec>;
|
||||
};
|
||||
|
||||
rpm_sw {
|
||||
qcom,dump-size = <0x28000>;
|
||||
qcom,dump-id = <0xea>;
|
||||
};
|
||||
|
||||
pmic {
|
||||
qcom,dump-size = <0x200000>;
|
||||
qcom,dump-id = <0xe4>;
|
||||
};
|
||||
|
||||
fcm {
|
||||
qcom,dump-size = <0x8400>;
|
||||
qcom,dump-id = <0xee>;
|
||||
};
|
||||
|
||||
etf_swao {
|
||||
qcom,dump-size = <0x10000>;
|
||||
qcom,dump-id = <0xf1>;
|
||||
};
|
||||
|
||||
etr_reg {
|
||||
qcom,dump-size = <0x1000>;
|
||||
qcom,dump-id = <0x100>;
|
||||
};
|
||||
|
||||
etfswao_reg {
|
||||
qcom,dump-size = <0x1000>;
|
||||
qcom,dump-id = <0x102>;
|
||||
};
|
||||
|
||||
etr1_reg {
|
||||
qcom,dump-size = <0x1000>;
|
||||
qcom,dump-id = <0x105>;
|
||||
};
|
||||
|
||||
misc_data {
|
||||
qcom,dump-size = <0x1000>;
|
||||
qcom,dump-id = <0xe8>;
|
||||
};
|
||||
|
||||
etf_slpi {
|
||||
qcom,dump-size = <0x4000>;
|
||||
qcom,dump-id = <0xf3>;
|
||||
};
|
||||
|
||||
etfslpi_reg {
|
||||
qcom,dump-size = <0x1000>;
|
||||
qcom,dump-id = <0x103>;
|
||||
};
|
||||
|
||||
etf_lpass {
|
||||
qcom,dump-size = <0x4000>;
|
||||
qcom,dump-id = <0xf4>;
|
||||
};
|
||||
|
||||
etflpass_reg {
|
||||
qcom,dump-size = <0x1000>;
|
||||
qcom,dump-id = <0x104>;
|
||||
};
|
||||
|
||||
osm_reg {
|
||||
qcom,dump-size = <0x400>;
|
||||
qcom,dump-id = <0x163>;
|
||||
};
|
||||
|
||||
pcu_reg {
|
||||
qcom,dump-size = <0x400>;
|
||||
qcom,dump-id = <0x164>;
|
||||
};
|
||||
|
||||
fsm_data {
|
||||
qcom,dump-size = <0x400>;
|
||||
qcom,dump-id = <0x165>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1140,6 +1140,7 @@
|
||||
|
||||
#include "cinder-regulators.dtsi"
|
||||
#include "cinder-coresight.dtsi"
|
||||
#include "cinder-debug.dtsi"
|
||||
#include "cinder-pinctrl.dtsi"
|
||||
#include "msm-arm-smmu-cinder.dtsi"
|
||||
#include "cinder-qupv3.dtsi"
|
||||
|
||||
Reference in New Issue
Block a user