diff options
| -rw-r--r-- | arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 4 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | 13 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/qcom/msm8916.dtsi | 73 |
3 files changed, 89 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi index 08bd5ebafb4e..716d3ccbc309 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | |||
| @@ -306,6 +306,10 @@ | |||
| 306 | }; | 306 | }; |
| 307 | }; | 307 | }; |
| 308 | }; | 308 | }; |
| 309 | |||
| 310 | wcnss@a21b000 { | ||
| 311 | status = "okay"; | ||
| 312 | }; | ||
| 309 | }; | 313 | }; |
| 310 | 314 | ||
| 311 | usb2513 { | 315 | usb2513 { |
diff --git a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi index 10c83e11c272..4cb0b5834143 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | |||
| @@ -720,4 +720,17 @@ | |||
| 720 | }; | 720 | }; |
| 721 | }; | 721 | }; |
| 722 | }; | 722 | }; |
| 723 | |||
| 724 | wcnss_pin_a: wcnss-active { | ||
| 725 | pinmux { | ||
| 726 | pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44"; | ||
| 727 | function = "wcss_wlan"; | ||
| 728 | }; | ||
| 729 | |||
| 730 | pinconf { | ||
| 731 | pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44"; | ||
| 732 | drive-strength = <6>; | ||
| 733 | bias-pull-up; | ||
| 734 | }; | ||
| 735 | }; | ||
| 723 | }; | 736 | }; |
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index b28174602f44..b94d1798fe2b 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | #include <dt-bindings/interrupt-controller/arm-gic.h> | 14 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 15 | #include <dt-bindings/clock/qcom,gcc-msm8916.h> | 15 | #include <dt-bindings/clock/qcom,gcc-msm8916.h> |
| 16 | #include <dt-bindings/reset/qcom,gcc-msm8916.h> | 16 | #include <dt-bindings/reset/qcom,gcc-msm8916.h> |
| 17 | #include <dt-bindings/clock/qcom,rpmcc.h> | ||
| 17 | 18 | ||
| 18 | / { | 19 | / { |
| 19 | model = "Qualcomm Technologies, Inc. MSM8916"; | 20 | model = "Qualcomm Technologies, Inc. MSM8916"; |
| @@ -82,7 +83,7 @@ | |||
| 82 | no-map; | 83 | no-map; |
| 83 | }; | 84 | }; |
| 84 | 85 | ||
| 85 | wcnss@89300000 { | 86 | wcnss_mem: wcnss@89300000 { |
| 86 | reg = <0x0 0x89300000 0x0 0x600000>; | 87 | reg = <0x0 0x89300000 0x0 0x600000>; |
| 87 | no-map; | 88 | no-map; |
| 88 | }; | 89 | }; |
| @@ -856,6 +857,76 @@ | |||
| 856 | memory-region = <&mpss_mem>; | 857 | memory-region = <&mpss_mem>; |
| 857 | }; | 858 | }; |
| 858 | }; | 859 | }; |
| 860 | |||
| 861 | pronto: wcnss@a21b000 { | ||
| 862 | compatible = "qcom,pronto-v2-pil", "qcom,pronto"; | ||
| 863 | reg = <0x0a204000 0x2000>, <0x0a202000 0x1000>, <0x0a21b000 0x3000>; | ||
| 864 | reg-names = "ccu", "dxe", "pmu"; | ||
| 865 | |||
| 866 | memory-region = <&wcnss_mem>; | ||
| 867 | |||
| 868 | interrupts-extended = <&intc 0 149 IRQ_TYPE_EDGE_RISING>, | ||
| 869 | <&wcnss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, | ||
| 870 | <&wcnss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, | ||
| 871 | <&wcnss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, | ||
| 872 | <&wcnss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; | ||
| 873 | interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack"; | ||
| 874 | |||
| 875 | vddmx-supply = <&pm8916_l3>; | ||
| 876 | vddpx-supply = <&pm8916_l7>; | ||
| 877 | |||
| 878 | qcom,state = <&wcnss_smp2p_out 0>; | ||
| 879 | qcom,state-names = "stop"; | ||
| 880 | |||
| 881 | pinctrl-names = "default"; | ||
| 882 | pinctrl-0 = <&wcnss_pin_a>; | ||
| 883 | |||
| 884 | status = "disabled"; | ||
| 885 | |||
| 886 | iris { | ||
| 887 | compatible = "qcom,wcn3620"; | ||
| 888 | |||
| 889 | clocks = <&rpmcc RPM_SMD_RF_CLK2>; | ||
| 890 | clock-names = "xo"; | ||
| 891 | |||
| 892 | vddxo-supply = <&pm8916_l7>; | ||
| 893 | vddrfa-supply = <&pm8916_s3>; | ||
| 894 | vddpa-supply = <&pm8916_l9>; | ||
| 895 | vdddig-supply = <&pm8916_l5>; | ||
| 896 | }; | ||
| 897 | |||
| 898 | smd-edge { | ||
| 899 | interrupts = <0 142 1>; | ||
| 900 | |||
| 901 | qcom,ipc = <&apcs 8 17>; | ||
| 902 | qcom,smd-edge = <6>; | ||
| 903 | qcom,remote-pid = <4>; | ||
| 904 | |||
| 905 | label = "pronto"; | ||
| 906 | |||
| 907 | wcnss { | ||
| 908 | compatible = "qcom,wcnss"; | ||
| 909 | qcom,smd-channels = "WCNSS_CTRL"; | ||
| 910 | |||
| 911 | qcom,mmio = <&pronto>; | ||
| 912 | |||
| 913 | bt { | ||
| 914 | compatible = "qcom,wcnss-bt"; | ||
| 915 | }; | ||
| 916 | |||
| 917 | wifi { | ||
| 918 | compatible = "qcom,wcnss-wlan"; | ||
| 919 | |||
| 920 | interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>, | ||
| 921 | <0 146 IRQ_TYPE_LEVEL_HIGH>; | ||
| 922 | interrupt-names = "tx", "rx"; | ||
| 923 | |||
| 924 | qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>; | ||
| 925 | qcom,smem-state-names = "tx-enable", "tx-rings-empty"; | ||
| 926 | }; | ||
| 927 | }; | ||
| 928 | }; | ||
| 929 | }; | ||
| 859 | }; | 930 | }; |
| 860 | 931 | ||
| 861 | smd { | 932 | smd { |
