xref: /wlan-dirver/qca-wifi-host-cmn/hif/src/hif_hw_version.h (revision 839714c413056bc9b82af766295b4ffabe28bbbf)
1 /*
2  * Copyright (c) 2012-2018, 2020-2021 The Linux Foundation. All rights reserved.
3  * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
4  *
5  * Permission to use, copy, modify, and/or distribute this software for
6  * any purpose with or without fee is hereby granted, provided that the
7  * above copyright notice and this permission notice appear in all
8  * copies.
9  *
10  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
11  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
12  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
13  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
14  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
15  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
16  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17  * PERFORMANCE OF THIS SOFTWARE.
18  */
19 
20 #ifndef HIF_HW_VERSION_H
21 #define HIF_HW_VERSION_H
22 
23 #define AR6004_VERSION_REV1_3           0x31c8088a
24 #define AR9888_REV2_VERSION             0x4100016c
25 #define AR9887_REV1_VERSION             0x4100016d
26 #define AR6320_REV1_VERSION             0x5000000
27 #define AR6320_REV1_1_VERSION           0x5000001
28 #define AR6320_REV1_3_VERSION           0x5000003
29 #define AR6320_REV2_1_VERSION           0x5010000
30 #define AR6320_REV3_VERSION             0x5020000
31 #define AR6320_REV3_2_VERSION           0x5030000
32 #define QCA9379_REV1_VERSION            0x5040000
33 #define AR6320_DEV_VERSION              0x1000000
34 #define QCA9377_REV1_1_VERSION          0x5020001
35 #define QCA6390_V1                      0x50040000
36 #define QCA6490_V1                      0x50060000
37 #define WCN3990_v1                      0x40000000
38 #define WCN3990_v2                      0x40010000
39 #define WCN3990_v2_1                    0x40010002
40 #define WCN3998                         0x40030001
41 #define AR900B_REV_2                    0x1
42 #define MANGO_V1                        0xDEADBEEF	// TODO Define this
43 #define PEACH_V1                        0x40210100
44 #define KIWI_V1                         0x40170100
45 #define KIWI_V2                         0x40170200
46 #define QCA6490_v2_1                    0x400c1211
47 #define QCA6490_v2                      0x400c0200
48 #define WCN3990_v2_2                    0x400f0000
49 #define WCN6750_V1                      0x40140110
50 #define WCN6450_V1			0x40200100
51 #define WCN3990_TALOS                   0x40670000
52 #define WCN3990_MOOREA                  0x40090000
53 #define WCN3990_SAIPAN                  0x400B0000
54 #define WCN3990_RENNELL                 0x400C0000
55 #define WCN3990_BITRA                   0x400D0000
56 #define WCN3990_DIVAR                   0x40690000
57 #define WCN3990_ATHERTON                0x40680000
58 #define WCN3990_STRAIT                  0x400E0000
59 #define WCN3990_NETRANI                 0x400F0000
60 #define WCN3990_CLARENCE                0x406A0000
61 
62 struct qwlan_hw {
63 	u32 id;
64 	u32 subid;
65 	const char *name;
66 };
67 
68 #endif /* HIF_HW_VERSION_H */
69