mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 05:00:27 +00:00
ARM: dts: msm: Add initial support for kalama+sdxbaagha
Add initial device tree support for kalama+sdxbaagha CDP and MTP platforms. Change-Id: I41e33c649d2666d0166e13198f136abc67bdaaba
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
6210f21915
commit
f70dea5c68
@@ -63,7 +63,9 @@ KALAMA_BOARDS += \
|
||||
NOAPQ_KALAMA_BOARDS += \
|
||||
kalama-rumi-overlay.dtbo \
|
||||
kalama-pinn-cdp-overlay.dtbo \
|
||||
kalama-pinn-mtp-overlay.dtbo
|
||||
kalama-pinn-mtp-overlay.dtbo \
|
||||
kalama-baagha-cdp-overlay.dtbo \
|
||||
kalama-baagha-mtp-overlay.dtbo
|
||||
|
||||
kalama-dtb-$(CONFIG_ARCH_KALAMA) += \
|
||||
$(call add-overlays, $(KALAMA_BOARDS) $(NOAPQ_KALAMA_BOARDS),$(KALAMA_BASE_DTB))\
|
||||
|
||||
13
qcom/kalama-baagha-cdp-overlay.dts
Normal file
13
qcom/kalama-baagha-cdp-overlay.dts
Normal file
@@ -0,0 +1,13 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include "kalama-cdp.dtsi"
|
||||
#include "sdxbaagha-external-soc.dtsi"
|
||||
#include "kalama-baagha.dtsi"
|
||||
|
||||
/ {
|
||||
model = "KALAMA BAAGHA CDP";
|
||||
compatible = "qcom,kalama-cdp", "qcom,kalama", "qcom,cdp";
|
||||
qcom,msm-id = <519 0x10000>, <536 0x10000>;
|
||||
qcom,board-id = <0x04010001 0x4>;
|
||||
};
|
||||
13
qcom/kalama-baagha-mtp-overlay.dts
Normal file
13
qcom/kalama-baagha-mtp-overlay.dts
Normal file
@@ -0,0 +1,13 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include "kalama-mtp.dtsi"
|
||||
#include "sdxbaagha-external-soc.dtsi"
|
||||
#include "kalama-baagha.dtsi"
|
||||
|
||||
/ {
|
||||
model = "KALAMA BAAGHA MTP";
|
||||
compatible = "qcom,kalama-mtp", "qcom,kalama", "qcom,mtp";
|
||||
qcom,msm-id = <519 0x10000>, <536 0x10000>;
|
||||
qcom,board-id = <0x03010008 0x3>;
|
||||
};
|
||||
8
qcom/kalama-baagha.dtsi
Normal file
8
qcom/kalama-baagha.dtsi
Normal file
@@ -0,0 +1,8 @@
|
||||
&mdm0 {
|
||||
compatible = "qcom,ext-baagha";
|
||||
qcom,mdm-link-info = "011a_01.01.00";
|
||||
};
|
||||
|
||||
&modem_pas {
|
||||
status = "disabled";
|
||||
};
|
||||
51
qcom/sdxbaagha-external-soc.dtsi
Normal file
51
qcom/sdxbaagha-external-soc.dtsi
Normal file
@@ -0,0 +1,51 @@
|
||||
&soc {
|
||||
mdm0: qcom,remoteproc-esoc0 {
|
||||
cell-index = <0>;
|
||||
#address-cells = <0>;
|
||||
interrupt-parent = <&mdm0>;
|
||||
#interrupt-cells = <1>;
|
||||
interrupt-map-mask = <0xffffffff>;
|
||||
interrupt-names =
|
||||
"err_fatal_irq",
|
||||
"status_irq";
|
||||
interrupt-map = <0 &tlmm 31 0x3
|
||||
1 &tlmm 28 0x3>;
|
||||
/* modem attributes */
|
||||
qcom,ramdump-delay-ms = <3000>;
|
||||
qcom,ramdump-timeout-ms = <120000>;
|
||||
qcom,vddmin-modes = "normal";
|
||||
qcom,vddmin-drive-strength = <8>;
|
||||
qcom,sfr-query;
|
||||
qcom,sysmon-id = <20>;
|
||||
qcom,ssctl-instance-id = <0x10>;
|
||||
qcom,support-shutdown;
|
||||
qcom,pil-force-shutdown;
|
||||
pinctrl-names = "default", "mdm_active", "mdm_suspend";
|
||||
pinctrl-0 = <&ap2mdm_pon_reset_default>;
|
||||
pinctrl-1 = <&ap2mdm_active &mdm2ap_active>;
|
||||
pinctrl-2 = <&ap2mdm_sleep &mdm2ap_sleep>;
|
||||
qcom,mdm2ap-status-gpio = <&tlmm 28 0x00>;
|
||||
qcom,ap2mdm-status-gpio = <&tlmm 29 0x00>;
|
||||
qcom,ap2mdm-errfatal-gpio = <&tlmm 30 0x00>;
|
||||
qcom,mdm2ap-errfatal-gpio = <&tlmm 31 0x00>;
|
||||
qcom,ap2mdm-soft-reset-gpio = <&pm8550_gpios 1 0>;
|
||||
|
||||
reg-names = "l10b";
|
||||
l10c-supply = <&L10B>;
|
||||
l10c-uV-uA = <1200000 100000>;
|
||||
|
||||
qcom,esoc-skip-restart-for-mdm-crash;
|
||||
status = "ok";
|
||||
};
|
||||
};
|
||||
|
||||
&pm8550_gpios {
|
||||
ap2mdm_pon_reset {
|
||||
ap2mdm_pon_reset_default: ap2mdm_pon_reset_default {
|
||||
/* MDM PON control*/
|
||||
pins = "gpio1";
|
||||
function = "normal";
|
||||
power-source = <1>; /* 1.8V */
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user