Loading Documentation/devicetree/bindings/arm/msm/mdm-modem.txt +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ to be reset. Required Properties: - compatible: The bus devices need to be compatible with "qcom,mdm2-modem", "qcom,ext-mdm9x25", "qcom,ext-mdm9x35", "qcom, ext-mdm9x45", "qcom,ext-mdm9x55". "qcom,ext-mdm9x55", "qcom,ext-sdxpoorwills". Required named gpio properties: - qcom,mdm2ap-errfatal-gpio: gpio for the external modem to indicate to the apps processor Loading arch/arm64/boot/dts/qcom/Makefile +7 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,10 @@ ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y) sda845-v2.1-qrd-overlay.dtbo \ sda845-v2.1-4k-panel-cdp-overlay.dtbo \ sda845-v2.1-4k-panel-mtp-overlay.dtbo \ sda845-v2.1-4k-panel-qrd-overlay.dtbo sda845-v2.1-4k-panel-qrd-overlay.dtbo \ sda845-v2.1-cdp-sdxpoorwills-overlay.dtbo \ sda845-v2.1-mtp-sdxpoorwills-overlay.dtbo \ sda845-v2-mtp-sdxpoorwills-overlay.dtbo sdm845-cdp-overlay.dtbo-base := sdm845.dtb sdm845-mtp-overlay.dtbo-base := sdm845.dtb Loading Loading @@ -81,6 +84,9 @@ sda845-v2.1-qrd-overlay.dtbo-base := sda845-v2.1.dtb sda845-v2.1-4k-panel-cdp-overlay.dtbo-base := sda845-v2.1.dtb sda845-v2.1-4k-panel-mtp-overlay.dtbo-base := sda845-v2.1.dtb sda845-v2.1-4k-panel-qrd-overlay.dtbo-base := sda845-v2.1.dtb sda845-v2.1-cdp-sdxpoorwills-overlay.dtbo-base := sda845-v2.1.dtb sda845-v2.1-mtp-sdxpoorwills-overlay.dtbo-base := sda845-v2.1.dtb sda845-v2-mtp-sdxpoorwills-overlay.dtbo-base := sda845-v2.dtb else dtb-$(CONFIG_ARCH_SDM845) += sdm845-sim.dtb \ sdm845-rumi.dtb \ Loading arch/arm64/boot/dts/qcom/external-soc.dtsi 0 → 100644 +37 −0 Original line number Diff line number Diff line /* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ &soc { mdm3: qcom,mdm3 { compatible = "qcom,ext-sdxpoorwills"; cell-index = <0>; #address-cells = <0>; interrupt-parent = <&mdm3>; #interrupt-cells = <1>; interrupt-map-mask = <0xffffffff>; interrupt-names = "err_fatal_irq", "status_irq", "mdm2ap_vddmin_irq"; /* modem attributes */ qcom,ramdump-delays-ms = <2000>; 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; status = "disabled"; }; }; arch/arm64/boot/dts/qcom/sda845-sdxpoorwills.dtsi 0 → 100644 +271 −0 Original line number Diff line number Diff line /* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ &mdm3 { 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>; interrupt-map = <0 &tlmm 24 0x3 1 &tlmm 21 0x3>; qcom,mdm2ap-errfatal-gpio = <&tlmm 24 0x00>; qcom,ap2mdm-errfatal-gpio = <&tlmm 23 0x00>; qcom,mdm2ap-status-gpio = <&tlmm 22 0x00>; qcom,ap2mdm-status-gpio = <&tlmm 21 0x00>; qcom,ap2mdm-soft-reset-gpio = <&pm8998_gpios 10 0>; qcom,mdm-link-info = "0304_00.01.00"; status = "ok"; }; &pm8998_gpios { ap2mdm_pon_reset { ap2mdm_pon_reset_default: ap2mdm_pon_reset_default { /* MDM PON conrol*/ pins = "gpio10"; function = "normal"; output-low; power-source = <0>; }; }; }; &pil_modem { status = "disabled"; }; &pcie0_wake_default { config { /delete-property/ bias-pull-down; }; }; &led_flash_rear { status = "disabled"; }; &led_flash_front { status = "disabled"; }; &ois_rear { status = "disabled"; }; &eeprom_rear { status = "disabled"; }; &eeprom_rear_aux { status = "disabled"; }; &eeprom_front { status = "disabled"; }; &soc { qcom,cam-req-mgr { status = "disabled"; }; cam_csiphy0: qcom,csiphy@ac65000 { status = "disabled"; }; cam_csiphy1: qcom,csiphy@ac66000 { status = "disabled"; }; cam_csiphy2: qcom,csiphy@ac67000 { status = "disabled"; }; cam_cci: qcom,cci@ac4a000 { status = "disabled"; i2c_freq_100Khz: qcom,i2c_standard_mode { status = "disabled"; }; i2c_freq_400Khz: qcom,i2c_fast_mode { status = "disabled"; }; i2c_freq_custom: qcom,i2c_custom_mode { status = "disabled"; }; i2c_freq_1Mhz: qcom,i2c_fast_plus_mode { status = "disabled"; }; }; qcom,cam_smmu { status = "disabled"; msm_cam_smmu_ife { ife_iova_mem_map: iova-mem-map { iova-mem-region-io { status = "disabled"; }; }; }; msm_cam_smmu_jpeg { jpeg_iova_mem_map: iova-mem-map { iova-mem-region-io { status = "disabled"; }; }; }; msm_cam_smmu_icp { icp_iova_mem_map: iova-mem-map { iova-mem-region-firmware { status = "disabled"; }; iova-mem-region-shared { status = "disabled"; }; iova-mem-region-io { status = "disabled"; }; }; }; msm_cam_smmu_cpas_cdm { cpas_cdm_iova_mem_map: iova-mem-map { iova-mem-region-io { status = "disabled"; }; }; }; msm_cam_smmu_fd { fd_iova_mem_map: iova-mem-map { iova-mem-region-io { status = "disabled"; }; }; }; }; qcom,cam-cpas@ac40000 { status = "disabled"; }; qcom,cam-cdm-intf { status = "disabled"; }; qcom,cpas-cdm0@ac48000 { status = "disabled"; }; qcom,cam-isp { status = "disabled"; }; cam_csid0: qcom,csid0@acb3000 { status = "disabled"; }; cam_vfe0: qcom,vfe0@acaf000 { status = "disabled"; }; cam_csid1: qcom,csid1@acba000 { status = "disabled"; }; cam_vfe1: qcom,vfe1@acb6000 { status = "disabled"; }; cam_csid_lite: qcom,csid-lite@acc8000 { status = "disabled"; }; cam_vfe_lite: qcom,vfe-lite@acc4000 { status = "disabled"; }; qcom,cam-icp { status = "disabled"; }; cam_a5: qcom,a5@ac00000 { status = "disabled"; }; cam_ipe0: qcom,ipe0 { status = "disabled"; }; cam_ipe1: qcom,ipe1 { status = "disabled"; }; cam_bps: qcom,bps { status = "disabled"; }; clock_camcc: qcom,camcc@ad00000 { status = "disabled"; }; qcom,cam-jpeg { status = "disabled"; }; cam_jpeg_enc: qcom,jpegenc@ac4e000 { status = "disabled"; }; cam_jpeg_dma: qcom,jpegdma@0xac52000 { status = "disabled"; }; qcom,cam-fd { status = "disabled"; }; cam_fd: qcom,fd@ac5a000 { status = "disabled"; }; qcom,cam-sensor@0 { status = "disabled"; }; qcom,cam-sensor@1 { status = "disabled"; }; qcom,cam-sensor@2 { status = "disabled"; }; qcom,cam-sensor@3 { status = "disabled"; }; cam_csiphy3: qcom,csiphy@ac68000 { status = "disabled"; }; }; &wil6210 { status = "disabled"; }; arch/arm64/boot/dts/qcom/sda845-v2-mtp-sdxpoorwills-overlay.dts 0 → 100644 +34 −0 Original line number Diff line number Diff line /* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ /dts-v1/; /plugin/; #include <dt-bindings/clock/qcom,gcc-sdm845.h> #include <dt-bindings/clock/qcom,camcc-sdm845.h> #include <dt-bindings/clock/qcom,dispcc-sdm845.h> #include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include "sdm845-sde-display.dtsi" #include "sdm845-mtp.dtsi" #include "sdm845-audio-overlay.dtsi" #include "external-soc.dtsi" #include "sda845-sdxpoorwills.dtsi" / { model = "Qualcomm Technologies, Inc. SDA845 v2 + SDXPOORWILLS MTP"; compatible = "qcom,sda845-mtp", "qcom,sda845", "qcom,mtp"; qcom,msm-id = <341 0x20000>; qcom,board-id = <8 5>; }; Loading
Documentation/devicetree/bindings/arm/msm/mdm-modem.txt +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ to be reset. Required Properties: - compatible: The bus devices need to be compatible with "qcom,mdm2-modem", "qcom,ext-mdm9x25", "qcom,ext-mdm9x35", "qcom, ext-mdm9x45", "qcom,ext-mdm9x55". "qcom,ext-mdm9x55", "qcom,ext-sdxpoorwills". Required named gpio properties: - qcom,mdm2ap-errfatal-gpio: gpio for the external modem to indicate to the apps processor Loading
arch/arm64/boot/dts/qcom/Makefile +7 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,10 @@ ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y) sda845-v2.1-qrd-overlay.dtbo \ sda845-v2.1-4k-panel-cdp-overlay.dtbo \ sda845-v2.1-4k-panel-mtp-overlay.dtbo \ sda845-v2.1-4k-panel-qrd-overlay.dtbo sda845-v2.1-4k-panel-qrd-overlay.dtbo \ sda845-v2.1-cdp-sdxpoorwills-overlay.dtbo \ sda845-v2.1-mtp-sdxpoorwills-overlay.dtbo \ sda845-v2-mtp-sdxpoorwills-overlay.dtbo sdm845-cdp-overlay.dtbo-base := sdm845.dtb sdm845-mtp-overlay.dtbo-base := sdm845.dtb Loading Loading @@ -81,6 +84,9 @@ sda845-v2.1-qrd-overlay.dtbo-base := sda845-v2.1.dtb sda845-v2.1-4k-panel-cdp-overlay.dtbo-base := sda845-v2.1.dtb sda845-v2.1-4k-panel-mtp-overlay.dtbo-base := sda845-v2.1.dtb sda845-v2.1-4k-panel-qrd-overlay.dtbo-base := sda845-v2.1.dtb sda845-v2.1-cdp-sdxpoorwills-overlay.dtbo-base := sda845-v2.1.dtb sda845-v2.1-mtp-sdxpoorwills-overlay.dtbo-base := sda845-v2.1.dtb sda845-v2-mtp-sdxpoorwills-overlay.dtbo-base := sda845-v2.dtb else dtb-$(CONFIG_ARCH_SDM845) += sdm845-sim.dtb \ sdm845-rumi.dtb \ Loading
arch/arm64/boot/dts/qcom/external-soc.dtsi 0 → 100644 +37 −0 Original line number Diff line number Diff line /* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ &soc { mdm3: qcom,mdm3 { compatible = "qcom,ext-sdxpoorwills"; cell-index = <0>; #address-cells = <0>; interrupt-parent = <&mdm3>; #interrupt-cells = <1>; interrupt-map-mask = <0xffffffff>; interrupt-names = "err_fatal_irq", "status_irq", "mdm2ap_vddmin_irq"; /* modem attributes */ qcom,ramdump-delays-ms = <2000>; 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; status = "disabled"; }; };
arch/arm64/boot/dts/qcom/sda845-sdxpoorwills.dtsi 0 → 100644 +271 −0 Original line number Diff line number Diff line /* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ &mdm3 { 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>; interrupt-map = <0 &tlmm 24 0x3 1 &tlmm 21 0x3>; qcom,mdm2ap-errfatal-gpio = <&tlmm 24 0x00>; qcom,ap2mdm-errfatal-gpio = <&tlmm 23 0x00>; qcom,mdm2ap-status-gpio = <&tlmm 22 0x00>; qcom,ap2mdm-status-gpio = <&tlmm 21 0x00>; qcom,ap2mdm-soft-reset-gpio = <&pm8998_gpios 10 0>; qcom,mdm-link-info = "0304_00.01.00"; status = "ok"; }; &pm8998_gpios { ap2mdm_pon_reset { ap2mdm_pon_reset_default: ap2mdm_pon_reset_default { /* MDM PON conrol*/ pins = "gpio10"; function = "normal"; output-low; power-source = <0>; }; }; }; &pil_modem { status = "disabled"; }; &pcie0_wake_default { config { /delete-property/ bias-pull-down; }; }; &led_flash_rear { status = "disabled"; }; &led_flash_front { status = "disabled"; }; &ois_rear { status = "disabled"; }; &eeprom_rear { status = "disabled"; }; &eeprom_rear_aux { status = "disabled"; }; &eeprom_front { status = "disabled"; }; &soc { qcom,cam-req-mgr { status = "disabled"; }; cam_csiphy0: qcom,csiphy@ac65000 { status = "disabled"; }; cam_csiphy1: qcom,csiphy@ac66000 { status = "disabled"; }; cam_csiphy2: qcom,csiphy@ac67000 { status = "disabled"; }; cam_cci: qcom,cci@ac4a000 { status = "disabled"; i2c_freq_100Khz: qcom,i2c_standard_mode { status = "disabled"; }; i2c_freq_400Khz: qcom,i2c_fast_mode { status = "disabled"; }; i2c_freq_custom: qcom,i2c_custom_mode { status = "disabled"; }; i2c_freq_1Mhz: qcom,i2c_fast_plus_mode { status = "disabled"; }; }; qcom,cam_smmu { status = "disabled"; msm_cam_smmu_ife { ife_iova_mem_map: iova-mem-map { iova-mem-region-io { status = "disabled"; }; }; }; msm_cam_smmu_jpeg { jpeg_iova_mem_map: iova-mem-map { iova-mem-region-io { status = "disabled"; }; }; }; msm_cam_smmu_icp { icp_iova_mem_map: iova-mem-map { iova-mem-region-firmware { status = "disabled"; }; iova-mem-region-shared { status = "disabled"; }; iova-mem-region-io { status = "disabled"; }; }; }; msm_cam_smmu_cpas_cdm { cpas_cdm_iova_mem_map: iova-mem-map { iova-mem-region-io { status = "disabled"; }; }; }; msm_cam_smmu_fd { fd_iova_mem_map: iova-mem-map { iova-mem-region-io { status = "disabled"; }; }; }; }; qcom,cam-cpas@ac40000 { status = "disabled"; }; qcom,cam-cdm-intf { status = "disabled"; }; qcom,cpas-cdm0@ac48000 { status = "disabled"; }; qcom,cam-isp { status = "disabled"; }; cam_csid0: qcom,csid0@acb3000 { status = "disabled"; }; cam_vfe0: qcom,vfe0@acaf000 { status = "disabled"; }; cam_csid1: qcom,csid1@acba000 { status = "disabled"; }; cam_vfe1: qcom,vfe1@acb6000 { status = "disabled"; }; cam_csid_lite: qcom,csid-lite@acc8000 { status = "disabled"; }; cam_vfe_lite: qcom,vfe-lite@acc4000 { status = "disabled"; }; qcom,cam-icp { status = "disabled"; }; cam_a5: qcom,a5@ac00000 { status = "disabled"; }; cam_ipe0: qcom,ipe0 { status = "disabled"; }; cam_ipe1: qcom,ipe1 { status = "disabled"; }; cam_bps: qcom,bps { status = "disabled"; }; clock_camcc: qcom,camcc@ad00000 { status = "disabled"; }; qcom,cam-jpeg { status = "disabled"; }; cam_jpeg_enc: qcom,jpegenc@ac4e000 { status = "disabled"; }; cam_jpeg_dma: qcom,jpegdma@0xac52000 { status = "disabled"; }; qcom,cam-fd { status = "disabled"; }; cam_fd: qcom,fd@ac5a000 { status = "disabled"; }; qcom,cam-sensor@0 { status = "disabled"; }; qcom,cam-sensor@1 { status = "disabled"; }; qcom,cam-sensor@2 { status = "disabled"; }; qcom,cam-sensor@3 { status = "disabled"; }; cam_csiphy3: qcom,csiphy@ac68000 { status = "disabled"; }; }; &wil6210 { status = "disabled"; };
arch/arm64/boot/dts/qcom/sda845-v2-mtp-sdxpoorwills-overlay.dts 0 → 100644 +34 −0 Original line number Diff line number Diff line /* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ /dts-v1/; /plugin/; #include <dt-bindings/clock/qcom,gcc-sdm845.h> #include <dt-bindings/clock/qcom,camcc-sdm845.h> #include <dt-bindings/clock/qcom,dispcc-sdm845.h> #include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include "sdm845-sde-display.dtsi" #include "sdm845-mtp.dtsi" #include "sdm845-audio-overlay.dtsi" #include "external-soc.dtsi" #include "sda845-sdxpoorwills.dtsi" / { model = "Qualcomm Technologies, Inc. SDA845 v2 + SDXPOORWILLS MTP"; compatible = "qcom,sda845-mtp", "qcom,sda845", "qcom,mtp"; qcom,msm-id = <341 0x20000>; qcom,board-id = <8 5>; };