@@ -210,70 +210,70 @@ additionalProperties: false
210210
211211examples :
212212 - |
213- #include <dt-bindings/interrupt-controller/arm-gic.h>
214- #include <dt-bindings/clock/qcom,rpmh.h>
215- #include <dt-bindings/interconnect/qcom,sdm845.h>
216-
217- smp2p-mpss {
218- compatible = "qcom,smp2p";
219- interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
220- mboxes = <&apss_shared 6>;
221- qcom,smem = <94>, <432>;
222- qcom,local-pid = <0>;
223- qcom,remote-pid = <5>;
224-
225- ipa_smp2p_out: ipa-ap-to-modem {
226- qcom,entry-name = "ipa";
227- #qcom,smem-state-cells = <1>;
228- };
229-
230- ipa_smp2p_in: ipa-modem-to-ap {
231- qcom,entry-name = "ipa";
232- interrupt-controller;
233- #interrupt-cells = <2>;
234- };
213+ #include <dt-bindings/interrupt-controller/arm-gic.h>
214+ #include <dt-bindings/clock/qcom,rpmh.h>
215+ #include <dt-bindings/interconnect/qcom,sdm845.h>
216+
217+ smp2p-mpss {
218+ compatible = "qcom,smp2p";
219+ interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
220+ mboxes = <&apss_shared 6>;
221+ qcom,smem = <94>, <432>;
222+ qcom,local-pid = <0>;
223+ qcom,remote-pid = <5>;
224+
225+ ipa_smp2p_out: ipa-ap-to-modem {
226+ qcom,entry-name = "ipa";
227+ #qcom,smem-state-cells = <1>;
235228 };
236229
237- ipa@1e40000 {
238- compatible = "qcom,sc7180-ipa";
239-
240- qcom,gsi-loader = "self";
241- memory-region = <&ipa_fw_mem>;
242- firmware-name = "qcom/sc7180-trogdor/modem/modem.mbn";
243-
244- iommus = <&apps_smmu 0x440 0x0>,
245- <&apps_smmu 0x442 0x0>;
246- reg = <0x1e40000 0x7000>,
247- <0x1e47000 0x2000>,
248- <0x1e04000 0x2c000>;
249- reg-names = "ipa-reg",
250- "ipa-shared",
251- "gsi";
252-
253- interrupts-extended = <&intc GIC_SPI 311 IRQ_TYPE_EDGE_RISING>,
254- <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>,
255- <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
256- <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
257- interrupt-names = "ipa",
258- "gsi",
259- "ipa-clock-query",
260- "ipa-setup-ready";
261-
262- clocks = <&rpmhcc RPMH_IPA_CLK>;
263- clock-names = "core";
264-
265- interconnects =
266- <&aggre2_noc MASTER_IPA 0 &mc_virt SLAVE_EBI1 0>,
267- <&aggre2_noc MASTER_IPA 0 &system_noc SLAVE_IMEM 0>,
268- <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_IPA_CFG 0>;
269- interconnect-names = "memory",
270- "imem",
271- "config";
272-
273- qcom,qmp = <&aoss_qmp>;
274-
275- qcom,smem-states = <&ipa_smp2p_out 0>,
276- <&ipa_smp2p_out 1>;
277- qcom,smem-state-names = "ipa-clock-enabled-valid",
278- "ipa-clock-enabled";
230+ ipa_smp2p_in: ipa-modem-to-ap {
231+ qcom,entry-name = "ipa";
232+ interrupt-controller;
233+ #interrupt-cells = <2>;
279234 };
235+ };
236+
237+ ipa@1e40000 {
238+ compatible = "qcom,sc7180-ipa";
239+
240+ qcom,gsi-loader = "self";
241+ memory-region = <&ipa_fw_mem>;
242+ firmware-name = "qcom/sc7180-trogdor/modem/modem.mbn";
243+
244+ iommus = <&apps_smmu 0x440 0x0>,
245+ <&apps_smmu 0x442 0x0>;
246+ reg = <0x1e40000 0x7000>,
247+ <0x1e47000 0x2000>,
248+ <0x1e04000 0x2c000>;
249+ reg-names = "ipa-reg",
250+ "ipa-shared",
251+ "gsi";
252+
253+ interrupts-extended = <&intc GIC_SPI 311 IRQ_TYPE_EDGE_RISING>,
254+ <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>,
255+ <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
256+ <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
257+ interrupt-names = "ipa",
258+ "gsi",
259+ "ipa-clock-query",
260+ "ipa-setup-ready";
261+
262+ clocks = <&rpmhcc RPMH_IPA_CLK>;
263+ clock-names = "core";
264+
265+ interconnects =
266+ <&aggre2_noc MASTER_IPA 0 &mc_virt SLAVE_EBI1 0>,
267+ <&aggre2_noc MASTER_IPA 0 &system_noc SLAVE_IMEM 0>,
268+ <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_IPA_CFG 0>;
269+ interconnect-names = "memory",
270+ "imem",
271+ "config";
272+
273+ qcom,qmp = <&aoss_qmp>;
274+
275+ qcom,smem-states = <&ipa_smp2p_out 0>,
276+ <&ipa_smp2p_out 1>;
277+ qcom,smem-state-names = "ipa-clock-enabled-valid",
278+ "ipa-clock-enabled";
279+ };
0 commit comments