Commit graph

37293 commits

Author SHA1 Message Date
Timple Raj M
3bbc661430 arm: dts: ipq5332: Add DB-MI03.1 RDP support
IPQ5332-DB-MI03.1
	Flash: NOR and NAND / emmc (option)
	Features:
	1 Lane PCIe Gen3 [pci0]
	2 Lane PCIe Gen3 [pci1]
	1 USB 2.0

Change-Id: Iff6bd9cb0faa1d5c78c3468b80bc7b0dfe984e79
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-01-08 21:29:39 -08:00
Linux Build Service Account
5df9330702 Merge "ipq5332: net: qca8337: skip vlan configuration" 2023-01-06 08:47:32 -08:00
Vandhiadevan Karunamoorthy
50eabad97b ipq5332: net: qca8337: skip vlan configuration
Change-Id: I56c53b5b6370a3374089bfe997634936f9b4b277
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-01-06 02:12:46 -08:00
Timple Raj M
1eb894a506 configs: ipq5332: Enable CONFIG_FLASH_PROTECT
This config is needed to enable mmc protection
based on gpt readonly attribute.

Usecase:
1. In emmc partition xml, set readonly attribute
   of a partition to true.
2. Generate partition bin, flash and reboot.
3. From uboot, read & write the partition.
4. Write should not go through. Crc32 checksum of
   the content before & after write should match.

Change-Id: I161f594f13c88b6d22c4b4932399d18eeb951372
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-01-05 21:39:41 -08:00
quic_abilj
85a59b0e00 Miami - DPR scm call issue fix
> For Miami, passed both address and size as args in scm call.

Change-Id: Ie5d4ff5e6770eddcd566d99cc24efc322b0f2e37
Signed-off-by: quic_abilj <quic_abilj@quicinc.com>
2023-01-05 03:26:30 -08:00
Vandhiadevan Karunamoorthy
9f006f0905 board: ipq5332: Enable MI03.1 ethernet
Change-Id: Iaa9320daabfc290b7bf02b8ce303d0ff34a11407
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-01-04 09:30:15 +05:30
Linux Build Service Account
5287b8e49c Merge "board: qca: arm: ipq5332: Enable gcc_blsp1_ahb_clk" 2022-12-27 06:47:57 -08:00
Timple Raj M
a7dcdb2f7c board: qca: arm: ipq5332: Enable gcc_blsp1_ahb_clk
When xbl logs are disabled no logs came in uart console
due to gcc_blsp1_ahb_clk in disabled state.
This patch enables gcc_blsp1_ahb_clk in u-boot to avoid this issue.

Change-Id: I161b003096544e54d3d230027c2665e8fa3d0f5e
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-12-26 16:16:05 +05:30
Vandhiadevan Karunamoorthy
607861584c qca: arm: common: skip ethernet from bootipq
The main loop contains an eth init sequence,
to achieve this, remove the eth init sequence
from bootipq.avoid reinitialization.
Support for the IPQ5332 SoC has been added.

Change-Id: I18406dc90ba6845ce367215a55794ba5e400d5d3
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-12-23 01:08:40 -08:00
Linux Build Service Account
47e8f38182 Merge "arm: dts: ipq9574: update default boot type to emmc for AL02-C19" 2022-12-22 12:11:28 -08:00
Linux Build Service Account
90e69b819e Merge "arm: dts: ipq5322: Add RDP support for AP-MI03.1" 2022-12-22 05:48:09 -08:00
Linux Build Service Account
a3a6688e45 Merge "arm: dts: ipq5332: Enable I2C in DB-MI01.1" 2022-12-21 22:23:06 -08:00
Ram Kumar D
c91f00bb11 arm: dts: ipq9574: update default boot type to emmc for AL02-C19
Change-Id: I101c11ac036c46d13d84c054154f330520f9654d
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-12-20 20:56:16 -08:00
Gurumoorthy Santhakumar
1ee172f386 board & drivers: ipq5332: Improved TFTP performance
modified TDM registers and
added reset for following
 NSS_CC_PPE_BCR
 GCC_UNIPHY0_BCR
 GCC_UNIPHY1_BCR

Change-Id: I5fb8c6dfc4f54346f9e12251dfe3028327d43e3b
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2022-12-20 01:13:22 -08:00
Timple Raj M
195680bd27 arm: dts: ipq5332: Enable I2C in DB-MI01.1
This patch enables I2C in DB-MI01.1 RDP

Change-Id: If60fa5583233ea76a0143eb53326f243b8abac39
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-12-20 12:22:24 +05:30
Timple Raj M
c1b7c79e86 arm: dts: ipq5322: Add RDP support for AP-MI03.1
IPQ5332-AP-MI03.1
	RAM: 256MB DDR3

Change-Id: I98d84568ac534229ee7df2b3c82f32ea18d1bc8c
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-12-19 13:31:19 +05:30
Linux Build Service Account
16c96a1b86 Merge "arm64: dts: ipq9574: Add AL02-C9 dts file" 2022-12-16 22:21:24 -08:00
Saahil Tomar
8f84d51777 arm64: dts: ipq9574: Add AL02-C9 dts file
This change creates Al02-c9 dts file to help with pci enumeration

Change-Id: I9a743de8ebbdc3f4ee43c14204ab1244e8945a12
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2022-12-16 11:09:59 +05:30
Gurumoorthy Santhakumar
0f241074bd driver: nand: fix the block size of GD5F1GQ5REYIG
It has the capacity of 1Gbit, i.e., 128MB, so
the number of blocks has been updated to 1024.
1Gbits = 128MB = 2048(page) * 64 (pages per block) * 1024 (blocks)

Change-Id: I552776e4e151d16782db915c3ebae874c5c02696
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2022-12-14 21:40:26 -08:00
Linux Build Service Account
d6cd789358 Merge "ipq5332: Add the SMEM_BOOT_NO_FLASH condition for emmc flash type" 2022-12-14 06:34:33 -08:00
Timple Raj M
145b49c759 pack_v2: update the mibib_reload sequence
This patch update the mibib_reload sequence by checking 0:MIBIB in
all partitions info instead of using a specific partition index
and this change has some code cleanup

Change-Id: I09b3be3be7a5bfae7dc5ddc5c2ae54f6b06a7333
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-12-13 03:23:11 -08:00
Timple Raj M
0cee68ca2a ipq5332: Add the SMEM_BOOT_NO_FLASH condition for emmc flash type
This patch adds SMEM_BOOT_NO_FLASH condition for emmc flash type to
flash 0:GPT and 0:GPTBACKUP while flashing single image
using jtag_recovery.cmm

Change-Id: I176760335d5e980b8493e9236e410b78040c5a06
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-12-12 06:53:14 -08:00
Linux Build Service Account
3f02d4e93e Merge "arm: dts: ipq5332: Enabled i2c usb and pci" 2022-12-06 09:55:20 -08:00
Ram Kumar D
7f4a4f32de driver: net: qca8084: added new kconfig for by-pass mode
Added new config called CONFIG_QCA8084_BYPASS_MODE and moved
all the qca8084 by-pass mode related code under it.

Change-Id: I4157960989cd67576803d494594869265fc81745
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-12-05 20:53:52 -08:00
Gurumoorthy Santhakumar
f9cdae043c arm: dts: ipq5332: Enabled i2c usb and pci
This patch enables i2c usb and pci in AP-MI01.1 and AP-DB-MI02.1
it enables usb and pci in AP-DB-MI01.1

Change-Id: I0f32fb9c2f44088034bd908c947cfe77ceb524b3
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2022-12-05 12:41:55 +05:30
Vandhiadevan Karunamoorthy
db766b276c configs: ipq5332: enable compressed dtb support
Change-Id: I19d975f1b1266d9484603ec91ff99a671a155a81
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-12-04 21:30:00 -08:00
Vandhiadevan Karunamoorthy
dcc4e545a2 dts: ipq5332: add uart2 support.
This changes add uart2 support.

Change-Id: I9053d5d978a4f90edb6f01dac9a0e24f9a94f3a1
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-12-04 21:29:34 -08:00
Linux Build Service Account
3cdd8dd47a Merge "board: qca: arm: ipq5332: remove the flash detection code in fdtfixup" 2022-12-02 10:16:56 -08:00
Linux Build Service Account
751a5ba458 Merge "arm: dts: ipq5332: Enabled i2c usb and pci" 2022-12-01 12:15:14 -08:00
Timple Raj M
91f1de582f board: qca: arm: ipq5332: remove the flash detection code in fdtfixup
This patch removes the flash detection code in fdtfixup as it will be
taken care based on the boot flash type

Reference Commit:
425d52cd85 (avoid multiple machid for nand/mmc boot)

Change-Id: I51739ae539a568a1480a26fb9143be01306ce39a
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-12-01 10:07:06 -08:00
Linux Build Service Account
33bf923140 Merge "driver: net: add qca8084 by-pass mode support on MI01.1 RDP" 2022-12-01 06:12:20 -08:00
Linux Build Service Account
79e2383428 Merge "pack_v2: updated wifi_fw logic for pack script" 2022-12-01 06:12:17 -08:00
Vandhiadevan Karunamoorthy
7d48be48a1 board: ipq5332: Update AQ ethernet config
This changes include, update reset sequence
increase heap region, add mdio RW version
for 3.15M Clk

Change-Id: I85ec0632ced1543aa1cca880fd00e47800ddecfd
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-11-30 05:56:10 -08:00
Timple Raj M
a2fbc4b3bc arm: dts: ipq5332: Enabled i2c usb and pci
This patch enables i2c usb and pci in AP-MI01.2 and AP-MI01.4.

Change-Id: I4f09485fcbad4247aa75676cb72dc4345405fdfc
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2022-11-30 11:40:35 +05:30
Ram Kumar D
457bfcfd2f driver: net: add qca8084 by-pass mode support on MI01.1 RDP
Added QCA8084 by-pass mode support on MI01.1 RDP

Change-Id: I1a14729cac5463675f9cb0d15df3da76746aa81e
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-11-30 09:45:42 +05:30
Linux Build Service Account
24f263d138 Merge "board: ipq5332: remove rumi flags." 2022-11-29 04:49:54 -08:00
Linux Build Service Account
5561bf340e Merge "drivers: net: ipq5332: Updated SFP and MHT config" 2022-11-29 04:49:52 -08:00
Ram Kumar D
b74f78bbe5 pack_v2: updated wifi_fw logic for pack script
This patch updates the following things.
1. Simplified the wififw pack script logic
2. Added the multi fw version support with simple changes

i. To add RDP specific fw img, mention the corresponding fw
name under each RDP entry in config.xml like below.

<wififw_name>file-name</wififw_name>

ii. When we migrate to new fw version for a specfic chipset,
add the following entry in the config.xml.

<data type="VERSION_PARAMETER">
	<version_check>chip-set-number</version_check>
	<default_version>base-fw-version</default_version>
</data>

Note: Also, make sure that all the fw names mentioned in the
config.xml are in the base verison.

iii. Once migration is done, remove the entries added in (ii).
and rename the new version fw names in the config.xml as
mentioned in the (i).

Change-Id: I296dab47e9ff321a1ed44130df8fc5cdd8a5bfa5
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-11-29 15:31:03 +05:30
Linux Build Service Account
89dac730c3 Merge "ipq5332: update clock for ethernet" 2022-11-28 14:00:15 -08:00
Linux Build Service Account
cfa5533c35 Merge "drivers: net: Update typo in MHT" 2022-11-28 14:00:14 -08:00
Linux Build Service Account
9a332a8031 Merge "dts: ipq5332: update MDIO gpio configuration" 2022-11-28 08:47:06 -08:00
Linux Build Service Account
9b9aa73681 Merge "Merge branch '2021-02-15-fix-CVE-2021-27097-CVE-2021-27138' Fix CVE-2021-27097 and CVE-2021-27138. For more details see http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27097 and http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27138" 2022-11-28 01:46:31 -08:00
Vandhiadevan Karunamoorthy
c77f44b731 board: ipq5332: remove rumi flags.
Change-Id: I84ae7f2c6e8852c879aebc3538a8782c5b335d28
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-11-28 14:46:13 +05:30
Vandhiadevan Karunamoorthy
66dadd051f drivers: net: ipq5332: Updated SFP and MHT config
These changes update config as like below.
1.Config 100M, 1G as GMAC, 2.5G as XGMAC
2.Config MHT as XGMAC.

Change-Id: I0566f3a3d364931e8c8173c3604160f24c2439be
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-11-28 12:10:01 +05:30
Vandhiadevan Karunamoorthy
7c8bcaa2c0 drivers: net: Update typo in MHT
Change-Id: I44bc1e88b82eedff8e72ea4027b8d99b40178463
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-11-27 22:24:33 -08:00
Vandhiadevan Karunamoorthy
06b6fcd3e9 dts: ipq5332: update MDIO gpio configuration
Change-Id: I96c431876fe66e3e08fcb52a9ed210cbe2d585af
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-11-28 11:51:47 +05:30
Linux Build Service Account
6c139c94d7 Merge "ipq5332: Update reset seq & MDIO clk for MHT" 2022-11-26 07:01:38 -08:00
Linux Build Service Account
0cb57bdeb0 Merge "arm: dts: ipq5332: Enable support for USB" 2022-11-25 19:00:44 -08:00
Linux Build Service Account
913760fef3 Merge "arm: dts: ipq5332: update pcie aux clock source as xo" 2022-11-25 19:00:44 -08:00
Linux Build Service Account
80c1793ace Merge "pci: ipq9574: Update QCN9224 fuse blow and read" 2022-11-25 11:27:18 -08:00