Merge "ARM: dts: msm: Add initial support for kalama+sdxbaagha"

This commit is contained in:
qctecmdr
2022-10-21 00:43:33 -07:00
committed by Gerrit - the friendly Code Review server
6 changed files with 89 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ to be reset.
Required Properties:
- compatible: The bus devices need to be compatible with "qcom,ext-mdm9x55", "qcom,ext-sdx50m",
"qcom,ext-sdx55m", "qcom,ext-lemur", "qcom,ext-pinn".
"qcom,ext-sdx55m", "qcom,ext-lemur", "qcom,ext-pinn", "qcom,ext-baagha".
Required named gpio properties:
- qcom,mdm2ap-errfatal-gpio: gpio for the external modem to indicate to the apps processor

View File

@@ -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))\

View 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>;
};

View 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
View File

@@ -0,0 +1,8 @@
&mdm0 {
compatible = "qcom,ext-baagha";
qcom,mdm-link-info = "011a_01.01.00";
};
&modem_pas {
status = "disabled";
};

View 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 */
};
};
};