Skip to content

Commit

Permalink
arm64: dts: qcom: Add modem for gt510lte
Browse files Browse the repository at this point in the history
Signed-off-by: Nikita Travkin <[email protected]>
  • Loading branch information
TravMurav authored and stephan-gh committed Aug 5, 2021
1 parent 9366b37 commit f1e2e0a
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/qcom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8916-oppo-a51f.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-a3u-eur.dtb msm8916-samsung-a3u-eur-modem.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-a5u-eur.dtb msm8916-samsung-a5u-eur-modem.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-gprimeltecan.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-gt510.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-gt510.dtb msm8916-samsung-gt510lte-modem.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-gt58.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-j3ltespr.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-j5nlte.dtb
Expand Down
25 changes: 25 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916-samsung-gt5-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,31 @@
reg = <0x0 0x85500000 0x0 0xb00000>;
no-map;
};

/delete-node/ wcnss@89300000;
/delete-node/ venus@89900000;

mpss_mem: mpss@86800000 {
status = "disabled";
reg = <0x0 0x86800000 0x0 0x5400000>;
no-map;
};

gps_mem: gps@8bc00000 {
status = "disabled";
reg = <0x0 0x8bc00000 0x0 0x200000>;
no-map;
};

wcnss_mem: wcnss@8be00000 {
reg = <0x0 0x8be00000 0x0 0x600000>;
no-map;
};

venus_mem: venus@8c400000 {
reg = <0x0 0x8c400000 0x0 0x600000>;
no-map;
};
};

gpio-keys {
Expand Down
61 changes: 61 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916-samsung-gt510lte-modem.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
// SPDX-License-Identifier: GPL-2.0-only

#include "msm8916-samsung-gt510.dts"
#include "msm8916-modem.dtsi"

/ {
model = "Samsung Galaxy Tab A 9.7 LTE (2015) (SM-T555)";
compatible = "samsung,gt510lte", "samsung.gt510", "qcom,msm8916";
};

&q6afedai {
dai@22 {
reg = <QUATERNARY_MI2S_RX>;
qcom,sd-lines = <1>;
};
};

&sound {
/delete-node/ dai-link-primary;
/delete-node/ dai-link-tertiary;
/delete-node/ dai-link-quaternary;

dai-link-primary-qdsp6 {
link-name = "Primary MI2S";
cpu {
sound-dai = <&q6afedai PRIMARY_MI2S_RX>;
};
platform {
sound-dai = <&q6routing>;
};
codec {
sound-dai = <&lpass_codec 0>, <&wcd_codec 0>;
};
};

dai-link-tertiary-qdsp6 {
link-name = "Tertiary MI2S";
cpu {
sound-dai = <&q6afedai TERTIARY_MI2S_TX>;
};
platform {
sound-dai = <&q6routing>;
};
codec {
sound-dai = <&lpass_codec 1>, <&wcd_codec 1>;
};
};

dai-link-quaternary-qdsp6 {
link-name = "Quaternary MI2S";
cpu {
sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
};
platform {
sound-dai = <&q6routing>;
};
codec {
sound-dai = <&speaker_codec>;
};
};
};

0 comments on commit f1e2e0a

Please sign in to comment.