Commit 7f7b7997 authored by Angus Ainslie (Purism)'s avatar Angus Ainslie (Purism) Committed by Shawn Guo

arm64: dts: librem5-devkit: add the simcom 7100 modem and audio

Add the simcom SIM7100 modem and the sai6 interface that connects it.
Signed-off-by: default avatarAngus Ainslie (Purism) <angus@akkea.ca>
Signed-off-by: default avatarMartin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent c53f0166
...@@ -148,6 +148,11 @@ reg_usdhc2_vmmc: regulator-usdhc2-vmmc { ...@@ -148,6 +148,11 @@ reg_usdhc2_vmmc: regulator-usdhc2-vmmc {
regulator-always-on; regulator-always-on;
}; };
wwan_codec: sound-wwan-codec {
compatible = "option,gtm601";
#sound-dai-cells = <0>;
};
sound { sound {
compatible = "simple-audio-card"; compatible = "simple-audio-card";
simple-audio-card,name = "sgtl5000"; simple-audio-card,name = "sgtl5000";
...@@ -176,6 +181,22 @@ simple-audio-card,codec { ...@@ -176,6 +181,22 @@ simple-audio-card,codec {
}; };
}; };
sound-wwan {
compatible = "simple-audio-card";
simple-audio-card,name = "SIMCom SIM7100";
simple-audio-card,format = "dsp_a";
simple-audio-card,cpu {
sound-dai = <&sai6>;
};
telephony_link_master: simple-audio-card,codec {
sound-dai = <&wwan_codec>;
frame-master;
bitclock-master;
};
};
vibrator { vibrator {
compatible = "gpio-vibrator"; compatible = "gpio-vibrator";
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -618,6 +639,15 @@ MX8MQ_IOMUXC_SAI2_MCLK_SAI2_MCLK 0xd6 ...@@ -618,6 +639,15 @@ MX8MQ_IOMUXC_SAI2_MCLK_SAI2_MCLK 0xd6
>; >;
}; };
pinctrl_sai6: sai6grp {
fsl,pins = <
MX8MQ_IOMUXC_SAI1_RXD5_SAI6_RX_DATA0 0xd6
MX8MQ_IOMUXC_SAI1_RXD6_SAI6_RX_SYNC 0xd6
MX8MQ_IOMUXC_SAI1_TXD4_SAI6_RX_BCLK 0xd6
MX8MQ_IOMUXC_SAI1_TXD5_SAI6_TX_DATA0 0xd6
>;
};
pinctrl_typec: typecgrp { pinctrl_typec: typecgrp {
fsl,pins = < fsl,pins = <
MX8MQ_IOMUXC_NAND_DATA06_GPIO3_IO12 0x16 MX8MQ_IOMUXC_NAND_DATA06_GPIO3_IO12 0x16
...@@ -802,6 +832,16 @@ &sai2 { ...@@ -802,6 +832,16 @@ &sai2 {
status = "okay"; status = "okay";
}; };
&sai6 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sai6>;
assigned-clocks = <&clk IMX8MQ_CLK_SAI6>;
assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>;
assigned-clock-rates = <24576000>;
fsl,sai-synchronous-rx;
status = "okay";
};
&uart1 { /* console */ &uart1 { /* console */
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart1>; pinctrl-0 = <&pinctrl_uart1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment