Loading arch/arm64/boot/dts/qcom/kona-pinctrl.dtsi +86 −0 Original line number Diff line number Diff line Loading @@ -59,5 +59,91 @@ }; }; ap2mdm { ap2mdm_active: ap2mdm_active { mux { /* ap2mdm-status * ap2mdm-errfatal * ap2mdm-vddmin */ pins = "gpio56", "gpio57"; function = "gpio"; }; config { pins = "gpio56", "gpio57"; drive-strength = <16>; bias-disable; }; }; ap2mdm_sleep: ap2mdm_sleep { mux { /* ap2mdm-status * ap2mdm-errfatal * ap2mdm-vddmin */ pins = "gpio56", "gpio57"; function = "gpio"; }; config { pins = "gpio56", "gpio57"; drive-strength = <8>; bias-disable; }; }; }; mdm2ap { mdm2ap_active: mdm2ap_active { mux { /* mdm2ap-status * mdm2ap-errfatal * mdm2ap-vddmin */ pins = "gpio1", "gpio3"; function = "gpio"; }; config { pins = "gpio1", "gpio3"; drive-strength = <8>; bias-disable; }; }; mdm2ap_sleep: mdm2ap_sleep { mux { /* mdm2ap-status * mdm2ap-errfatal * mdm2ap-vddmin */ pins = "gpio1", "gpio3"; function = "gpio"; }; config { pins = "gpio1", "gpio3"; drive-strength = <8>; bias-disable; }; }; }; ap2mdm_pon_reset { ap2mdm_pon_reset_default: ap2mdm_pon_reset_default { mux { /* MDM PON conrol*/ pins = "gpio145"; function = "gpio"; }; config { pins = "gpio145"; drive-strength = <8>; bias-disable; }; }; }; }; }; arch/arm64/boot/dts/qcom/kona.dtsi +37 −0 Original line number Diff line number Diff line Loading @@ -447,6 +447,43 @@ qcom,msm-imem@146bf000 { }; }; mdm0: qcom,mdm0 { compatible = "qcom,ext-sdx50m"; cell-index = <0>; #address-cells = <0>; interrupt-parent = <&mdm0>; #interrupt-cells = <1>; interrupt-map-mask = <0xffffffff>; interrupt-names = "err_fatal_irq", "status_irq", "mdm2ap_vddmin_irq"; /* 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; qcom,esoc-skip-restart-for-mdm-crash; 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 1 0x3 1 &tlmm 3 0x3>; qcom,mdm2ap-errfatal-gpio = <&tlmm 1 0x00>; qcom,ap2mdm-errfatal-gpio = <&tlmm 57 0x00>; qcom,mdm2ap-status-gpio = <&tlmm 3 0x00>; qcom,ap2mdm-status-gpio = <&tlmm 56 0x00>; qcom,ap2mdm-soft-reset-gpio = <&tlmm 145 0x00>; qcom,mdm-link-info = "0306_02.01.00"; status = "ok"; }; pdc: interrupt-controller@b220000 { compatible = "qcom,kona-pdc"; reg = <0xb220000 0x30000>; Loading Loading
arch/arm64/boot/dts/qcom/kona-pinctrl.dtsi +86 −0 Original line number Diff line number Diff line Loading @@ -59,5 +59,91 @@ }; }; ap2mdm { ap2mdm_active: ap2mdm_active { mux { /* ap2mdm-status * ap2mdm-errfatal * ap2mdm-vddmin */ pins = "gpio56", "gpio57"; function = "gpio"; }; config { pins = "gpio56", "gpio57"; drive-strength = <16>; bias-disable; }; }; ap2mdm_sleep: ap2mdm_sleep { mux { /* ap2mdm-status * ap2mdm-errfatal * ap2mdm-vddmin */ pins = "gpio56", "gpio57"; function = "gpio"; }; config { pins = "gpio56", "gpio57"; drive-strength = <8>; bias-disable; }; }; }; mdm2ap { mdm2ap_active: mdm2ap_active { mux { /* mdm2ap-status * mdm2ap-errfatal * mdm2ap-vddmin */ pins = "gpio1", "gpio3"; function = "gpio"; }; config { pins = "gpio1", "gpio3"; drive-strength = <8>; bias-disable; }; }; mdm2ap_sleep: mdm2ap_sleep { mux { /* mdm2ap-status * mdm2ap-errfatal * mdm2ap-vddmin */ pins = "gpio1", "gpio3"; function = "gpio"; }; config { pins = "gpio1", "gpio3"; drive-strength = <8>; bias-disable; }; }; }; ap2mdm_pon_reset { ap2mdm_pon_reset_default: ap2mdm_pon_reset_default { mux { /* MDM PON conrol*/ pins = "gpio145"; function = "gpio"; }; config { pins = "gpio145"; drive-strength = <8>; bias-disable; }; }; }; }; };
arch/arm64/boot/dts/qcom/kona.dtsi +37 −0 Original line number Diff line number Diff line Loading @@ -447,6 +447,43 @@ qcom,msm-imem@146bf000 { }; }; mdm0: qcom,mdm0 { compatible = "qcom,ext-sdx50m"; cell-index = <0>; #address-cells = <0>; interrupt-parent = <&mdm0>; #interrupt-cells = <1>; interrupt-map-mask = <0xffffffff>; interrupt-names = "err_fatal_irq", "status_irq", "mdm2ap_vddmin_irq"; /* 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; qcom,esoc-skip-restart-for-mdm-crash; 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 1 0x3 1 &tlmm 3 0x3>; qcom,mdm2ap-errfatal-gpio = <&tlmm 1 0x00>; qcom,ap2mdm-errfatal-gpio = <&tlmm 57 0x00>; qcom,mdm2ap-status-gpio = <&tlmm 3 0x00>; qcom,ap2mdm-status-gpio = <&tlmm 56 0x00>; qcom,ap2mdm-soft-reset-gpio = <&tlmm 145 0x00>; qcom,mdm-link-info = "0306_02.01.00"; status = "ok"; }; pdc: interrupt-controller@b220000 { compatible = "qcom,kona-pdc"; reg = <0xb220000 0x30000>; Loading