Search Linux Wireless

[RFC PATCH 1/5] dt-bindings: net: wireless: describe the ath12k wifi device IPQ5424

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Describe and add the device-tree bindings for the ATH12K AHB wifi device
IPQ5424.

Signed-off-by: Raj Kumar Bhagat <quic_rajkbhag@xxxxxxxxxxx>
---
 .../net/wireless/qcom,ath12k-ahb.yaml         | 119 ++++++++++++++++++
 1 file changed, 119 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath12k-ahb.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath12k-ahb.yaml
index bd953a028dc3..1d24389a0ab3 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath12k-ahb.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath12k-ahb.yaml
@@ -18,6 +18,7 @@ properties:
   compatible:
     enum:
       - qcom,ipq5332-wifi
+      - qcom,ipq5424-wifi
 
   reg:
     maxItems: 1
@@ -317,3 +318,121 @@ examples:
                                 "stop",
                                 "spawn";
     };
+  - |
+    #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+    wifi1: wifi@c000000 {
+        compatible = "qcom,ipq5424-wifi";
+        reg = <0x0c000000 0x1000000>;
+        clocks = <&gcc GCC_XO_CLK_SRC>;
+        clock-names = "xo";
+        interrupts-extended = <&wcss_smp2p_in 8 IRQ_TYPE_NONE>,
+                              <&wcss_smp2p_in 9 IRQ_TYPE_NONE>,
+                              <&wcss_smp2p_in 12 IRQ_TYPE_NONE>,
+                              <&wcss_smp2p_in 11 IRQ_TYPE_NONE>,
+                              <&intc GIC_SPI 559 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 560 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 561 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 518 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 519 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 520 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 521 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 522 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 523 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 524 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 525 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 526 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 527 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 528 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 529 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 574 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 576 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 627 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 540 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 549 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 580 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 537 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 536 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 535 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 534 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 571 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 571 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 567 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 637 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 637 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 632 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 590 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 583 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 582 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 581 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 533 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 532 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 531 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 530 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 626 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 569 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 569 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 565 IRQ_TYPE_EDGE_RISING>,
+                              <&intc GIC_SPI 502 IRQ_TYPE_EDGE_RISING>;
+        interrupt-names = "fatal",
+                          "ready",
+                          "spawn",
+                          "stop-ack",
+                          "misc-pulse1",
+                          "misc-latch",
+                          "sw-exception",
+                          "ce0",
+                          "ce1",
+                          "ce2",
+                          "ce3",
+                          "ce4",
+                          "ce5",
+                          "ce6",
+                          "ce7",
+                          "ce8",
+                          "ce9",
+                          "ce10",
+                          "ce11",
+                          "host2wbm-desc-feed",
+                          "host2reo-re-injection",
+                          "host2reo-command",
+                          "host2rxdma-monitor-ring1",
+                          "reo2ost-exception",
+                          "wbm2host-rx-release",
+                          "reo2host-status",
+                          "reo2host-destination-ring4",
+                          "reo2host-destination-ring3",
+                          "reo2host-destination-ring2",
+                          "reo2host-destination-ring1",
+                          "rxdma2host-monitor-destination-mac3",
+                          "rxdma2host-monitor-destination-mac2",
+                          "rxdma2host-monitor-destination-mac1",
+                          "host2rxdma-host-buf-ring-mac3",
+                          "host2rxdma-host-buf-ring-mac2",
+                          "host2rxdma-host-buf-ring-mac1",
+                          "host2tcl-input-ring4",
+                          "host2tcl-input-ring3",
+                          "host2tcl-input-ring2",
+                          "host2tcl-input-ring1",
+                          "wbm2host-tx-completions-ring4",
+                          "wbm2host-tx-completions-ring3",
+                          "wbm2host-tx-completions-ring2",
+                          "wbm2host-tx-completions-ring1",
+                          "host2tx-monitor-ring1",
+                          "txmon2host-monitor-destination-mac3",
+                          "txmon2host-monitor-destination-mac2",
+                          "txmon2host-monitor-destination-mac1",
+                          "umac-reset";
+
+        memory-region = <&q6_region>, <&m3_dump>, <&q6_caldb>, <&mlo_mem>;
+        memory-region-names = "q6-region", "m3-dump", "q6-caldb", "mlo-global-mem";
+        qcom,ath12k-calibration-variant = "RDP466_1";
+        qcom,rproc = <&q6v5_wcss>;
+        qcom,smem-states = <&wcss_smp2p_out 8>,
+                           <&wcss_smp2p_out 9>,
+                           <&wcss_smp2p_out 10>;
+        qcom,smem-state-names = "shutdown",
+                                "stop",
+                                "spawn";
+    };
-- 
2.34.1





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux