Commit graph

37400 commits

Author SHA1 Message Date
Poovendhan Selvaraj
a9fd69f310 qca : Read the TME-l OEM fuse parameters from qfprom core address
Add support to read the TME-l OEM fuse parameters from
qfprom address

Change-Id: Ia4f0766a68b67fccc59a09883dd7ef11bc970eef
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
2023-05-25 08:41:20 +05:30
Timple Raj M
808e5a4a5a arm: dts: ipq5332: Add AP-MI01.9 RDP Support
The AP-MI01.9 is similar to AP-MI01.2 with internal
radio disabled and pcie0 for WKK 5G and pcie1 for WKK 2G

Change-Id: I568c4da0c7604881395dad08be42201fdf9c746b
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-05-16 17:33:54 +05:30
Timple Raj M
610d4bbb6d board: qca: arm: ipq5332: Enable GCC_PCIE3X1_PHY_AHB_CBCR clock
The pcie0 and usb uses combo phy, for usb 3.0 GCC_PCIE3X1_PHY_AHB_CBCR
clock has to be enabled

Change-Id: I281773f40bf7d32b27a27e7dc5e5d531ae3a3dc0
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-05-10 05:24:00 -07:00
Timple Raj M
4042ec1e3d board: qca: arm: ipq5332: Fix to increase the CDR bandwidth
This patch increases the CDR bandwidth to pass the
USB 3.0 Rx jitter tolerance test

Change-Id: Id58b71f4078ea5d60ab0b0d7bf93aa0a5d519e3c
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-05-10 17:51:56 +05:30
Linux Build Service Account
a606ec6497 Merge "mtd: nand: Add support for giga device spi nand" 2023-05-02 06:49:30 -07:00
Linux Build Service Account
3063521eb8 Merge "pack_v2: Append flupdate commands" 2023-05-02 06:49:18 -07:00
Vandhiadevan Karunamoorthy
5de75873f5 Add support for Linux upstream compatible
Change-Id: Ieff863ee8da09d5bfdbcc1a70cdd1face7ae22da
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-04-28 03:21:07 -07:00
Linux Build Service Account
eacadbad95 Merge "ipq5332: dts: add mdio gpio config" 2023-04-26 10:18:39 -07:00
Vandhiadevan Karunamoorthy
0a7b4859c6 ipq5332: dts: add mdio gpio config
Change-Id: If916b200018655fcdfa544152902ee3299ad6452
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-04-26 16:22:31 +05:30
Linux Build Service Account
74b1fbaecc Merge "Flash: Adding support to change flash type" 2023-04-25 22:45:11 -07:00
Linux Build Service Account
4608b8a7e5 Merge "arm: dts: ipq5332: Updated the PCIe configuration of AP-MI01.3" 2023-04-25 07:10:57 -07:00
Timple Raj M
aef14b3223 mtd: nand: Add support for giga device spi nand
This change will add support for giga device
GD5F2GM7REYIG spi nand support.

Change-Id: I97772e0a8210bd5a6d41e10bbfbdd75b44e53108
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-04-24 20:25:38 +05:30
Timple Raj M
877c51ff59 Revert "arm: dts: ipq5332: Add AP-MI01.6-QCN9160 RDP support"
This reverts commit 1df70b042e.

Change-Id: Ia54a104924884ab358debd64b9f37f3d9a7224dd
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-04-24 13:00:02 +05:30
Timple Raj M
9cf17a11d9 arm: dts: ipq5332: Updated the PCIe configuration of AP-MI01.3
In AP-MI01.3 RDP, PCIe0 and PCIe1 are enabled in single
lane configuration

Change-Id: I5592d50ebb425a92ad536142573d09cdd60206b2
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-04-24 11:23:47 +05:30
Hariharan K
f8a0c7a770 Flash: Adding support to change flash type
Adding a new command 'flupdate' to change the flash type
to mmc/nand/nor. flupdate set will set the flash type to
the provided type. flupdate clear will reset the flash
type to default.

Command usage:
flupdate set mmc/nand/nor
flupdate clear

Change-Id: Ib328cc1fea0b37f27e6479d55fce08365fbfcf69
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
2023-04-24 11:01:48 +05:30
Linux Build Service Account
30ed3b49bf Merge "board: qca: Add env support for rootfs auth" 2023-04-20 13:13:21 -07:00
Timple Raj M
cd66774f4e mtd: nand: Add support for Macronix MX35UF1G24AD device
Change-Id: I37e18d4cc64709fa9f49f138b15d4d5ab878b812
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-04-18 14:37:38 +05:30
Hariharan K
cd5362a218 pack_v2: Append flupdate commands
If flash image type is emmc, switch the flash
type to emmc from nor in norplusemmc board using
the flupdate commands. Once the image is flashed
switch back the flash type to nor using the same
flupdate commands.

This change is to support the below Change-Id
Ib328cc1fea0b37f27e6479d55fce08365fbfcf69

Change-Id: Ia5f75923d7bdfd313a986826f1ac2f7f571c414a
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
2023-04-18 00:54:59 -07:00
Md Sadre Alam
569b2d0aaa board: qca: Add env support for rootfs auth
This change will add env variable "rootfs_auth" for rootfs
authentication.

Change-Id: Ifc52b63b0eca3e9306b82c9c471508dcf0d699fb
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-04-18 10:49:04 +05:30
Ram Kumar D
48d9f76a4a drivers: net: ipq5332: update port clk for 10M speed
update the port clock setting for qca8084 PHY with respect to
10M speed configuration.

Change-Id: I16403b155f31f37a6bdf828150ca2d0923a29f3e
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-04-14 19:07:10 +05:30
Linux Build Service Account
8a2e7c630f Merge "tools: pack: Waikiki V1 support removal" 2023-04-13 06:05:31 -07:00
Karthick Shanmugham
c5884947b0 Revert "board: ipq5332: Change tzlog compatible in ATF boot"
This reverts commit c2c6248267472db0da32017a33602de13a566fff.

Change-Id: Iee000abe440e6a1372737a792af5acffa378a915
Signed-off-by: Karthick Shanmugham <quic_kartshan@quicinc.com>
2023-04-10 03:01:30 -07:00
Saahil Tomar
db31f148ec tools: pack: Add check constraint for CDT_1
This change checks if 0:CDT_1 partition exists and then flashes cdt.bin.
Previously, check existed only for 0:CDT. The change allows for creation
of single image with proper cdt_1 name and appends it to the single image.
With this, we can successfully use the CDT_1 alternate partition for images.

Change-Id: I100dc789b54805c699ba6f30d5cb1b74734b1bd9
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-04-06 22:27:26 -07:00
Linux Build Service Account
05be3cd651 Merge "arm: dts: ipq5332: Update the PCIe1 lane configuration" 2023-04-04 22:58:10 -07:00
Ram Kumar D
5d5067a0cf drivers: net: qca8084: brought in qos patch for the qca8084
Change-Id: I5e90ea8d33c54cd2d84d61f82f950bd81e142d75
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-04-03 20:50:26 -07:00
Linux Build Service Account
2038e73763 Merge "board: ipq5332: Change tzlog compatible in ATF boot" 2023-04-03 06:19:55 -07:00
Timple Raj M
e6ba99c3d5 arm: dts: ipq5332: Update the PCIe1 lane configuration
This patch updates the PCIe1 lane configuration for DB-MI01.1
and DB-MI02.1

Change-Id: I3dc15a3255d74fcbd5147b2fa6f89c184e48410b
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-03-31 14:46:10 +05:30
Timple Raj M
ea52226a88 arm: dts: ipq5332: Update the AP-MI04.1 PCIe configuration
This patch updates the AP-MI04.1 PCIe configuration from
PCIe0 and PCIe1 to PCIe1 and PCIe2

Change-Id: If4aa155cc1005becd050fbc36d91d3764005c4c4
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-03-31 13:23:21 +05:30
Karthick Shanmugham
6b091d2bf9 board: ipq5332: Change tzlog compatible in ATF boot
Change-Id: Ie14f2ce6508bbc046670e07d93f7443bac1864d0
Signed-off-by: Karthick Shanmugham <quic_kartshan@quicinc.com>
2023-03-30 05:07:15 -07:00
Linux Build Service Account
386ed6aae1 Merge "drivers: net: qca8084: do sgmii speed fixup in bypass mode" 2023-03-29 20:12:21 -07:00
Linux Build Service Account
bb16cf6d0c Merge "pack_v2: pack: added soc_hw_version for IPQ5332 1.1" 2023-03-29 14:14:24 -07:00
Ram Kumar D
2515f73953 drivers: net: qca8084: do sgmii speed fixup in bypass mode
Previously 100M speed is not working in port 4 of MHT
by-pass mode. SGMII speed fixup required to dynamically
adjust the gcc clock based on the link-speed.

Still, this is requried only for port 4, because remaining
ports (1-3) will be taken care from switch core. So, added
speed fix for the by-mode support.

Change-Id: I495aad4b64de12ae7f57c0bdb9e0def08ad38681
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-03-29 18:55:14 +05:30
Timple Raj M
4deecb0bdd arm: dts: ipq5332: Add ethernet support for AP-MI01.3
This patch adds the ethernet support for AP-MI01.3 and
removes pci nodes from dts

Change-Id: I3fcb338a061d732b44409aa835a1fde45508be95
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-03-28 23:39:11 -07:00
Gurumoorthy Santhakumar
3dbe745100 pack_v2: pack: added soc_hw_version for IPQ5332 1.1
Change-Id: Ib2a156f1e75cc8fdf256b117328fcd80b280988b
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-03-28 19:52:43 +05:30
Timple Raj M
41ffcbb192 driver: nand: Add winbond W25N512GW and W25N02KWZEIR devices
This patch adds the winbond W25N512GW and W25N02KWZEIR devices
and fixes the W25N01GWZEIG device id from 0xBA to 0xBA21,
W25N02JWZEIF device id from 0xBF to 0xBF22 and
W25N01JW device id from 0xBC to 0xBC21

Change-Id: Ic91800386446263477af06c6d39d9051a2dde3b9
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-03-27 16:01:01 +05:30
Timple Raj M
1df70b042e arm: dts: ipq5332: Add AP-MI01.6-QCN9160 RDP support
This patch adds the support for AP-MI01.6-QCN9160 RDP by reusing
the ipq5332-mi01.6.dts for better readabilty

Change-Id: I2776222fd80637f0111dc9074491f351cfb932b3
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-03-22 05:52:02 -07:00
Linux Build Service Account
69e0d84997 Merge "IPQ5332 : Removal of the dumpinfo_s structure" 2023-03-22 01:14:47 -07:00
Linux Build Service Account
6ecca6eb1a Merge "ipq9574: power cycle SDX based on e911 call" 2023-03-21 19:39:59 -07:00
Linux Build Service Account
7dbd65ad1e Merge "pci: ipq53xx: Enable qcn9224 related commands for ipq53xx" 2023-03-21 12:10:48 -07:00
Praveenkumar I
06db42a59d pci: ipq53xx: Enable qcn9224 related commands for ipq53xx
Change-Id: Ib848a70c373269e95c282ba65ad05457af7a777b
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2023-03-21 14:58:25 +05:30
Nitheesh Sekar
00c26ae30f ipq9574: power cycle SDX based on e911 call
This patch adds a condition to power cycle the
SDX based on the current status of the e911 call.

Change-Id: Id3cf50cfb49a26151c98b7d52e18b9c487cfb935
Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
2023-03-20 02:34:14 -07:00
Gurumoorthy Santhakumar
9fd9ce73ba ipq5332: dts: Modified mac mode
Change-Id: I38ad2d0d6297912fb4806ecd8628131ae65e819f
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-03-17 02:55:11 -07:00
Saahil Tomar
c544cb9693 tools: pack: Waikiki V1 support removal
This patch removes WKK V1 support. Alder + qcn9000 + qcn9224 Dual MAC V2
image will be used for all qcn9224 supported RDPs and they will have this FW
as WIFI_FW type 1.

Change-Id: I59ee0e50387d99bfb7f86d54fcee792f3f677048
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-03-17 13:19:00 +05:30
Ram Chandra Jangir
14023645dd sysupgrade: Consider minimum metadata size as 0x1000
When we use root certificate count as four, then metadata
is generated with size as 0x4000, but for single root
certificate, metadata size will be less than 0x4000, hence
consider minimum metadata size as 0x1000

Change-Id: Ib713e5fd4bcfe493cf482efda54d20ca1604939b
Signed-off-by: Ram Chandra Jangir <quic_rjangir@quicinc.com>
2023-03-14 22:24:11 -07:00
Linux Build Service Account
a98648973e Merge "pci: pci_ipq: initialize the index variable to zero" 2023-03-14 06:42:51 -07:00
quic_abilj
76f7c1bf73 IPQ5332 : Removal of the dumpinfo_s structure
This patch removes the support for dumpinfo_s structure to have
uniform EBICS0 bin for both sec and non-sec boots as the Read As Zero
(RAZ) flag has been enabled to protect code and data regions of TZ

Change-Id: I0508677f7dbc4040660d7dd122d7a5d79554ce60
Signed-off-by: quic_abilj <quic_abilj@quicinc.com>
2023-03-13 21:01:39 -07:00
Kathiravan T
43442bec19 pci: pci_ipq: initialize the index variable to zero
Change-Id: I0d3582343b7b5dda86548f0dd46dd6e801e820b3
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
2023-03-09 21:33:10 +05:30
Vandhiadevan Karunamoorthy
478c1fb1d9 arm: dts: ipq5332: add ethernet support in mi04.1
Change-Id: Ie312c243887db5109710c351c03b723a82eda6de
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-09 14:39:53 +05:30
Vandhiadevan Karunamoorthy
7f962d9e36 drivers: net: ipq5332: update qca8084 & qca8337
This changes update qca8084 & qca8337 init sequence
to support dual mode

Change-Id: I2cb9430fc97145c459ed4e6b58394a22565a9860
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-03-08 15:03:30 +05:30
Linux Build Service Account
bbb0d79454 Merge "board: ipq9574: skip double eth init" 2023-03-07 05:03:04 -08:00